Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: orm passage migration #2180

Merged
merged 36 commits into from
Dec 11, 2024
Merged

feat: orm passage migration #2180

merged 36 commits into from
Dec 11, 2024

Conversation

mlong93
Copy link
Collaborator

@mlong93 mlong93 commented Dec 6, 2024

Please describe the purpose of this pull request.
Migrating passages to ORM, phasing out archival memory

How to test
How can we test your PR during review? What commands should we run? What outcomes should we expect?

Have you tested this PR?
Have you tested the latest commit on the PR? If so please provide outputs from your tests.

Related issues or PRs
Please link any related GitHub issues or PRs.

Is your PR over 500 lines of code?
If so, please break up your PR into multiple smaller PRs so that we can review them quickly, or provide justification for its length.

Additional context
Add any other context or screenshots about the PR here.

Mindy Long added 3 commits December 6, 2024 13:48
* Test cases for PassageManager
* Additional mixins for File, User
* Better `list` method in SQLAlchemyBase
* Pydantic Passage model uses ORMBase
Copy link

github-actions bot commented Dec 6, 2024

📦 Dependencies Alert:

  • Both poetry.lock and pyproject.toml have been modified

Please review these changes carefully to ensure they are intended (cc @sarahwooders @cpacker).

Copy link

github-actions bot commented Dec 6, 2024

📦 Dependencies Alert:

  • Both poetry.lock and pyproject.toml have been modified

Please review these changes carefully to ensure they are intended (cc @sarahwooders @cpacker).

* Passage has a relationship with organization, not user
* Fixed filtering bug for None columns in Chroma connector filtering
* Removed outdated test cases for archival memory
Copy link

github-actions bot commented Dec 7, 2024

📦 Dependencies Alert:

  • Both poetry.lock and pyproject.toml have been modified

Please review these changes carefully to ensure they are intended (cc @sarahwooders @cpacker).

Copy link

github-actions bot commented Dec 7, 2024

📦 Dependencies Alert:

  • Both poetry.lock and pyproject.toml have been modified

Please review these changes carefully to ensure they are intended (cc @sarahwooders @cpacker).

Copy link

github-actions bot commented Dec 7, 2024

📦 Dependencies Alert:

  • Both poetry.lock and pyproject.toml have been modified

Please review these changes carefully to ensure they are intended (cc @sarahwooders @cpacker).

Mindy Long added 2 commits December 6, 2024 19:14
* Fixed passage-file foreign key constraint
* Phased out schemas/Passage
@mlong93 mlong93 force-pushed the mindy/orm-passage-migration branch from 5796a06 to 51b36df Compare December 7, 2024 22:26
Copy link

github-actions bot commented Dec 7, 2024

📦 Dependencies Alert:

  • Both poetry.lock and pyproject.toml have been modified

Please review these changes carefully to ensure they are intended (cc @sarahwooders @cpacker).

* Additional alembic migration
* Updated test managers, passing
Copy link

github-actions bot commented Dec 7, 2024

📦 Dependencies Alert:

  • Both poetry.lock and pyproject.toml have been modified

Please review these changes carefully to ensure they are intended (cc @sarahwooders @cpacker).

* renamed PassageModel to PassageModelLegacy
* modified load_data to take agent_id
* deleted passages before deleting agent_id
* debugged server::test_load_data, removed extraneous AgentMixin
Copy link

github-actions bot commented Dec 7, 2024

📦 Dependencies Alert:

  • Both poetry.lock and pyproject.toml have been modified

Please review these changes carefully to ensure they are intended (cc @sarahwooders @cpacker).

Copy link

📦 Dependencies Alert:

  • pyproject.toml has been modified

Please review these changes carefully to ensure they are intended (cc @sarahwooders @cpacker).

Copy link

📦 Dependencies Alert:

  • pyproject.toml has been modified

Please review these changes carefully to ensure they are intended (cc @sarahwooders @cpacker).

Copy link

📦 Dependencies Alert:

  • pyproject.toml has been modified

Please review these changes carefully to ensure they are intended (cc @sarahwooders @cpacker).

Copy link

📦 Dependencies Alert:

  • pyproject.toml has been modified

Please review these changes carefully to ensure they are intended (cc @sarahwooders @cpacker).

Copy link

📦 Dependencies Alert:

  • pyproject.toml has been modified

Please review these changes carefully to ensure they are intended (cc @sarahwooders @cpacker).

Copy link

📦 Dependencies Alert:

  • pyproject.toml has been modified

Please review these changes carefully to ensure they are intended (cc @sarahwooders @cpacker).

Copy link

📦 Dependencies Alert:

  • pyproject.toml has been modified

Please review these changes carefully to ensure they are intended (cc @sarahwooders @cpacker).

Copy link

📦 Dependencies Alert:

  • pyproject.toml has been modified

Please review these changes carefully to ensure they are intended (cc @sarahwooders @cpacker).

@mattzh72 mattzh72 self-requested a review December 11, 2024 02:09
Copy link
Collaborator

@mattzh72 mattzh72 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work!

@mattzh72 mattzh72 merged commit 31d2774 into main Dec 11, 2024
34 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants