Setup
Set your Azure OpenAI API key in the worker environment. Generate a key from the Azure AI Foundry portal:Usage
Pass your endpoint asbase_url and your key as api_key.
model is the name you chose when deploying the model in Azure, not the underlying model name. All OpenAILLM options apply. See the OpenAI LLM parameters.