Skip to content

Commit 71749ed

Browse files
ashjeanbirdmegamanics
authored andcommitted
Adds DALL-E note to Azure OpenAI in v1 SDK (openai#766)
* Adds DALL-E note to Azure OpenAI in v1 SDK Adds important note for Azure OpenAI users. * Updates DALL-E docs to include workaround Included a link to the workaround
1 parent 8ae6bc7 commit 71749ed

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The API documentation can be found [here](https://platform.openai.com/docs).
1515
## Installation
1616

1717
> [!IMPORTANT]
18-
> The SDK was rewritten in v1, which was released November 6th 2023. See the [v1 migration guide](https://github.com/openai/openai-python/discussions/742), which includes scripts to automatically update your code.
18+
> The SDK was rewritten in v1, which was released November 6th 2023. See the [v1 migration guide](https://github.com/openai/openai-python/discussions/742), which includes scripts to automatically update your code.
1919
2020
```sh
2121
pip install openai
@@ -459,6 +459,10 @@ class instead of the `OpenAI` class.
459459
> The Azure API shape differs from the core API shape which means that the static types for responses / params
460460
> won't always be correct.
461461
462+
The latest release of the OpenAI Python library doesn't currently support DALL-E when used with Azure OpenAI. DALL-E with Azure OpenAI is still supported with 0.28.1. For those who can't wait for native support for DALL-E and Azure OpenAI we're providing [two code examples](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/migration?tabs=python%2Cdalle-fix#dall-e-fix) which can be used as a workaround.
463+
464+
465+
462466
```py
463467
from openai import AzureOpenAI
464468

0 commit comments

Comments
 (0)