Skip to main content
Azure DALL-E 2 and DALL-E 3 deployments are retired. The v2.7.2 AzureOpenAITools implementation supports only those models, so this example no longer runs against a current Azure image model. See Microsoft’s migration guidance.

Legacy Requirements

This legacy example requires requests, AZURE_OPENAI_API_KEY, AZURE_OPENAI_ENDPOINT, and AZURE_OPENAI_IMAGE_DEPLOYMENT. AZURE_OPENAI_API_VERSION is optional and defaults to 2023-12-01-preview. The standard-model path also uses OPENAI_API_KEY; the full-Azure path uses AZURE_OPENAI_DEPLOYMENT.

Legacy Example

The pinned agent used Azure OpenAI DALL-E for image generation:

Toolkit Params

Toolkit Functions

Developer Resources