-
Notifications
You must be signed in to change notification settings - Fork 129
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-python-client
v3.0.0 breaks pinecone-haystack
#223
Labels
Comments
Thank you for reporting this! I would adopt the immediate fix and then refactor the Document Store. |
Merged
0.1.0 was released to ship the temporary workaround |
We can resolve #715 with this upgrade |
Hi All, I took a pass at updating this to the new client in #756 |
TODO:
|
This was referenced Jun 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The version 3.0.0 of
pinecone-python-client
is a big update and introduces a lot of changes. This new version is not compatible with the current implementation ofpinecone-haystack
and the code breaks as soon as you try to initialize the document store.To Reproduce
The global
pinecone.init
has been removed, sopinecone-haystack
gives an error as soon as you try to initialize the document store with the new version ofpinecone-python-client
.Please see this Colab notebook for more information.
Immediate Fix
Pin
pinecone-client
to version 2.2.4 in thepinecone-haystack
dependencies.Describe the solution you'd like
Refactor
pinecone-haystack
to support the new version.The new version introduces a lot of new features. Some of the changes include:
pinecone.grpc
, so that GRPC code is only imported when needed.list_indexes
andlist_collections
methods now return an array with full descriptions of each resource, not merely an array of names.Please see the Migration Guide for version 3.0.0 for more information.
Describe your environment:
The text was updated successfully, but these errors were encountered: