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

support different Pinecone initialization depending on the version #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DosticJelena
Copy link

Added changes to support the new version of pinecone-client.
The initialization process has changed from the module level to the class level.

Note: Do not merge this PR

@DosticJelena DosticJelena force-pushed the client-upgrade-support branch from e7577cf to 0b016da Compare December 29, 2023 14:05
@aulorbe
Copy link

aulorbe commented Jan 2, 2024

LGTM!

@DosticJelena DosticJelena force-pushed the client-upgrade-support branch from 0b016da to 271e3aa Compare January 3, 2024 08:21
@aulorbe
Copy link

aulorbe commented Jan 4, 2024

@DosticJelena plz hold off on merging this if possible -- I changed a few things around because of how we have to unit test the dynamic import of pinecone in the PineconeVectorStore class + removed some unnecessary if/then statements (IMO). Check out my draft PR here: aulorbe#2

That draft PR ^ also has unit tests for this change ✅

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