AccuracyEvaluator
Defined in the eval module.Rust AI Agent SDK Evaluator for accuracy (comparing output to expected).
Fields
| Name | Type | Description |
|---|---|---|
input | String | Input text |
expected | String | Expected output |
actual | Option<String> | Actual output (if already available) |
config | EvaluatorConfig | Configuration |
Methods
new
evaluate_simple
| Name | Type |
|---|---|
actual | &str |
Source
View on GitHub
praisonai/src/eval/mod.rs at line 318
