Examples · learn/17-typed-replies · 229 of 339
wrapped
tin run examples/learn/17-typed-replies/wrapped.tintype Score = {
/// From 0.0 (bad) to 1.0 (great)
value: float
}
agent Judge { model: "mock" }
fn main() {
let s: Score = Judge("how good is this draft? 0.8")
print(s.value)
}