← Back to context

Comment by Der_Einzige

9 hours ago

Wrong, custom "specs" i.e. schemas, are literally all we have for "real" guardrails with LLMs.

https://developers.openai.com/api/docs/guides/structured-out...

Nothing else operates on the logprobs level and literally bans continuations that fail your schema.