Skip to main content

Ask

Type Alias Ask 

Source
pub type Ask = dyn Fn(&str, &Value) -> Option<(Value, Option<f64>)> + Sync;
Expand description

A structured model call: the answer and its cost (learn.rs ask_model).