Uses of Class
dev.langchain4j.model.scoring.request.ScoringRequest
Packages that use ScoringRequest
Package
Description
-
Uses of ScoringRequest in dev.langchain4j.model.cohere
Methods in dev.langchain4j.model.cohere with parameters of type ScoringRequestModifier and TypeMethodDescriptionCohereScoringModel.doScoreAsync(ScoringRequest scoringRequest) Genuinely non-blocking counterpart ofCohereScoringModel.scoreAll(List, String), used by the asynchronous and reactive RAG flow. -
Uses of ScoringRequest in dev.langchain4j.model.scoring
Methods in dev.langchain4j.model.scoring with parameters of type ScoringRequestModifier 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 ScoringRequest in dev.langchain4j.model.scoring.request
Methods in dev.langchain4j.model.scoring.request that return ScoringRequest