β Scenario library
The Schema Made Me Do It
A JSON schema with no field for 'no' forces the sampler past a refusal it would otherwise emit
Technique first revealed 19 Feb 2025
Inside the Model
InstructionsDataActionsControl / decisionFeedback / logs
π Click a component to inspectSetupStep 1 / 6
A reasonable-looking feature: strict output
A team building an app wants tidy, predictable answers, so they make the model reply only in one exact format β like a form with fixed boxes. This is normal and useful: it keeps the output easy for the rest of the app to read.
βοΈApp config (structured output)config
response_format: json_schema
strict: true
schema:
type: object
required: [answer, steps]
properties:
answer: { type: string }
steps: { type: array, items: { type: string } }
# Note: schema has no field to express refusal / 'cannot comply'.β / β keys