#Can I use structured outputs in the OpenAI SDK?

5 messages · Page 1 of 1 (latest)

mental ridge
#

Hi! Can I specify structured output in the OpenAI SDK as shown here when using the OpenAI SDK with OpenRouter? Or do I have to use the OpenRouter REST API to specify structured outputs for e.g. Gemini 2.0 Flash?

#

Can I use structured outputs in the OpenAI SDK?

cerulean oracle
mental ridge
cerulean oracle