Skip to main content
Azure OpenAI runs OpenAI models in your own Azure resource. Its v1 API is OpenAI-compatible, so you use it through the OpenAI LLM plugin.

Setup

Set your Azure OpenAI API key in the worker environment. Generate a key from the Azure AI Foundry portal:

Usage

Pass your endpoint as base_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.