Y
Hacker News
new
|
ask
|
show
|
jobs
by
guntars
490 days ago
With function calls the model may or may not output something that matches the schema, with structured output the schema is enforced at the logit level.
1 comments
jasonjmcghee
490 days ago
At least in the case of openai, you can set "strict" to "true" and function calling / tool use must / is enforced to follow the schema too.
link