pub type Ask = dyn Fn(&str, &Value) -> Option<(Value, Option<f64>)> + Sync;
A structured model call: the answer and its cost (learn.rs ask_model).
ask_model