A2UI protocol support (requires `oneOf`)

A2UI is an open protocol for agent-driven interfaces, also commonly referred to as GenerativeUI or GenUI.

The v0.9 version of the protocol, which is about to be released, has oneOf entries in its schema, which as far as I understand is not currently supported by OpenAI structured outputs.

This prevents using OpenAI as a provider of GenUI applications that require structured outputs.

It would be awesome to add support for oneOf, which is something that has also been requested in the past.

Thanks!

Juan

PS: I’ve tried several times to add the relevant links, but I’m getting an error saying I’m not allowed to? :S

1 Like