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

Pinecone migration sample migrates only one batch when using Pinecone namespace #375

Open
paulramsey opened this issue Mar 6, 2025 · 0 comments
Assignees
Labels
api: alloydb Issues related to the googleapis/langchain-google-alloydb-pg-python API. samples Issues that are directly related to samples.

Comments

@paulramsey
Copy link

Thanks for stopping by to let us know something could be better!

Environment details

  • OS type and version: Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux
  • Python version: Python 3.11.2
  • pip version: pip 25.0.1
  • langchain-google-alloydb-pg version: 0.9.3

Steps to reproduce

  1. Deploy GCE VM
  2. Clone repo
  3. Replace parameters to match environment
  4. Run migrate_pinecone_vectorstore_to_alloydb.py
  5. Result: Script migrates only one batch (10 rows by default) of vectors from Pinecone to AlloyDB

This is due to a missing namespace parameter in the inner loop of get_ids_batch().

@product-auto-label product-auto-label bot added api: alloydb Issues related to the googleapis/langchain-google-alloydb-pg-python API. samples Issues that are directly related to samples. labels Mar 6, 2025
@averikitsch averikitsch self-assigned this Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: alloydb Issues related to the googleapis/langchain-google-alloydb-pg-python API. samples Issues that are directly related to samples.
Projects
None yet
Development

No branches or pull requests

3 participants