Package com.tnsai.evaluation.evaluators
Class ToolSelectionEvaluator
java.lang.Object
com.tnsai.evaluation.evaluators.ToolSelectionEvaluator
- All Implemented Interfaces:
Evaluator
Evaluates whether the agent selected the correct tools in the right order.
Scoring dimensions:
- Precision: fraction of actual tools that were expected
- Recall: fraction of expected tools that were used
- Order: longest common subsequence ratio for sequence correctness
- Since:
- 0.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.tnsai.evaluation.spi.Evaluator
Evaluator.EvaluationInput -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate(Evaluator.EvaluationInput context) Evaluates agent behavior for a single interaction.name()Unique name for this evaluator.