Dsxir. Prediction
(dsxir v0.4.0)
Copy Markdown
Typed output of a predictor call.
fields is the validated, Zoi-passed output map keyed by output field name.
Access protocol forwards directly to fields, so pred[:answer] and
pred.fields.answer are equivalent.
Summary
Types
@type t() :: %Dsxir.Prediction{ completions: [String.t()], fields: map(), lm_usage: nil | Dsxir.Cost.t(), skipped: nil | [atom()] }