Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Commit 69b282c

Browse files
yuanzhuangyuanzhuangYuan Zhuang
andauthored
Add AOAI 2025-02-01-preview APIs (Azure#32799)
* Add AOAI 2025-02-01-preview APIs * Add authoring part --------- Co-authored-by: Yuan Zhuang <[email protected]>
1 parent 24b847c commit 69b282c

File tree

209 files changed

+41225
-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.

209 files changed

+41225
-0
lines changed

specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/2025-02-01-preview/azureopenai.json

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

specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/2025-02-01-preview/azureopenai.yaml

Lines changed: 3303 additions & 0 deletions
Large diffs are not rendered by default.
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": "2025-02-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+
}
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: 2025-02-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
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"parameters": {
3+
"endpoint": "https://aoairesource.openai.azure.com",
4+
"api-key": "{api key}",
5+
"api-version": "2025-02-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+
"integrations": [
16+
{
17+
"type": "wandb",
18+
"wandb": {
19+
"project": "custom-wandb-project",
20+
"tags": [
21+
"project:tag",
22+
"lineage"
23+
]
24+
}
25+
}
26+
],
27+
"method": {
28+
"type": "supervised"
29+
},
30+
"status": "cancelled",
31+
"model": "curie",
32+
"training_file": "file-181a1cbdcdcf4677ada87f63a0928099",
33+
"finished_at": 1646127311,
34+
"id": "ft-72a2792ef7d24ba7b82c7fe4a37e379f",
35+
"created_at": 1646126127,
36+
"object": "fine_tuning.job"
37+
}
38+
}
39+
}
40+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
parameters:
2+
endpoint: https://aoairesource.openai.azure.com
3+
api-key: '{api key}'
4+
api-version: 2025-02-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+
integrations:
15+
- type: wandb
16+
wandb:
17+
project: custom-wandb-project
18+
name:
19+
entity:
20+
tags:
21+
- project:tag
22+
- lineage
23+
method:
24+
type: supervised
25+
status: cancelled
26+
model: curie
27+
fine_tuned_model:
28+
training_file: file-181a1cbdcdcf4677ada87f63a0928099
29+
validation_file:
30+
result_files:
31+
finished_at: 1646127311
32+
organisation_id:
33+
error:
34+
id: ft-72a2792ef7d24ba7b82c7fe4a37e379f
35+
created_at: 1646126127
36+
object: fine_tuning.job
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"endpoint": "https://aoairesource.openai.azure.com",
4+
"api-key": "{api key}",
5+
"api-version": "2025-02-01-preview",
6+
"file-id": "file-181a1cbdcdcf4677ada87f63a0928099"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {},
11+
"body": {
12+
"object": "file",
13+
"deleted": true,
14+
"id": "file-181a1cbdcdcf4677ada87f63a0928099"
15+
}
16+
}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
parameters:
2+
endpoint: https://aoairesource.openai.azure.com
3+
api-key: "{api key}"
4+
api-version: 2025-02-01-preview
5+
file-id: file-181a1cbdcdcf4677ada87f63a0928099
6+
responses:
7+
200:
8+
headers: {}
9+
body:
10+
object: file
11+
deleted: true
12+
id: file-181a1cbdcdcf4677ada87f63a0928099
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": "2025-02-01-preview",
6+
"fine-tuning-job-id": "ft-72a2792ef7d24ba7b82c7fe4a37e379f"
7+
},
8+
"responses": {
9+
"204": {
10+
"headers": {}
11+
}
12+
}
13+
}
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: 2025-02-01-preview
5+
fine-tuning-job-id: ft-72a2792ef7d24ba7b82c7fe4a37e379f
6+
responses:
7+
204:
8+
headers: {}
9+
body:

0 commit comments

Comments
 (0)