How do I use the structured output API using Retool AI action block

Open AI recently launched the structured output API which I need to use with workflows and AI Action blocks. How can I achieve this?

https://openai.com/index/introducing-structured-outputs-in-the-api/

As it is not yet supported by Retool, your best option will be to setup your own resource (just a custom REST API) and to not use Retool AI. This will allow you to use any of the Open AI features without being constrained to what Retool supports right now.

Hope this makes sense, James

1 Like