Uses of Class
dev.langchain4j.rag.content.Content
Packages that use Content
Package
Description
-
Uses of Content in dev.langchain4j.experimental.rag.content.retriever.sql
Methods in dev.langchain4j.experimental.rag.content.retriever.sql that return types with arguments of type Content -
Uses of Content in dev.langchain4j.rag
Methods in dev.langchain4j.rag that return types with arguments of type ContentConstructor parameters in dev.langchain4j.rag with type arguments of type ContentModifierConstructorDescriptionAugmentationResult
(ChatMessage chatMessage, List<Content> contents) -
Uses of Content in dev.langchain4j.rag.content
Methods in dev.langchain4j.rag.content that return Content -
Uses of Content in dev.langchain4j.rag.content.aggregator
Fields in dev.langchain4j.rag.content.aggregator with type parameters of type ContentMethods in dev.langchain4j.rag.content.aggregator that return types with arguments of type ContentModifier and TypeMethodDescriptionReciprocalRankFuser.fuse
(Collection<List<Content>> listsOfContents) Fuses multipleList<Content>
into a singleList<Content>
using the Reciprocal Rank Fusion (RRF) algorithm with k=60.ReciprocalRankFuser.fuse
(Collection<List<Content>> listsOfContents, int k) Fuses multipleList<Content>
into a singleList<Content>
using the Reciprocal Rank Fusion (RRF) algorithm.ReRankingContentAggregator.reRankAndFilter
(List<Content> contents, Query query) Method parameters in dev.langchain4j.rag.content.aggregator with type arguments of type ContentModifier and TypeMethodDescriptionReciprocalRankFuser.fuse
(Collection<List<Content>> listsOfContents) Fuses multipleList<Content>
into a singleList<Content>
using the Reciprocal Rank Fusion (RRF) algorithm with k=60.ReciprocalRankFuser.fuse
(Collection<List<Content>> listsOfContents, int k) Fuses multipleList<Content>
into a singleList<Content>
using the Reciprocal Rank Fusion (RRF) algorithm.ReRankingContentAggregator.reRankAndFilter
(List<Content> contents, Query query) Constructor parameters in dev.langchain4j.rag.content.aggregator with type arguments of type ContentModifierConstructorDescriptionReRankingContentAggregator
(ScoringModel scoringModel, Function<Map<Query, Collection<List<Content>>>, Query> querySelector, Double minScore) -
Uses of Content in dev.langchain4j.rag.content.injector
Methods in dev.langchain4j.rag.content.injector with parameters of type ContentMethod parameters in dev.langchain4j.rag.content.injector with type arguments of type ContentModifier and TypeMethodDescriptionprotected Prompt
DefaultContentInjector.createPrompt
(ChatMessage chatMessage, List<Content> contents) protected Prompt
DefaultContentInjector.createPrompt
(UserMessage userMessage, List<Content> contents) Deprecated.protected String
default ChatMessage
ContentInjector.inject
(List<Content> contents, ChatMessage chatMessage) Injects givenContent
s into a givenChatMessage
.ContentInjector.inject
(List<Content> contents, UserMessage userMessage) Deprecated.Use/implementContentInjector.inject(List, ChatMessage)
instead.DefaultContentInjector.inject
(List<Content> contents, ChatMessage chatMessage) DefaultContentInjector.inject
(List<Content> contents, UserMessage userMessage) Deprecated.useDefaultContentInjector.inject(List, ChatMessage)
instead. -
Uses of Content in dev.langchain4j.rag.content.retriever
Methods in dev.langchain4j.rag.content.retriever that return types with arguments of type Content -
Uses of Content in dev.langchain4j.rag.content.retriever.azure.search
Methods in dev.langchain4j.rag.content.retriever.azure.search that return types with arguments of type Content -
Uses of Content in dev.langchain4j.rag.content.retriever.neo4j
Methods in dev.langchain4j.rag.content.retriever.neo4j that return types with arguments of type Content -
Uses of Content in dev.langchain4j.service
Methods in dev.langchain4j.service that return types with arguments of type ContentMethod parameters in dev.langchain4j.service with type arguments of type ContentModifier and TypeMethodDescriptionAiServiceTokenStream.onRetrieved
(Consumer<List<Content>> contentsHandler) TokenStream.onRetrieved
(Consumer<List<Content>> contentHandler) The provided consumer will be invoked when/if contents have been retrieved usingRetrievalAugmentor
.Constructor parameters in dev.langchain4j.service with type arguments of type ContentModifierConstructorDescriptionResult
(T content, TokenUsage tokenUsage, List<Content> sources, FinishReason finishReason, List<ToolExecution> toolExecutions)
DefaultContentInjector.createPrompt(ChatMessage, List)
instead.