Skip to content
Discussion options

You must be logged in to vote

Structured Output ensures that the schema is followed: https://platform.openai.com/docs/guides/structured-outputs?api-mode=chat

If you're paranoid about it, you can always use a JSON Schema validator. Plenty of gems around for that.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@internethostage
Comment options

Answer selected by crmne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants