Expand description
Provider-independent typed decision requests and validated answers.
Structs§
- Decision
Request - A bounded, provider-neutral decision request.
- Decision
Response - Complete decision response with one answer per requested question.
- Decision
Usage - Token usage reported by a provider, without request or response content.
Enums§
- Decision
Error - A safe, content-free decision error.
- Question
- A typed question, independent of any provider wire protocol.
- Typed
Answer - Validated answer returned by a decision provider.
Constants§
- MAX_
CHOICE_ OPTIONS - Maximum number of Choice options (lower than the provider’s 255 limit).
- MAX_
QUESTIONS - Maximum number of independent questions in one request.
- MAX_
REQUEST_ BYTES - Maximum serialized size of the complete request before provider wrapping.
- MAX_
SCORE_ LEVELS - Maximum number of ordered Score levels.
- MAX_
STATE_ BYTES - Maximum serialized state size sent to a decision provider.
Traits§
- Decision
Engine - Provider-independent asynchronous decision engine.