Skip to content

Conversation

@bruvduroiu
Copy link
Collaborator

Motivation

In high-throughput situation, Pinecone's gRPC client is able to handle large amounts of parallel requests through multiplexing.

Implementation

To keep UX consistent, considering a use_grpc flag for the PineconeVectorStore, but equally could create a PineconeGRPCVectorStore to maintain consistency with the Pinecone SDK.

from pinecone import Pinecone
from pinecone.grpc import PineconeGRPC

Closes #2

@asvishnyakov
Copy link

Hi @bruvduroiu ! I attempted to do this in my fork but couldn't complete it (primarily the integration tests) due to a lack of time. Feel free to use any of my code if it helps. https://github.com/asvishnyakov/langchain/tree/pinecone-grpc-async/libs/partners/pinecone

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.

feat: Langchain Pinecone is Incompatible with Pinecone GRPC

2 participants