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