Feature01/07
Native Decisions
Evaluate a ticket using native boolean, choice and score questions. Add an image with providers that support image state.
Read guide0/10
Core checks
- Reasoning parameters · OpenAI: not run
- Compatibility fallback · OpenAI: not run
- Responses & replay · OpenAI: not run
- Native Decisions · OpenAI: not run
- Native Decisions · OpenRouter: not run
- Native Decisions · TypeSafe / Jev: not run
- Native Decisions · Cloudflare: not run
- Images in tool calls · OpenAI: not run
- Images in tool calls · Anthropic: not run
- System prompt compatibility · Anthropic: not run
Add your OpenAI key in API keys. The playground uses your key for these requests.
Request
decisionsExampleImageoptional
An attached image adds a color question.
Response
OpenAINot run
Run the example to see the model response, validation checks and timing.
Press ⌘↵ to run
Example code
examples/decisions.ts → decisionsExampleconst result = await experimental_decide({
model: openaiDecision(), // or openrouterDecision(), typesafeDecision(), cloudflareDecision()
state: { ticket },
questions: {
outage: { type: "boolean", instructions: "Are all customers blocked?" },
team: { type: "choice", instructions: "Who owns this?", criteria: {
billing: "Invoices and refunds", engineering: "Outages", support: "General help"
} },
impact: { type: "score", instructions: "Rate impact", criteria: ["None", "Some", "All"] }
}
});Run history
this sessionRuns stay in this browser session. Export the report to keep a record; audio and image bytes are excluded.