Expand description
Provider-neutral decision questions and answers, separate from LLM messages.
Enums use snake-case type tags and a data payload in serialized form.
Fields are public; providers and callers are responsible for valid values.
Structs§
- Choice
Option - An identified choice with an optional structured description.
- Decision
Answer - An answer and separate, optional provider confidence.
- Decision
Question - Instructions and the expected answer shape for one question.
- Decision
Request - Shared context evaluated against independent, named questions.
- Decision
Response - Answers keyed by the matching request’s question IDs.
- Probability
- Answer probability on a
[0, 1]scale. - Provider
Confidence - Provider confidence; its scale and meaning are provider-specific.
- Score
Value - Position in the request’s rubric, including fractional positions.
Enums§
- Boolean
Estimate - Preserves Boolean-only answers without inventing probability or certainty.
- Decision
Kind - The answer shape and any options or ordered rubric levels.
- Decision
Value - A typed estimate; missing distributions remain unknown.