Uses of Interface
dev.langchain4j.rag.content.retriever.ContentRetriever
Package
Description
-
Uses of ContentRetriever in dev.langchain4j.chain
Modifier and TypeMethodDescriptionConversationalRetrievalChain.Builder.contentRetriever
(ContentRetriever contentRetriever) ModifierConstructorDescriptionConversationalRetrievalChain
(ChatLanguageModel chatLanguageModel, ChatMemory chatMemory, ContentRetriever contentRetriever) -
Uses of ContentRetriever in dev.langchain4j.experimental.rag.content.retriever.sql
Modifier 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
Modifier and TypeMethodDescriptionDefaultRetrievalAugmentor.DefaultRetrievalAugmentorBuilder.contentRetriever
(ContentRetriever contentRetriever) -
Uses of ContentRetriever in dev.langchain4j.rag.content.retriever
Modifier and TypeClassDescriptionclass
AContentRetriever
that retrieves from anEmbeddingStore
.class
-
Uses of ContentRetriever in dev.langchain4j.rag.content.retriever.azure.search
-
Uses of ContentRetriever in dev.langchain4j.rag.content.retriever.neo4j
-
Uses of ContentRetriever in dev.langchain4j.rag.query.router
Modifier and TypeFieldDescriptionprotected final Map
<Integer, ContentRetriever> LanguageModelQueryRouter.idToRetriever
Modifier and TypeMethodDescriptionprotected Collection
<ContentRetriever> protected Collection
<ContentRetriever> Routes the givenQuery
to one or multipleContentRetriever
s.Modifier and TypeMethodDescriptionLanguageModelQueryRouter.LanguageModelQueryRouterBuilder.retrieverToDescription
(Map<ContentRetriever, String> retrieverToDescription) ModifierConstructorDescriptionDefaultQueryRouter
(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
Modifier 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
Modifier 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
).