Official documentation for supported schemas for `response_format` parameter in calls to `client.beta.chats.completions.parse`

Hi @diego.delarue and welcome to the community!

Also relevant for @admin215 !

anyOf is supported and an example of its use is available here.

oneOf is currently not supported! So you would need to use anyOf in its place.

One caveat with anyOf is that it must not share identical first keys, which is a bit annoying.

5 Likes