Skip to content

Commit cf632d4

Browse files
Merge pull request #2383 from santiagxf/santiagxf-patch-1
Update API version to 2024-05-01-preview
2 parents ec2dd2d + 3b7f396 commit cf632d4

5 files changed

+8
-8
lines changed

articles/ai-studio/reference/reference-model-inference-api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ Use the reference section to explore the API design and which parameters are ava
202202
__Request__
203203

204204
```HTTP/1.1
205-
POST /chat/completions?api-version=2024-04-01-preview
205+
POST /chat/completions?api-version=2024-05-01-preview
206206
Authorization: Bearer <bearer-token>
207207
Content-Type: application/json
208208
```
@@ -277,7 +277,7 @@ Console.WriteLine($"Response: {response.Value.Choices[0].Message.Content}");
277277
__Request__
278278

279279
```HTTP/1.1
280-
POST /chat/completions?api-version=2024-04-01-preview
280+
POST /chat/completions?api-version=2024-05-01-preview
281281
Authorization: Bearer <bearer-token>
282282
Content-Type: application/json
283283
extra-parameters: pass-through
@@ -411,7 +411,7 @@ catch (RequestFailedException ex)
411411
__Request__
412412

413413
```HTTP/1.1
414-
POST /chat/completions?api-version=2024-04-01-preview
414+
POST /chat/completions?api-version=2024-05-01-preview
415415
Authorization: Bearer <bearer-token>
416416
Content-Type: application/json
417417
```
@@ -552,7 +552,7 @@ catch (RequestFailedException ex)
552552
__Request__
553553

554554
```HTTP/1.1
555-
POST /chat/completions?api-version=2024-04-01-preview
555+
POST /chat/completions?api-version=2024-05-01-preview
556556
Authorization: Bearer <bearer-token>
557557
Content-Type: application/json
558558
```

articles/ai-studio/reference/reference-model-inference-chat-completions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ms.custom:
2121
Creates a model response for the given chat conversation.
2222

2323
```http
24-
POST /chat/completions?api-version=2024-04-01-preview
24+
POST /chat/completions?api-version=2024-05-01-preview
2525
```
2626

2727
## URI Parameters

articles/ai-studio/reference/reference-model-inference-embeddings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ms.custom:
2121
Creates an embedding vector representing the input text.
2222

2323
```http
24-
POST /embeddings?api-version=2024-04-01-preview
24+
POST /embeddings?api-version=2024-05-01-preview
2525
```
2626

2727
## URI Parameters

articles/ai-studio/reference/reference-model-inference-images-embeddings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ms.custom:
2121
Creates an embedding vector representing the input image and text pair.
2222

2323
```http
24-
POST /images/embeddings?api-version=2024-04-01-preview
24+
POST /images/embeddings?api-version=2024-05-01-preview
2525
```
2626

2727
## URI Parameters

articles/ai-studio/reference/reference-model-inference-info.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ms.custom:
2121
Returns the information about the model deployed under the endpoint.
2222

2323
```http
24-
GET /info?api-version=2024-04-01-preview
24+
GET /info?api-version=2024-05-01-preview
2525
```
2626

2727
## URI Parameters

0 commit comments

Comments
 (0)