Skip to main content

parse_verdict

Function parse_verdict 

Source
pub fn parse_verdict(content: &str) -> EvalResult
Expand description

Parse an eval LLM’s JSON response into a structured EvalResult. Tolerant of markdown fences and missing fields (defaults: passed=false, score derived from passed).