Uses of Class
dev.langchain4j.model.scoring.response.ScoringResponse
Packages that use ScoringResponse
Package
Description
-
Uses of ScoringResponse in dev.langchain4j.model.cohere
Methods in dev.langchain4j.model.cohere that return types with arguments of type ScoringResponseModifier and TypeMethodDescriptionCohereScoringModel.doScoreAsync(ScoringRequest scoringRequest) Genuinely non-blocking counterpart ofCohereScoringModel.scoreAll(List, String), used by the asynchronous and reactive RAG flow. -
Uses of ScoringResponse in dev.langchain4j.model.scoring
Methods in dev.langchain4j.model.scoring that return types with arguments of type ScoringResponseModifier and TypeMethodDescriptiondefault CompletableFuture<ScoringResponse> ScoringModel.doScoreAsync(ScoringRequest request) The provider hook behindScoringModel.scoreAsync(ScoringRequest).default CompletableFuture<ScoringResponse> ScoringModel.scoreAsync(ScoringRequest request) Scores thedocumentsof the given request against itsquerywithout blocking the calling thread — the asynchronous/reactive counterpart ofScoringModel.scoreAll(List, String), used by the non-blocking RAG flow (seeReRankingContentAggregator). -
Uses of ScoringResponse in dev.langchain4j.model.scoring.response
Methods in dev.langchain4j.model.scoring.response that return ScoringResponse