Skip to main content
{"type": "json_object"} in text.format asks for any JSON object. The SDK helper client.responses.parse() builds the same request from a Pydantic or Zod model. On models without schema support NagaAI falls back to JSON mode plus the schema in the prompt, see Structured outputs.