Commit 23d03a1c

ashjeanbird <132003136+ashjeanbird@users.noreply.github.com>
2023-11-16 11:56:35
Adds DALL-E note to Azure OpenAI in v1 SDK (#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 d3cb40c
Changed files (1)
README.md
@@ -15,7 +15,7 @@ The API documentation can be found [here](https://platform.openai.com/docs).
 ## Installation
 
 > [!IMPORTANT]
-> 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.
+> 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. 
 
 ```sh
 pip install openai
@@ -459,6 +459,10 @@ class instead of the `OpenAI` class.
 > The Azure API shape differs from the core API shape which means that the static types for responses / params
 > won't always be correct.
 
+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.
+
+
+
 ```py
 from openai import AzureOpenAI