Oct 24, 2026Reliable JSON from any OpenAI-compatible model: json_schema, then json_object, then prompt-only, validated with Pydanticlucky wang