Class EmbeddingStoreContentRetriever

java.lang.Object
dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever
All Implemented Interfaces:
ContentRetriever

public class EmbeddingStoreContentRetriever extends Object implements ContentRetriever
A ContentRetriever backed by an EmbeddingStore.
By default, this retriever fetches the 3 most similar Contents relevant to the provided Query.

Configurable parameters (optional):
- maxResults: The maximum number of Contents to retrieve.
- minScore: The minimum relevance score for the returned Contents. Contents scoring below minScore are excluded from the results.