Judge Result • Rust AI Agent SDK
JudgeResult: Result from a judge.
JudgeResult
Defined in the eval module.
Rust AI Agent SDK
Result from a judge.
Fields
| Name | Type | Description |
|---|---|---|
score | f64 | Score |
reasoning | String | Reasoning |
passed | bool | Pass/fail |
metadata | HashMap<String | Metadata |
serde_json | :Value> | Metadata |
Methods
new
fn new(score: f64, reasoning: impl Into<String>, passed: bool) -> SelfCreate a new result.
Parameters:
| Name | Type |
|---|---|
score | f64 |
reasoning | impl Into<String> |
passed | bool |
Source
View on GitHubpraisonai/src/eval/mod.rs at line 724