Uses of Record Class
dev.dokimos.core.EvalResult
Packages that use EvalResult
-
Uses of EvalResult in dev.dokimos.core
Methods in dev.dokimos.core that return EvalResultModifier and TypeMethodDescriptionEvalResult.Builder.build()Builds the result.final EvalResultBaseEvaluator.evaluate(EvalTestCase testCase) Evaluator.evaluate(EvalTestCase testCase) Evaluates the test case and returns a scored result.static EvalResultCreates a failed result.static EvalResultCreates a result by comparing the score against a threshold.static EvalResultCreates a successful result.Methods in dev.dokimos.core that return types with arguments of type EvalResultModifier and TypeMethodDescriptionItemResult.evalResults()Returns the value of theevalResultsrecord component.BaseEvaluator.evaluateAsync(EvalTestCase testCase) Evaluates the test case asynchronously using the common fork-join pool.BaseEvaluator.evaluateAsync(EvalTestCase testCase, ExecutorService executor) Evaluates the test case asynchronously using the provided executor.Constructor parameters in dev.dokimos.core with type arguments of type EvalResultModifierConstructorDescriptionItemResult(Example example, Map<String, Object> actualOutputs, List<EvalResult> evalResults) Creates an instance of aItemResultrecord class. -
Uses of EvalResult in dev.dokimos.springai
Methods in dev.dokimos.springai with parameters of type EvalResultModifier and TypeMethodDescriptionstatic org.springframework.ai.evaluation.EvaluationResponseSpringAiSupport.toEvaluationResponse(EvalResult result) Converts a DokimosEvalResultto a Spring AIEvaluationResponse.