CriteriaEvaluator
Defined in the eval module.Rust AI Agent SDK Evaluator for custom criteria.
Fields
| Name | Type | Description |
|---|---|---|
criteria | Vec<String> | Criteria to evaluate |
config | EvaluatorConfig | Configuration |
Methods
new
evaluate
| Name | Type |
|---|---|
scores | &HashMap<String |
Source
View on GitHub
praisonai/src/eval/mod.rs at line 616
