EvaluationScore
Defined in the eval module.Rust AI Agent SDK Score from an evaluation.
Fields
| Name | Type | Description |
|---|---|---|
value | f64 | Score value (0.0 to 1.0) |
reasoning | Option<String> | Score reasoning |
confidence | Option<f64> | Confidence level |
Methods
new
| Name | Type |
|---|---|
value | f64 |
with_reasoning
| Name | Type |
|---|---|
reasoning | impl Into<String> |
with_confidence
| Name | Type |
|---|---|
confidence | f64 |
is_passing
| Name | Type |
|---|---|
threshold | f64 |
as_percentage
Source
View on GitHub
praisonai/src/eval/mod.rs at line 29
