Optional
filterOptional
namespaceMethod that adds documents to the Pinecone database.
Array of documents to add to the Pinecone database.
Optional
options: string[] | { Optional ids for the documents.
Promise that resolves with the ids of the added documents.
Method that adds vectors to the Pinecone database.
Array of vectors to add to the Pinecone database.
Array of documents associated with the vectors.
Optional
options: string[] | { Optional ids for the vectors.
Promise that resolves with the ids of the added vectors.
Optional
kOrFields: number | Partial<VectorStoreRetrieverInput<PineconeStore>>Optional
filter: PineconeMetadataOptional
callbacks: CallbacksOptional
tags: string[]Optional
metadata: Record<string, unknown>Optional
verbose: booleanMethod that deletes vectors from the Pinecone database.
Parameters for the delete operation.
Promise that resolves when the delete operation is complete.
Return documents selected using the maximal marginal relevance. Maximal marginal relevance optimizes for similarity to the query AND diversity among selected documents.
Text to look up documents similar to.
Method that performs a similarity search in the Pinecone database and returns the results along with their scores.
Query vector for the similarity search.
Number of top results to return.
Optional
filter: PineconeMetadataOptional filter to apply to the search.
Promise that resolves with an array of documents and their scores.
Static
fromStatic method that creates a new instance of the PineconeStore class from documents.
Array of documents to add to the Pinecone database.
Embeddings to use for the documents.
Configuration for the Pinecone database.
Promise that resolves with a new instance of the PineconeStore class.
Static
fromStatic method that creates a new instance of the PineconeStore class from an existing index.
Embeddings to use for the documents.
Configuration for the Pinecone database.
Promise that resolves with a new instance of the PineconeStore class.
Static
fromStatic method that creates a new instance of the PineconeStore class from texts.
Array of texts to add to the Pinecone database.
Metadata associated with the texts.
Embeddings to use for the texts.
Configuration for the Pinecone database.
Promise that resolves with a new instance of the PineconeStore class.
Generated using TypeDoc
⚠️ Deprecated ⚠️
This feature is deprecated and will be removed in the future.
It is not recommended for use.
Install and import from @langchain/pinecone instead. Class that extends the VectorStore class and provides methods to interact with the Pinecone vector database.