LangChain · Interface
VectorStore
VectorStore is a common interface for storing embedded documents and finding similar ones. It supports adding, deleting, filtering, and several similarity-search methods across different backends.
Last updated
Syntax
vector_store.similarity_search(query, k=4, filter=None)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
InMemoryVectorStoreVectorStoreRetrieversimilarity_searchsimilarity_search_with_scoresimilarity_search_by_vectormax_marginal_relevance_searchadd_documentsdelete