Skip to content

Commit 726846a

Browse files
committed
version
1 parent 3c7e412 commit 726846a

6 files changed

+13
-13
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ The following example shows a request passing the parameter `safe_prompt` suppor
7777
__Request__
7878

7979
```HTTP/1.1
80-
POST /chat/completions?api-version=2024-05-01-preview
80+
POST /chat/completions?api-version=2024-04-01-preview
8181
Authorization: Bearer <bearer-token>
8282
Content-Type: application/json
8383
extra-parameters: allow
@@ -114,7 +114,7 @@ The following example shows the response for a chat completion request indicatin
114114
__Request__
115115

116116
```HTTP/1.1
117-
POST /chat/completions?api-version=2024-05-01-preview
117+
POST /chat/completions?api-version=2024-04-01-preview
118118
Authorization: Bearer <bearer-token>
119119
Content-Type: application/json
120120
```
@@ -199,7 +199,7 @@ wget -d --header="Authorization: Bearer <TOKEN>" <ENDPOINT_URI>/swagger.json
199199
Use the **Endpoint URI** and the **Key** to submit requests. The following example sends a request to a Cohere embedding model:
200200

201201
```HTTP/1.1
202-
POST /embeddings?api-version=2024-05-01-preview
202+
POST /embeddings?api-version=2024-04-01-preview
203203
Authorization: Bearer <bearer-token>
204204
Content-Type: application/json
205205
```

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

Lines changed: 2 additions & 2 deletions
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-05-01-preview
24+
POST /chat/completions?api-version=2024-04-01-preview
2525
```
2626

2727
## URI Parameters
@@ -85,7 +85,7 @@ Token URL: https://login.microsoftonline.com/common/oauth2/v2.0/token
8585

8686

8787
```http
88-
POST /chat/completions?api-version=2024-05-01-preview
88+
POST /chat/completions?api-version=2024-04-01-preview
8989
9090
{
9191
"messages": [

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ms.custom:
2121
Creates a completion for the provided prompt and parameters.
2222

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

2727
| Name | In | Required | Type | Description |
@@ -86,7 +86,7 @@ Azure Active Directory OAuth2 authentication
8686
#### Sample Request
8787

8888
```http
89-
POST /completions?api-version=2024-05-01-preview
89+
POST /completions?api-version=2024-04-01-preview
9090
9191
{
9292
"prompt": "This is a very good text",

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

Lines changed: 2 additions & 2 deletions
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-05-01-preview
24+
POST /embeddings?api-version=2024-04-01-preview
2525
```
2626

2727
## URI Parameters
@@ -75,7 +75,7 @@ Azure Active Directory OAuth2 authentication
7575
#### Sample Request
7676

7777
```http
78-
POST /embeddings?api-version=2024-05-01-preview
78+
POST /embeddings?api-version=2024-04-01-preview
7979
8080
{
8181
"input": [

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

Lines changed: 2 additions & 2 deletions
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-05-01-preview
24+
POST /images/embeddings?api-version=2024-04-01-preview
2525
```
2626

2727
## URI Parameters
@@ -82,7 +82,7 @@ Azure Active Directory OAuth2 authentication
8282
#### Sample Request
8383

8484
```http
85-
POST /images/embeddings?api-version=2024-05-01-preview
85+
POST /images/embeddings?api-version=2024-04-01-preview
8686
8787
{
8888
"input": [

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

Lines changed: 2 additions & 2 deletions
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-05-01-preview
24+
GET /info?api-version=2024-04-01-preview
2525
```
2626

2727
## URI Parameters
@@ -75,7 +75,7 @@ Azure Active Directory OAuth2 authentication
7575
#### Sample Request
7676

7777
```http
78-
GET /info?api-version=2024-05-01-preview
78+
GET /info?api-version=2024-04-01-preview
7979
```
8080

8181
#### Sample Response

0 commit comments

Comments
 (0)