Skip to content

Commit cd1a434

Browse files
committed
update
1 parent 2c4b5db commit cd1a434

File tree

7 files changed

+24
-0
lines changed

7 files changed

+24
-0
lines changed

articles/ai-services/openai/concepts/content-filter.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,8 @@ print(response.model_dump_json(indent=2))
428428

429429
# [OpenAI Python 0.28.1](#tab/python)
430430

431+
[!INCLUDE [Deprecation](../includes/deprecation.md)]
432+
431433
```python
432434
# os.getenv() for the endpoint and key assumes that you are using environment variables.
433435

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: Python 0.28.1 deprecated
3+
titleSuffix: Azure OpenAI Service
4+
description: Python library deprecation
5+
manager: nitinme
6+
ms.service: azure-ai-openai
7+
ms.topic: include
8+
ms.date: 03/13/2024
9+
---
10+
11+
> [!NOTE]
12+
> The OpenAI Python library version `0.28.1` is deprecated. We recommend using `1.x`. Consult our [migration guide](../how-to/migration.md) for information on moving from `0.28.1` and `1.x`.

articles/ai-services/openai/includes/fine-tuning-python.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,8 @@ print("Validation file ID:", validation_file_id)
181181

182182
# [OpenAI Python 0.28.1](#tab/python)
183183

184+
[!INCLUDE [Deprecation](../includes/deprecation.md)]
185+
184186
```python
185187
# Upload fine-tuning files
186188

articles/ai-services/openai/includes/python.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ pip install openai
3636

3737
# [OpenAI Python 0.28.1](#tab/python)
3838

39+
[!INCLUDE [Deprecation](../includes/deprecation.md)]
40+
3941
```console
4042
pip install openai==0.28.1
4143
```

articles/ai-services/openai/includes/use-your-data-python.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ pip install python-dotenv
3030

3131
# [OpenAI Python 0.28.1](#tab/python)
3232

33+
[!INCLUDE [Deprecation](../includes/deprecation.md)]
34+
3335
```console
3436
pip install openai==0.28.1
3537
pip install python-dotenv

articles/ai-services/openai/includes/whisper-python.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ pip install openai
2626

2727
# [OpenAI Python 0.28.1](#tab/python)
2828

29+
[!INCLUDE [Deprecation](../includes/deprecation.md)]
30+
2931
```console
3032
pip install openai==0.28.1
3133
```

articles/ai-services/openai/tutorials/fine-tune.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ pip install openai requests tiktoken
5555

5656
# [OpenAI Python 0.28.1](#tab/python)
5757

58+
[!INCLUDE [Deprecation](../includes/deprecation.md)]
59+
5860
If you haven't already, you need to install the following libraries:
5961

6062
```cmd

0 commit comments

Comments
 (0)