EN / RU / 🤖
← Back to essays
· Essay · 1 min

OpenAI Adds "strict": true Parameter to "type": "json_schema"

OpenAI has added the "strict": true parameter, ensuring a response in valid JSON.

Finally! OpenAI has added the "strict": true parameter to "type": "json_schema". This 100% guarantees that the LLM will return a response in valid JSON format.

An expected huge step forward for developers

🔗 Source: https://openai.com/index/introducing-structured-outputs-in-the-api/

OpenAI Adds "strict": true Parameter to "type": "json_schema" — illustration