skip to Main Content

How can I write a POST request for Azure OpenAI that uses structured output?

I want to write a POST request for Azure OpenAI that uses structured output. https://azure.microsoft.com/en-us/blog/announcing-a-new-openai-feature-for-developers-on-azure/ says: Here’s an example API call to illustrate how to use Structured Outputs: { "model": "gpt-4o-2024-08-06", "prompt": "Generate a customer support response", "structured_output": { "schema":…

VIEW QUESTION

Ubuntu – azure function responding with 503 or 502 error after some intervals

I have an azure function deployed which is giving this exception as follows: [![Unable to reload azure.functions. Using default. Exception: cannot import name 'BlobSource' from 'azure.functions.decorators' (/azure-functions-host/workers/python/3.9/LINUX/X64/azure/functions/decorators/init.py)][1]][1] Along with the above exception, I am keep getting 502 or 503 error…

VIEW QUESTION
Back To Top
Search