//
AI Engineer
//
Structured Output
Structured Output
Forcing the reply into a schema, so it arrives as typed data instead of a paragraph.
input
Teach
me
math
the request · schema attached every call
system prompt
user message
response schema
large language model
reply.json
JSON
{
"topic"
:
"algebra"
,
"message"
:
"Let's start with algebra."
}