Uses of Interface
dev.langchain4j.rag.content.retriever.ContentRetriever
Packages that use ContentRetriever
Package
Description
-
Uses of ContentRetriever in dev.langchain4j.chain
Methods in dev.langchain4j.chain with parameters of type ContentRetrieverModifier and TypeMethodDescriptionConversationalRetrievalChain.Builder.contentRetriever
(ContentRetriever contentRetriever) Constructors in dev.langchain4j.chain with parameters of type ContentRetrieverModifierConstructorDescriptionConversationalRetrievalChain
(ChatLanguageModel chatLanguageModel, ChatMemory chatMemory, ContentRetriever contentRetriever) -
Uses of ContentRetriever in dev.langchain4j.experimental.rag.content.retriever.sql
Classes in dev.langchain4j.experimental.rag.content.retriever.sql that implement ContentRetrieverModifier and TypeClassDescriptionclass
WARNING! Although fun and exciting, this class is dangerous to use! Do not ever use this in production! The database user must have very limited READ-ONLY permissions! Although the generated SQL is somewhat validated (to ensure that the SQL is a SELECT statement) using JSqlParser, this class does not guarantee that the SQL will be harmless. -
Uses of ContentRetriever in dev.langchain4j.rag
Methods in dev.langchain4j.rag with parameters of type ContentRetrieverModifier and TypeMethodDescriptionDefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder.contentRetriever
(ContentRetriever contentRetriever) -
Uses of ContentRetriever in dev.langchain4j.rag.content.retriever
Classes in dev.langchain4j.rag.content.retriever that implement ContentRetrieverModifier and TypeClassDescriptionclass
AContentRetriever
that retrieves from anEmbeddingStore
.class
-
Uses of ContentRetriever in dev.langchain4j.rag.content.retriever.azure.search
Classes in dev.langchain4j.rag.content.retriever.azure.search that implement ContentRetriever -
Uses of ContentRetriever in dev.langchain4j.rag.content.retriever.neo4j
Classes in dev.langchain4j.rag.content.retriever.neo4j that implement ContentRetriever -
Uses of ContentRetriever in dev.langchain4j.rag.query.router
Fields in dev.langchain4j.rag.query.router with type parameters of type ContentRetrieverModifier and TypeFieldDescriptionprotected final Map
<Integer, ContentRetriever> LanguageModelQueryRouter.idToRetriever
Methods in dev.langchain4j.rag.query.router that return types with arguments of type ContentRetrieverModifier and TypeMethodDescriptionprotected Collection
<ContentRetriever> protected Collection
<ContentRetriever> Routes the givenQuery
to one or multipleContentRetriever
s.Method parameters in dev.langchain4j.rag.query.router with type arguments of type ContentRetrieverModifier and TypeMethodDescriptionLanguageModelQueryRouter.LanguageModelQueryRouterBuilder.retrieverToDescription
(Map<ContentRetriever, String> retrieverToDescription) Constructors in dev.langchain4j.rag.query.router with parameters of type ContentRetrieverConstructor parameters in dev.langchain4j.rag.query.router with type arguments of type ContentRetrieverModifierConstructorDescriptionDefaultQueryRouter
(Collection<ContentRetriever> contentRetrievers) LanguageModelQueryRouter
(ChatLanguageModel chatLanguageModel, Map<ContentRetriever, String> retrieverToDescription) LanguageModelQueryRouter
(ChatLanguageModel chatLanguageModel, Map<ContentRetriever, String> retrieverToDescription, PromptTemplate promptTemplate, LanguageModelQueryRouter.FallbackStrategy fallbackStrategy) -
Uses of ContentRetriever in dev.langchain4j.retriever
Methods in dev.langchain4j.retriever that return ContentRetrieverModifier and TypeMethodDescriptiondefault ContentRetriever
Retriever.toContentRetriever()
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of ContentRetriever in dev.langchain4j.service
Methods in dev.langchain4j.service with parameters of type ContentRetrieverModifier and TypeMethodDescriptionAiServices.contentRetriever
(ContentRetriever contentRetriever) Configures a content retriever to be invoked on every method call for retrieving relevant content related to the user's message from an underlying data source (e.g., an embedding store in the case of anEmbeddingStoreContentRetriever
).