LangChain · Class
InMemoryVectorStore
InMemoryVectorStore is an in-process vector store in langchain-core. It stores embeddings in memory and finds documents by cosine similarity.
Last updated
- Since
- v1.7
Syntax
InMemoryVectorStore(embedding: Embeddings)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
VectorStoreEmbeddingsDocumentsimilarity_searchsimilarity_search_with_scoresimilarity_search_with_relevance_scoresaadd_documentsasimilarity_search_with_score