Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 925b1fe

Browse files
yuanzhuangyuanzhuangYuan Zhuang
andauthored
Add AOAI Inference 2024-08-01-preview swagger (Azure#30147)
* Add 0801-API_base * Add all new chat comletion related changes * Add changes for json * Add validated swagger file * Fix doc links and remove unused properties * Add Authoring API * Add User back * Reverted changes that a list of int can be input --------- Co-authored-by: Yuan Zhuang <[email protected]>
1 parent 5f81e1b commit 925b1fe

File tree

192 files changed

+42007
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+42007
-0
lines changed

specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/2024-08-01-preview/azureopenai.json

Lines changed: 3438 additions & 0 deletions
Large diffs are not rendered by default.

specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/2024-08-01-preview/azureopenai.yaml

Lines changed: 2435 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"endpoint": "https://aoairesource.openai.azure.com",
4+
"api-key": "{api key}",
5+
"api-version": "2024-07-01-preview",
6+
"batch-id": "batch_72a2792ef7d24ba7b82c7fe4a37e379f"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {},
11+
"body": {
12+
"object": "batch",
13+
"id": "batch_72a2792ef7d24ba7b82c7fe4a37e379f",
14+
"endpoint": "/chat/completions",
15+
"errors": null,
16+
"input_file_id": "file-b4fa7277f3eb4722ac18b90f46102c3f",
17+
"completion_window": "24h",
18+
"status": "cancelling",
19+
"output_file_id": null,
20+
"error_file_id": null,
21+
"created_at": 1646126127,
22+
"in_progress_at": 1646126130,
23+
"expires_at": 1646126170,
24+
"finalizing_at": null,
25+
"completed_at": null,
26+
"failed_at": null,
27+
"expired_at": null,
28+
"cancelling_at": 1646126138,
29+
"cancelled_at": null,
30+
"request_counts": {
31+
"total": 500,
32+
"completed": 100,
33+
"failed": 5
34+
},
35+
"metadata": {
36+
"batch_description": "Evaluation job"
37+
}
38+
}
39+
}
40+
}
41+
}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
parameters:
2+
endpoint: https://aoairesource.openai.azure.com
3+
api-key: "{api key}"
4+
api-version: 2024-07-01-preview
5+
batch-id: batch_72a2792ef7d24ba7b82c7fe4a37e379f
6+
responses:
7+
"200":
8+
headers: {}
9+
body:
10+
object: batch
11+
id: batch_72a2792ef7d24ba7b82c7fe4a37e379f
12+
endpoint: /chat/completions
13+
errors: null
14+
input_file_id: file-b4fa7277f3eb4722ac18b90f46102c3f
15+
completion_window: 24h
16+
status: cancelling
17+
output_file_id: null
18+
error_file_id: null
19+
created_at: 1646126127
20+
in_progress_at: 1646126130
21+
expires_at: 1646126170
22+
finalizing_at: null
23+
completed_at: null
24+
failed_at: null
25+
expired_at: null
26+
cancelling_at: 1646126138
27+
cancelled_at: null
28+
request_counts:
29+
total: 500
30+
completed: 100
31+
failed: 5
32+
metadata:
33+
batch_description: Evaluation job
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parameters": {
3+
"endpoint": "https://aoairesource.openai.azure.com",
4+
"api-key": "{api key}",
5+
"api-version": "2024-07-01-preview",
6+
"fine-tuning-job-id": "ft-72a2792ef7d24ba7b82c7fe4a37e379f"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {},
11+
"body": {
12+
"hyperparameters": {
13+
"n_epochs": -1
14+
},
15+
"status": "cancelled",
16+
"model": "curie",
17+
"training_file": "file-181a1cbdcdcf4677ada87f63a0928099",
18+
"finished_at": 1646127311,
19+
"id": "ft-72a2792ef7d24ba7b82c7fe4a37e379f",
20+
"created_at": 1646126127,
21+
"object": "fine_tuning.job"
22+
}
23+
}
24+
}
25+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
parameters:
2+
endpoint: https://aoairesource.openai.azure.com
3+
api-key: '{api key}'
4+
api-version: 2024-07-01-preview
5+
fine-tuning-job-id: ft-72a2792ef7d24ba7b82c7fe4a37e379f
6+
responses:
7+
200:
8+
headers: {}
9+
body:
10+
hyperparameters:
11+
n_epochs: -1
12+
suffix:
13+
seed:
14+
status: cancelled
15+
model: curie
16+
fine_tuned_model:
17+
training_file: file-181a1cbdcdcf4677ada87f63a0928099
18+
validation_file:
19+
result_files:
20+
finished_at: 1646127311
21+
organisation_id:
22+
id: ft-72a2792ef7d24ba7b82c7fe4a37e379f
23+
created_at: 1646126127
24+
object: fine_tuning.job
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"endpoint": "https://aoairesource.openai.azure.com",
4+
"api-key": "{api key}",
5+
"api-version": "2024-07-01-preview",
6+
"file-id": "file-181a1cbdcdcf4677ada87f63a0928099"
7+
},
8+
"responses": {
9+
"204": {
10+
"headers": {}
11+
}
12+
}
13+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
parameters:
2+
endpoint: https://aoairesource.openai.azure.com
3+
api-key: '{api key}'
4+
api-version: 2024-07-01-preview
5+
file-id: file-181a1cbdcdcf4677ada87f63a0928099
6+
responses:
7+
204:
8+
headers: {}
9+
body:
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"endpoint": "https://aoairesource.openai.azure.com",
4+
"api-key": "{api key}",
5+
"api-version": "2024-07-01-preview",
6+
"fine-tuning-job-id": "ft-72a2792ef7d24ba7b82c7fe4a37e379f"
7+
},
8+
"responses": {
9+
"204": {
10+
"headers": {}
11+
}
12+
}
13+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
parameters:
2+
endpoint: https://aoairesource.openai.azure.com
3+
api-key: '{api key}'
4+
api-version: 2024-07-01-preview
5+
fine-tuning-job-id: ft-72a2792ef7d24ba7b82c7fe4a37e379f
6+
responses:
7+
204:
8+
headers: {}
9+
body:

0 commit comments

Comments
 (0)