Uses of Class
dev.dokimos.core.evaluators.agents.ToolErrorEvaluator.Builder
Packages that use ToolErrorEvaluator.Builder
-
Uses of ToolErrorEvaluator.Builder in dev.dokimos.core.evaluators.agents
Methods in dev.dokimos.core.evaluators.agents that return ToolErrorEvaluator.BuilderModifier and TypeMethodDescriptionstatic ToolErrorEvaluator.BuilderToolErrorEvaluator.builder()Creates a new builder for constructing the evaluator.ToolErrorEvaluator.Builder.detectJsonErrorField(boolean detectJsonErrorField) Controls whether a JSON object with a top-level"error"field counts as an error.ToolErrorEvaluator.Builder.errorDetector(Predicate<String> errorDetector) Sets a custom predicate that flags a result string as an error.ToolErrorEvaluator.Builder.evaluationParams(List<EvalTestCaseParam> params) Sets which test case parameters to validate.Sets the evaluator name.ToolErrorEvaluator.Builder.threshold(double threshold) Sets the minimum score threshold for success.ToolErrorEvaluator.Builder.toolCallsKey(String toolCallsKey) Sets the key used to retrieve tool calls from actualOutputs.ToolErrorEvaluator.Builder.treatBlankAsError(boolean treatBlankAsError) Controls whether a null or blank result counts as an error.