You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-foundry/openai/how-to/migration.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ OpenAI released a new version of the [OpenAI Python API library](https://github.
38
38
## Test before you migrate
39
39
40
40
> [!IMPORTANT]
41
-
> Automatic migration of your code using `openai migrate`is not supported with Azure OpenAI.
41
+
> Automatic migration of your code using `openai migrate`isn't supported with Azure OpenAI.
42
42
43
43
As this is a new version of the library with breaking changes, you should test your code extensively against the new release before migrating any production applications to rely on version 1.x. You should also review your code and internal processes to make sure that you're following best practices and pinning your production code to only versions that you have fully tested.
44
44
@@ -64,7 +64,7 @@ This provides context for what has changed and allows you to test the new librar
64
64
65
65
# [OpenAI Python 1.x](#tab/python-new)
66
66
67
-
You need to set the `model` variable to the deployment name you chose when you deployed the GPT-3.5-Turbo or GPT-4 models. Entering the model name results in an error unless you chose a deployment name that is identical to the underlying model name.
67
+
You need to set the `model` variable to the deployment name you chose when you deployed the GPT-3.5-Turbo or GPT-4 models. Entering the model name results in an error unless you chose a deployment name that's identical to the underlying model name.
68
68
69
69
```python
70
70
import os
@@ -93,7 +93,7 @@ Additional examples can be found in our [in-depth Chat Completion article](chatg
93
93
94
94
# [OpenAI Python 0.28.1](#tab/python)
95
95
96
-
You need to set the `engine` variable to the deployment name you chose when you deployed the GPT-3.5-Turbo or GPT-4 models. Entering the model name will result in an error unless you chose a deployment name that is identical to the underlying model name.
96
+
You need to set the `engine` variable to the deployment name you chose when you deployed the GPT-3.5-Turbo or GPT-4 models. Entering the model name will result in an error unless you chose a deployment name that's identical to the underlying model name.
97
97
98
98
```python
99
99
import os
@@ -539,7 +539,7 @@ asyncio.run(dall_e())
539
539
## Name changes
540
540
541
541
> [!NOTE]
542
-
> All a* methods have been removed; the async client must be used instead.
542
+
> All `a*` methods have been removed; the async client must be used instead.
0 commit comments