Uses of Class
dev.langchain4j.test.judge.JudgeVerdict
Packages that use JudgeVerdict
-
Uses of JudgeVerdict in dev.langchain4j.test.judge
Methods in dev.langchain4j.test.judge that return JudgeVerdictModifier and TypeMethodDescriptionstatic JudgeVerdictJudgeVerdict.from(JudgeCriterion criterion, boolean satisfied, String explanation) Creates a verdict without a probability, for example in aJudgeimplementation.static JudgeVerdictJudgeVerdict.from(JudgeCriterion criterion, boolean satisfied, String explanation, double probability) Creates a verdict with the probability, from 0 to 1, that the criterion is satisfied, for example in aJudgeimplementation.Methods in dev.langchain4j.test.judge that return types with arguments of type JudgeVerdictModifier and TypeMethodDescriptionJudgeResponse.verdicts()One verdict per criterion of the request, in the order of the criteria.Method parameters in dev.langchain4j.test.judge with type arguments of type JudgeVerdictModifier and TypeMethodDescriptionstatic JudgeResponseJudgeResponse.from(List<JudgeVerdict> verdicts) Creates a response with the given verdicts and without token usage, for example in aJudgeimplementation.JudgeResponse.Builder.verdicts(List<JudgeVerdict> verdicts) Sets the verdicts: one per criterion, in the order of the criteria.