Hello @Adeeb Faiyaz
Thanks for reaching out to us, unfortunately GPT-4o-mini doesn't support structured output right now, currently only gpt-4o
version: 2024-08-06
supports structured outputs.
This feature will come soon but there is currently no ETA for this feature based on product team's guidance.
Reference document - https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/structured-outputs?tabs=python-secure
You can get the latest news from the What's new page - https://learn.microsoft.com/en-us/azure/ai-services/openai/whats-new
I hope this helps! Let us know if you need any further help, if you have any other issues, feel free to open a new thread.
Regards,
Yutong
-Please kindly accept the answer if you feel helpful to support the community, thanks a lot.