VectorStoreRetriever<V extends VectorStore> constructor
const
VectorStoreRetriever<V extends VectorStore> ({
- required V vectorStore,
- VectorStoreRetrieverOptions defaultOptions = const VectorStoreRetrieverOptions(),
A retriever that uses a vector store to retrieve documents.
Implementation
const VectorStoreRetriever({
required this.vectorStore,
super.defaultOptions = const VectorStoreRetrieverOptions(),
});