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

NameTypeDescription
scoref64Score
reasoningStringReasoning
passedboolPass/fail
metadataHashMap<StringMetadata
serde_json:Value>Metadata

Methods

new

rust
fn new(score: f64, reasoning: impl Into<String>, passed: bool) -> Self

Create a new result.

Parameters:

NameType
scoref64
reasoningimpl Into&lt;String&gt;
passedbool

Source

View on GitHub

praisonai/src/eval/mod.rs at line 724