vector stores
. For detailed documentation of all MemoryVectorStore
features and configurations head to the API reference.
Class | Package | PY support | Package latest |
---|---|---|---|
MemoryVectorStore | langchain | ❌ |
langchain
package:
This guide will also use OpenAI embeddings, which require you to install the @langchain/openai
integration package. You can also use other supported embeddings models if you wish.
true
or false
depending on whether the document should be returned.
If you want to execute a similarity search and receive the corresponding scores you can run:
searchKwargs.fetchK
), with classic similarity search, then reranks for diversity and returns the top k
results. This helps guard against redundant information:
MemoryVectorStore
features and configurations head to the API reference.