Uses of Class
dev.dokimos.core.evaluators.HallucinationEvaluator.Builder
Packages that use HallucinationEvaluator.Builder
-
Uses of HallucinationEvaluator.Builder in dev.dokimos.core.evaluators
Methods in dev.dokimos.core.evaluators that return HallucinationEvaluator.BuilderModifier and TypeMethodDescriptionHallucinationEvaluator.builder()Creates a new builder for constructing the hallucination evaluator.HallucinationEvaluator.Builder.contextKey(String contextKey) Sets the context key to use.HallucinationEvaluator.Builder.evaluationParams(List<EvalTestCaseParam> params) Sets which test case parameters to use for the evaluation.HallucinationEvaluator.Builder.includeReason(boolean includeReason) Sets the flag whether to provide a reason or not.Sets the model to use for the evaluation.Sets the evaluator name.HallucinationEvaluator.Builder.threshold(double threshold) Sets the maximum score threshold for success.