Package dev.dokimos.core.evaluators
Class ExactMatchEvaluator.Builder
java.lang.Object
dev.dokimos.core.evaluators.ExactMatchEvaluator.Builder
- Enclosing class:
ExactMatchEvaluator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()evaluationParams(List<EvalTestCaseParam> params) Sets which test case parameters to use for the evaluation.Sets the evaluator name.threshold(double threshold) Sets the minimum score threshold for success.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the evaluator name.- Parameters:
name- the evaluator name- Returns:
- this builder
-
evaluationParams
Sets which test case parameters to use for the evaluation.- Parameters:
params- the parameters to use for the evaluation- Returns:
- this builder
-
threshold
Sets the minimum score threshold for success.- Parameters:
threshold- the threshold value- Returns:
- this builder
-
build
-