#json-schema
1 resource and 1 guide tagged #json-schema on ChangeGamer.
- Structured Outputs and JSON Mode: Provider Reference How to force schema-valid JSON from OpenAI, Anthropic, and Gemini — parameter names, strict-mode requirements, schema-subset limits, and self-hosted constrained decoding.
Guides
- Structured Outputs vs Tool Calling: When to Use Each A decision framework for structured outputs versus tool calling in AI agents, with runnable JSON Schema examples for OpenAI, Anthropic, Gemini, vLLM/SGLang, and llama.cpp, plus mitigation code for truncation, refusal, and grammar-compilation latency.