-
Notifications
You must be signed in to change notification settings - Fork 12
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
docs: Added pg to alloy migration guide #249
Conversation
samples/migrations/pg_to_alloy.md
Outdated
await amigrate_pgvector_collection( | ||
engine, | ||
collection_name="collection_name", | ||
vector_store=vector_store, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could point out that if they are moving to a different instance or database they could use different engines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do not yet have functionality to allow users to migrate across databases. Should we add it?
Co-authored-by: Averi Kitsch <akitsch@google.com>
Can you also add this to the table in https://github.com/googleapis/langchain-google-alloydb-pg-python/blob/main/samples/README.md? Thanks! |
* feat: Added migrator module for PGToAlloy * Allow ids of all types * Rearrange methods * Add async tests * Fixed lint * Made tests more robust * Fixed tests * Lint fix * Changed method and class names * Used fetchone instead of fetchall * Fixed typos/formatting * Added public and private params * Fixed formatting * Clean code * Remove loop and run_in_sync * Remove unused imports * Hardcoded collections and embeddings tables * Minor fix * Lint fix * Created tables * Users give column names instead of defining columns * Removed extra migrator class * Fixed lint errors * Minor fix: Does not work * Changed insert queries * Added data batching * Changed indentation to tabs * Minor cleanup * Remove pgvector_migrator from init * Await all insert tasks at once * Fixed linting errors * Corrected docstrings * Made interface similar to vector store customisation * Changed docstrings * Corrected error * Moved sql statements * Migrate methods take vector store objects * Sqlalchmey directly yields data batches * Removed unused imports * lint * Lint fix * code cleanup * lint * Code cleanup * docs: Added pg to alloy migration guide * small change * Update samples/migrations/pg_to_alloy.md Co-authored-by: Averi Kitsch <akitsch@google.com> * Small changes * Small change * Small change * Changed to correct file * Deleted migrator code * Doc cleanup * Small change * Added info on how to use search methods without data migration * Outlined connection simplicity * corrected docs * Dedup vector store and destination table * better naming * Added docs in content table --------- Co-authored-by: Averi Kitsch <akitsch@google.com>
No description provided.