The API of Azure is not same with open AI. I can’t deal with it use draft OpenAI object.
Drafts does not have any specific integrations with Azure AI. The do offer a OpenAI compatible set of endpoints, but I have not investigated them or tested with them and the OpenAI script object.
Most likely, you with just want to script with the HTTP object to make REST calls.
I did use HTTP to call azure before. I thought I can use the updated OpenAI object to simplify the code. thank you for replay.