Skip to content

Commit d16ec70

Browse files
committed
updating model version, rolling back whats new
1 parent d277d29 commit d16ec70

File tree

9 files changed

+36
-66
lines changed

9 files changed

+36
-66
lines changed

articles/ai-services/openai/assistants-quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.custom: devx-track-python, devx-track-dotnet
88
ms.topic: quickstart
99
author: mrbullwinkle
1010
ms.author: mbullwin
11-
ms.date: 03/13/2024
11+
ms.date: 05/20/2024
1212
zone_pivot_groups: openai-quickstart-assistants
1313
recommendations: false
1414
---

articles/ai-services/openai/concepts/assistants.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Assistants API supports persistent automatically managed threads. This means tha
3131
- [Function calling](../how-to/assistant-functions.md)
3232

3333
> [!TIP]
34-
> There is no additional [pricing](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service/) or [quota](../quotas-limits.md) for using Assistants unless you use the [code interpreter](../how-to/code-interpreter.md) or [file search](../how-to/) tools.
34+
> There is no additional [pricing](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service/) or [quota](../quotas-limits.md) for using Assistants unless you use the [code interpreter](../how-to/code-interpreter.md) or [file search](../how-to/file-search.md) tools.
3535
3636
Assistants API is built on the same capabilities that power OpenAI’s GPT product. Some possible use cases range from AI-powered product recommender, sales analyst app, coding assistant, employee Q&A chatbot, and more. Start building on the no-code Assistants playground on the Azure OpenAI Studio, AI Studio, or start building with the API.
3737

articles/ai-services/openai/concepts/models.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,9 @@ The following Embeddings models are available with [Azure Government](/azure/azu
293293

294294
For Assistants you need a combination of a supported model, and a supported region. Certain tools and capabilities require the latest models. The following models are available in the Assistants API, SDK, Azure AI Studio and Azure OpenAI Studio. The following table is for pay-as-you-go. For information on Provisioned Throughput Unit (PTU) availability, see [provisioned throughput](./provisioned-throughput.md).
295295

296+
> [!NOTE]
297+
> Assistants also supports the [gpt-4o](#gpt-4o-and-gpt-4-turbo) model.
298+
296299
| Region | `gpt-35-turbo (0613)` | `gpt-35-turbo (1106)`| `fine tuned gpt-3.5-turbo-0125` | `gpt-4 (0613)` | `gpt-4 (1106)` | `gpt-4 (0125)` |
297300
|-----|---|---|---|---|---|---|
298301
| Australia East ||| ||| |

articles/ai-services/openai/how-to/assistant-functions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,16 @@ The [models page](../concepts/models.md#assistants-preview) contains the most up
2727

2828
To use all features of function calling including parallel functions, you need to use a model that was released after November 6th 2023.
2929

30-
### API Version
30+
### API Versions
3131

3232
- `2024-02-15-preview`
33+
- `2024-05-01-preview`
3334

3435
## Example function definition
3536

3637
> [!NOTE]
3738
> * We've added support for the `tool_choice` parameter which can be used to force the use of a specific tool (like `file_search`, `code_interpreter`, or a `function`) in a particular run.
38-
> * Runs expire ten minutes after creation. Be sure to submit your tool outputs before the 10 min mark.
39+
> * Runs expire ten minutes after creation. Be sure to submit your tool outputs before this expiration.
3940
4041
# [Python 1.x](#tab/python)
4142

articles/ai-services/openai/how-to/assistant.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: nitinme
77
ms.service: azure-ai-openai
88
ms.custom: references_regions
99
ms.topic: how-to
10-
ms.date: 02/01/2024
10+
ms.date: 05/20/2024
1111
author: mrbullwinkle
1212
ms.author: mbullwin
1313
recommendations: false
@@ -26,9 +26,10 @@ Azure OpenAI Assistants (Preview) allows you to create AI assistants tailored to
2626

2727
Code interpreter is available in all regions supported by Azure OpenAI Assistants. The [models page](../concepts/models.md#assistants-preview) contains the most up-to-date information on regions/models where Assistants are currently supported.
2828

29-
### API Version
29+
### API Versions
3030

3131
- `2024-02-15-preview`
32+
- `2024-05-01-preview`
3233

3334
### Supported file types
3435

@@ -100,7 +101,7 @@ from openai import AzureOpenAI
100101

101102
client = AzureOpenAI(
102103
api_key=os.getenv("AZURE_OPENAI_API_KEY"),
103-
api_version="2024-02-15-preview",
104+
api_version="2024-05-01-preview",
104105
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT")
105106
)
106107

@@ -874,7 +875,7 @@ from openai import AzureOpenAI
874875

875876
client = AzureOpenAI(
876877
api_key=os.getenv("AZURE_OPENAI_API_KEY"),
877-
api_version="2024-02-15-preview",
878+
api_version="2024-05-01-preview",
878879
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT")
879880
)
880881

articles/ai-services/openai/how-to/code-interpreter.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services: cognitive-services
66
manager: nitinme
77
ms.service: azure-ai-openai
88
ms.topic: how-to
9-
ms.date: 02/01/2024
9+
ms.date: 05/20/2024
1010
author: mrbullwinkle
1111
ms.author: mbullwin
1212
recommendations: false
@@ -30,9 +30,10 @@ The [models page](../concepts/models.md#assistants-preview) contains the most up
3030

3131
We recommend using assistants with the latest models to take advantage of the new features, as well as the larger context windows, and more up-to-date training data.
3232

33-
### API Version
33+
### API Versions
3434

3535
- `2024-02-15-preview`
36+
- `2024-05-01-preview`
3637

3738
### Supported file types
3839

@@ -79,7 +80,7 @@ from openai import AzureOpenAI
7980

8081
client = AzureOpenAI(
8182
api_key=os.getenv("AZURE_OPENAI_API_KEY"),
82-
api_version="2024-02-15-preview",
83+
api_version="2024-05-01-preview",
8384
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT")
8485
)
8586

@@ -96,7 +97,7 @@ assistant = client.beta.assistants.create(
9697
> With Azure OpenAI the `model` parameter requires model deployment name. If your model deployment name is different than the underlying model name then you would adjust your code to ` "model": "{your-custom-model-deployment-name}"`.
9798
9899
```console
99-
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/assistants?api-version=2024-02-15-preview \
100+
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/assistants?api-version=2024-05-01-preview \
100101
-H "api-key: $AZURE_OPENAI_API_KEY" \
101102
-H 'Content-Type: application/json' \
102103
-d '{
@@ -120,7 +121,7 @@ from openai import AzureOpenAI
120121

121122
client = AzureOpenAI(
122123
api_key=os.getenv("AZURE_OPENAI_API_KEY"),
123-
api_version="2024-02-15-preview",
124+
api_version="2024-05-01-preview",
124125
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT")
125126
)
126127

@@ -144,14 +145,14 @@ assistant = client.beta.assistants.create(
144145
```console
145146
# Upload a file with an "assistants" purpose
146147

147-
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/files?api-version=2024-02-15-preview \
148+
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/files?api-version=2024-05-01-preview \
148149
-H "api-key: $AZURE_OPENAI_API_KEY" \
149150
-F purpose="assistants" \
150151
-F file="@c:\\path_to_file\\file.csv"
151152

152153
# Create an assistant using the file ID
153154

154-
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/assistants?api-version=2024-02-15-preview \
155+
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/assistants?api-version=2024-05-01-preview \
155156
-H "api-key: $AZURE_OPENAI_API_KEY" \
156157
-H 'Content-Type: application/json' \
157158
-d '{
@@ -177,7 +178,7 @@ from openai import AzureOpenAI
177178

178179
client = AzureOpenAI(
179180
api_key=os.getenv("AZURE_OPENAI_API_KEY"),
180-
api_version="2024-02-15-preview",
181+
api_version="2024-05-01-preview",
181182
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT")
182183
)
183184

@@ -195,7 +196,7 @@ thread = client.beta.threads.create(
195196
# [REST](#tab/rest)
196197

197198
```console
198-
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/threads/<YOUR-THREAD-ID>/messages?api-version=2024-02-15-preview \
199+
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/threads/<YOUR-THREAD-ID>/messages?api-version=2024-05-01-preview \
199200
-H "api-key: $AZURE_OPENAI_API_KEY" \
200201
-H 'Content-Type: application/json' \
201202
-d '{
@@ -235,7 +236,7 @@ from openai import AzureOpenAI
235236

236237
client = AzureOpenAI(
237238
api_key=os.getenv("AZURE_OPENAI_API_KEY"),
238-
api_version="2024-02-15-preview",
239+
api_version="2024-05-01-preview",
239240
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT")
240241
)
241242

@@ -249,7 +250,7 @@ with open("./my-image.png", "wb") as file:
249250
# [REST](#tab/rest)
250251

251252
```console
252-
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/files/<YOUR-FILE-ID>/content?api-version=2024-02-15-preview \
253+
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/files/<YOUR-FILE-ID>/content?api-version=2024-05-01-preview \
253254
-H "api-key: $AZURE_OPENAI_API_KEY" \
254255
--output image.png
255256
```

articles/ai-services/openai/how-to/file-search.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ services: cognitive-services
66
manager: nitinme
77
ms.service: azure-ai-openai
88
ms.topic: how-to
9-
ms.date: 04/30/2024
9+
ms.date: 05/20/2024
1010
author: aahill
1111
ms.author: aahi
1212
recommendations: false
@@ -16,25 +16,21 @@ recommendations: false
1616

1717
File Search augments the Assistant with knowledge from outside its model, such as proprietary product information or documents provided by your users. OpenAI automatically parses and chunks your documents, creates and stores the embeddings, and use both vector and keyword search to retrieve relevant content to answer user queries.
1818

19+
<!--
1920
> [!IMPORTANT]
20-
> File search has [additional charges](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service/) beyond the token based fees for Azure OpenAI usage. If your Assistant calls file search simultaneously in two different threads, two file search sessions are created.
21+
> * File search has [additional charges](https://azure.microsoft.com/pricing/details/cognitive-services/openai-service/) beyond the token based fees for Azure OpenAI usage. For example, if your Assistant calls file search simultaneously in two different threads, two file search sessions are created.
22+
-->
23+
24+
> [!NOTE]
25+
> File search is currently not billed.
2126
2227
[!INCLUDE [Assistants v2 note](../includes/assistants-v2-note.md)]
2328

2429
## File search support
2530

2631
### Supported regions
2732

28-
File search is available in the following regions:
29-
* Canada East
30-
* East US
31-
* East US 2
32-
* France Central
33-
* Japan East
34-
* South India
35-
* Sweden Central
36-
* West US 3
37-
* UK South
33+
File search is available in [regions](../concepts/models.md#assistants-preview) that support Assistants.
3834

3935
### API Version
4036

articles/ai-services/openai/includes/assistants-rest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: mrbullwinkle
77
ms.author: mbullwin
88
ms.service: azure-ai-openai
99
ms.topic: include
10-
ms.date: 02/01/2023
10+
ms.date: 05/20/2024
1111
---
1212

1313
## Prerequisites
@@ -50,7 +50,7 @@ Create and assign persistent environment variables for your key and endpoint.
5050
> With Azure OpenAI the `model` parameter requires model deployment name. If your model deployment name is different than the underlying model name then you would adjust your code to ` "model": "{your-custom-model-deployment-name}"`.
5151
5252
```console
53-
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/assistants?api-version=2024-02-15-preview \
53+
curl https://YOUR_RESOURCE_NAME.openai.azure.com/openai/assistants?api-version=2024-05-01-preview \
5454
-H "api-key: $AZURE_OPENAI_API_KEY" \
5555
-H "Content-Type: application/json" \
5656
-d '{

articles/ai-services/openai/whats-new.md

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.custom:
1010
- ignite-2023
1111
- references_regions
1212
ms.topic: whats-new
13-
ms.date: 05/13/2024
13+
ms.date: 05/01/2024
1414
recommendations: false
1515
---
1616

@@ -20,38 +20,6 @@ This article provides a summary of the latest releases and major documentation u
2020

2121
## May 2024
2222

23-
### Assistants v2 (preview)
24-
25-
A refresh of the Assistants API is now publicly available. It contains the following updates:
26-
27-
* [File search tool and vector storage](./how-to/file-search.md)
28-
* [Max completion and max prompt token support](./concepts/assistants.md#context-window-management) for managing token usage.
29-
* `tool_choice` [parameter](./assistants-reference-runs.md#run-object) for forcing the Assistant to use use a specified tool.
30-
You can now create messages with the [assistant](.//assistants-reference-messages.md#create-message) role to create custom conversation histories in Threads.
31-
* Support for `temperature`, `top_p`, `response_format` [parameters](./assistants-reference.md#create-an-assistant).
32-
* Streaming and polling support. You can use the helper functions in our Python SDK to create runs and stream responses. We have also added polling SDK helpers to share object status updates without the need for polling.
33-
* Experiment with Logic Apps and Function Calling using Azure OpenAI Studio. Import your REST APIs implemented in Logic Apps as functions and the studio invokes the function (as a Logic Apps workflow) automatically based on the user prompt.
34-
* AutoGen by Microsoft Research provides a multi-agent conversation framework to enable convenient building of Large Language Model (LLM) workflows across a wide range of applications. Azure OpenAI assistants are now integrated into AutoGen via `GPTAssistantAgent`, a new experimental agent that lets you seamlessly add Assistants into AutoGen-based multi-agent workflows. This enables multiple Azure OpenAI assistants, that could be task or domain specialized, to collaborate and tackle complex tasks.
35-
* Support for fine-tuned `gpt-3.5-turbo-0125` [models](./concepts/models.md#assistants-preview) in the following regions:
36-
* East US 2
37-
* Sweden Central
38-
* Expanded regional support for:
39-
* Japan East
40-
* UK South
41-
* India South
42-
* West US
43-
* West US 3
44-
45-
46-
### GPT-4o preview model available for early access
47-
48-
GPT-4o ("o is for "omni") is the latest preview model from OpenAI launched on May 13, 2024.
49-
50-
- GPT-4o integrates text, and images in a single model, enabling it to handle multiple data types simultaneously. This multimodal approach enhances accuracy and responsiveness in human-computer interactions.
51-
- GPT-4o matches GPT-4 Turbo in English text and coding tasks while offering superior performance in non-English languages and in vision tasks, setting new benchmarks for AI capabilities.
52-
53-
To start testing out the model today, see the [**Azure OpenAI Studio early access playground**](./concepts/models.md#early-access-playground).
54-
5523
### GPT-4 Turbo model general availability (GA)
5624

5725
[!INCLUDE [GPT-4 Turbo](./includes/gpt-4-turbo.md)]

0 commit comments

Comments
 (0)