Class VectorStoreRetriever
java.lang.Object
org.springframework.ai.retriever.impl.VectorStoreRetriever
- All Implemented Interfaces:
Retriever
-
Constructor Summary
ConstructorDescriptionVectorStoreRetriever
(VectorStore vectorStore) VectorStoreRetriever
(VectorStore vectorStore, int k) VectorStoreRetriever
(VectorStore vectorStore, int k, double threshold) -
Method Summary
Modifier and TypeMethodDescriptionint
getK()
Retrieves relevant documents however the implementation sees fit.
-
Constructor Details
-
VectorStoreRetriever
-
VectorStoreRetriever
-
VectorStoreRetriever
-
-
Method Details