2026-10-01
How To Use Clef State & Question Schema
Learn how to write good state and question inputs for the Clef decision model to get reliable probability outputs.
- Include only relevant context; remove unrelated text to reduce token cost
- Use structured JSON if your data is machine-readable
- Describe constraints, history and current environment clearly
- Keep your question clear and specific
- List mutually exclusive options
- Limit option count to a reasonable number for stable results
- What Is Cloudflare Clef Decision Model?
- Clef Model Tutorial: Build Agent Decision Workflows
- Clef vs Other LLM Decision Models
Ready to test? Open the Clef Decision Playground.
This is an independent demo tool for the Clef model. Not affiliated with Cloudflare. Clef model available under Apache 2.0 license.