VectorStoreRetriever<V extends VectorStore> constructor

const VectorStoreRetriever<V extends VectorStore>({
  1. required V vectorStore,
  2. VectorStoreRetrieverOptions defaultOptions = const VectorStoreRetrieverOptions(),
})

A retriever that uses a vector store to retrieve documents.

Implementation

const VectorStoreRetriever({
  required this.vectorStore,
  super.defaultOptions = const VectorStoreRetrieverOptions(),
});