class FakeVectorStoreReturns a string representing the type of vector store, which subclasses
Adds documents to the vector store, embedding them first through the
Adds precomputed vectors and corresponding documents to the vector store.
Creates a VectorStoreRetriever instance with flexible configuration options.
Deletes documents from the vector store based on the specified parameters.
Return documents selected using the maximal marginal relevance.
Searches for documents similar to a text query by embedding the query and
Performs a similarity search using a vector query and returns results
Searches for documents similar to a text query by embedding the query,
Creates a VectorStore instance from an array of documents, using the specified
Creates a VectorStore instance from an array of text strings and optional
The name of the serializable. Override to provide an alias or
A path to the module that contains the class, eg. ["langchain", "llms"]
Embeddings interface for generating vector embeddings from text queries, enabling vector-based similarity searches.
Defines the filter type used in search and delete operations. Can be an object for structured conditions or a string for simpler filtering.
Class that extends VectorStore to store vectors in memory. Provides
methods for adding documents, performing similarity searches, and
creating instances from texts, documents, or an existing index.