Uses of Class
dev.langchain4j.rag.content.Content
Packages that use Content
Package
Description
-
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.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.protected List
<TextSegment> 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
(UserMessage userMessage, List<Content> contents) protected String
ContentInjector.inject
(List<Content> contents, UserMessage userMessage) Injects givenContent
s into a givenUserMessage
.DefaultContentInjector.inject
(List<Content> contents, UserMessage userMessage) -
Uses of Content in dev.langchain4j.rag.content.retriever
Methods in dev.langchain4j.rag.content.retriever that return types with arguments of type Content