Class EmbeddingStoreContentRetrieverFactory
java.lang.Object
io.helidon.integrations.langchain4j.EmbeddingStoreContentRetrieverFactory
- All Implemented Interfaces:
Supplier<Optional<dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever>>
@Singleton
public class EmbeddingStoreContentRetrieverFactory
extends Object
implements Supplier<Optional<dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever>>
Factory for embedding store content retrievers.
- See Also:
-
Method Details
-
create
public static dev.langchain4j.rag.content.retriever.EmbeddingStoreContentRetriever create(EmbeddingStoreContentRetrieverConfig config) Create an instance of embedding store content retriever from configuration.- Parameters:
config
- configuration of the content retriever- Returns:
- content retriever instance
- Throws:
IllegalStateException
- in case the configuration is not enabled
-
get
-