Sometimes people using Pinecone with Langchain accidentally try to invoke from_texts and from_documents methods on our Pinecone class even though these are not methods by us. This is mostly name-related confusion because Langchain used to have an export called Pinecone that later got renamed to the less ambiguous PineconeVectorStore.
Solution
Add some stub methods to the Pinecone class to guide users in the right direction.
Type of Change
[x] New feature (non-breaking change which adds functionality)
Test Plan
Added unit tests. And also an integration test to verify the docs link resolves to a valid page.
Problem
Sometimes people using Pinecone with Langchain accidentally try to invoke
from_texts
andfrom_documents
methods on ourPinecone
class even though these are not methods by us. This is mostly name-related confusion because Langchain used to have an export calledPinecone
that later got renamed to the less ambiguousPineconeVectorStore
.Solution
Add some stub methods to the
Pinecone
class to guide users in the right direction.Type of Change
Test Plan
Added unit tests. And also an integration test to verify the docs link resolves to a valid page.