-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add AOAI 2024-08-01 preview API release (#30430)
- Loading branch information
1 parent
8c04a1d
commit e499135
Showing
200 changed files
with
42,567 additions
and
0 deletions.
There are no files selected for viewing
3,783 changes: 3,783 additions & 0 deletions
3,783
...tiveservices/data-plane/AzureOpenAI/authoring/preview/2024-08-01-preview/azureopenai.json
Large diffs are not rendered by default.
Oops, something went wrong.
2,522 changes: 2,522 additions & 0 deletions
2,522
...tiveservices/data-plane/AzureOpenAI/authoring/preview/2024-08-01-preview/azureopenai.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
41 changes: 41 additions & 0 deletions
41
...es/data-plane/AzureOpenAI/authoring/preview/2024-08-01-preview/examples/cancel_batch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"parameters": { | ||
"endpoint": "https://aoairesource.openai.azure.com", | ||
"api-key": "{api key}", | ||
"api-version": "2024-08-01-preview", | ||
"batch-id": "batch_72a2792ef7d24ba7b82c7fe4a37e379f" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"object": "batch", | ||
"id": "batch_72a2792ef7d24ba7b82c7fe4a37e379f", | ||
"endpoint": "/chat/completions", | ||
"errors": null, | ||
"input_file_id": "file-b4fa7277f3eb4722ac18b90f46102c3f", | ||
"completion_window": "24h", | ||
"status": "cancelling", | ||
"output_file_id": null, | ||
"error_file_id": null, | ||
"created_at": 1646126127, | ||
"in_progress_at": 1646126130, | ||
"expires_at": 1646126170, | ||
"finalizing_at": null, | ||
"completed_at": null, | ||
"failed_at": null, | ||
"expired_at": null, | ||
"cancelling_at": 1646126138, | ||
"cancelled_at": null, | ||
"request_counts": { | ||
"total": 500, | ||
"completed": 100, | ||
"failed": 5 | ||
}, | ||
"metadata": { | ||
"batch_description": "Evaluation job" | ||
} | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...es/data-plane/AzureOpenAI/authoring/preview/2024-08-01-preview/examples/cancel_batch.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
parameters: | ||
endpoint: https://aoairesource.openai.azure.com | ||
api-key: "{api key}" | ||
api-version: 2024-08-01-preview | ||
batch-id: batch_72a2792ef7d24ba7b82c7fe4a37e379f | ||
responses: | ||
"200": | ||
headers: {} | ||
body: | ||
object: batch | ||
id: batch_72a2792ef7d24ba7b82c7fe4a37e379f | ||
endpoint: /chat/completions | ||
errors: null | ||
input_file_id: file-b4fa7277f3eb4722ac18b90f46102c3f | ||
completion_window: 24h | ||
status: cancelling | ||
output_file_id: null | ||
error_file_id: null | ||
created_at: 1646126127 | ||
in_progress_at: 1646126130 | ||
expires_at: 1646126170 | ||
finalizing_at: null | ||
completed_at: null | ||
failed_at: null | ||
expired_at: null | ||
cancelling_at: 1646126138 | ||
cancelled_at: null | ||
request_counts: | ||
total: 500 | ||
completed: 100 | ||
failed: 5 | ||
metadata: | ||
batch_description: Evaluation job |
25 changes: 25 additions & 0 deletions
25
...lane/AzureOpenAI/authoring/preview/2024-08-01-preview/examples/cancel_finetuning_job.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"parameters": { | ||
"endpoint": "https://aoairesource.openai.azure.com", | ||
"api-key": "{api key}", | ||
"api-version": "2024-08-01-preview", | ||
"fine-tuning-job-id": "ft-72a2792ef7d24ba7b82c7fe4a37e379f" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"hyperparameters": { | ||
"n_epochs": -1 | ||
}, | ||
"status": "cancelled", | ||
"model": "curie", | ||
"training_file": "file-181a1cbdcdcf4677ada87f63a0928099", | ||
"finished_at": 1646127311, | ||
"id": "ft-72a2792ef7d24ba7b82c7fe4a37e379f", | ||
"created_at": 1646126127, | ||
"object": "fine_tuning.job" | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...lane/AzureOpenAI/authoring/preview/2024-08-01-preview/examples/cancel_finetuning_job.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
parameters: | ||
endpoint: https://aoairesource.openai.azure.com | ||
api-key: "{api key}" | ||
api-version: 2024-08-01-preview | ||
fine-tuning-job-id: ft-72a2792ef7d24ba7b82c7fe4a37e379f | ||
responses: | ||
200: | ||
headers: {} | ||
body: | ||
hyperparameters: | ||
n_epochs: -1 | ||
suffix: | ||
seed: | ||
status: cancelled | ||
model: curie | ||
fine_tuned_model: | ||
training_file: file-181a1cbdcdcf4677ada87f63a0928099 | ||
validation_file: | ||
result_files: | ||
finished_at: 1646127311 | ||
organisation_id: | ||
error: | ||
id: ft-72a2792ef7d24ba7b82c7fe4a37e379f | ||
created_at: 1646126127 | ||
object: fine_tuning.job |
13 changes: 13 additions & 0 deletions
13
...ces/data-plane/AzureOpenAI/authoring/preview/2024-08-01-preview/examples/delete_file.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"endpoint": "https://aoairesource.openai.azure.com", | ||
"api-key": "{api key}", | ||
"api-version": "2024-08-01-preview", | ||
"file-id": "file-181a1cbdcdcf4677ada87f63a0928099" | ||
}, | ||
"responses": { | ||
"204": { | ||
"headers": {} | ||
} | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
...ces/data-plane/AzureOpenAI/authoring/preview/2024-08-01-preview/examples/delete_file.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
parameters: | ||
endpoint: https://aoairesource.openai.azure.com | ||
api-key: "{api key}" | ||
api-version: 2024-08-01-preview | ||
file-id: file-181a1cbdcdcf4677ada87f63a0928099 | ||
responses: | ||
204: | ||
headers: {} | ||
body: |
13 changes: 13 additions & 0 deletions
13
...lane/AzureOpenAI/authoring/preview/2024-08-01-preview/examples/delete_finetuning_job.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"endpoint": "https://aoairesource.openai.azure.com", | ||
"api-key": "{api key}", | ||
"api-version": "2024-08-01-preview", | ||
"fine-tuning-job-id": "ft-72a2792ef7d24ba7b82c7fe4a37e379f" | ||
}, | ||
"responses": { | ||
"204": { | ||
"headers": {} | ||
} | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
...lane/AzureOpenAI/authoring/preview/2024-08-01-preview/examples/delete_finetuning_job.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
parameters: | ||
endpoint: https://aoairesource.openai.azure.com | ||
api-key: "{api key}" | ||
api-version: 2024-08-01-preview | ||
fine-tuning-job-id: ft-72a2792ef7d24ba7b82c7fe4a37e379f | ||
responses: | ||
204: | ||
headers: {} | ||
body: |
41 changes: 41 additions & 0 deletions
41
...vices/data-plane/AzureOpenAI/authoring/preview/2024-08-01-preview/examples/get_batch.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"parameters": { | ||
"endpoint": "https://aoairesource.openai.azure.com", | ||
"api-key": "{api key}", | ||
"api-version": "2024-08-01-preview", | ||
"batch-id": "batch_72a2792ef7d24ba7b82c7fe4a37e379f" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"object": "batch", | ||
"id": "batch_72a2792ef7d24ba7b82c7fe4a37e379f", | ||
"endpoint": "/chat/completions", | ||
"errors": null, | ||
"input_file_id": "file-b4fa7277f3eb4722ac18b90f46102c3f", | ||
"completion_window": "24h", | ||
"status": "completed", | ||
"output_file_id": "file-f2ddaf43-b48b-46dd-b264-90da10c7a85b", | ||
"error_file_id": "file-c3b563b0-ebc7-47da-93e3-a2fa694aef0c", | ||
"created_at": 1646126127, | ||
"in_progress_at": 1646126130, | ||
"expires_at": 1646126170, | ||
"finalizing_at": 1646126134, | ||
"completed_at": 1646126136, | ||
"failed_at": null, | ||
"expired_at": null, | ||
"cancelling_at": null, | ||
"cancelled_at": null, | ||
"request_counts": { | ||
"total": 500, | ||
"completed": 400, | ||
"failed": 100 | ||
}, | ||
"metadata": { | ||
"batch_description": "Evaluation job" | ||
} | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...vices/data-plane/AzureOpenAI/authoring/preview/2024-08-01-preview/examples/get_batch.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
parameters: | ||
endpoint: https://aoairesource.openai.azure.com | ||
api-key: "{api key}" | ||
api-version: 2024-08-01-preview | ||
batch-id: batch_72a2792ef7d24ba7b82c7fe4a37e379f | ||
responses: | ||
"200": | ||
headers: {} | ||
body: | ||
object: batch | ||
id: batch_72a2792ef7d24ba7b82c7fe4a37e379f | ||
endpoint: /chat/completions | ||
errors: null | ||
input_file_id: file-b4fa7277f3eb4722ac18b90f46102c3f | ||
completion_window: 24h | ||
status: completed | ||
output_file_id: file-f2ddaf43-b48b-46dd-b264-90da10c7a85b | ||
error_file_id: file-c3b563b0-ebc7-47da-93e3-a2fa694aef0c | ||
created_at: 1646126127 | ||
in_progress_at: 1646126130 | ||
expires_at: 1646126170 | ||
finalizing_at: 1646126134 | ||
completed_at: 1646126136 | ||
failed_at: null | ||
expired_at: null | ||
cancelling_at: null | ||
cancelled_at: null | ||
request_counts: | ||
total: 500 | ||
completed: 400 | ||
failed: 100 | ||
metadata: | ||
batch_description: Evaluation job |
48 changes: 48 additions & 0 deletions
48
...ces/data-plane/AzureOpenAI/authoring/preview/2024-08-01-preview/examples/get_batches.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"parameters": { | ||
"endpoint": "https://aoairesource.openai.azure.com", | ||
"api-key": "{api key}", | ||
"api-version": "2024-08-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"has_more": false, | ||
"data": [ | ||
{ | ||
"object": "batch", | ||
"id": "batch_72a2792ef7d24ba7b82c7fe4a37e379f", | ||
"endpoint": "/chat/completions", | ||
"errors": null, | ||
"input_file_id": "file-b4fa7277f3eb4722ac18b90f46102c3f", | ||
"completion_window": "24h", | ||
"status": "completed", | ||
"output_file_id": "file-f2ddaf43-b48b-46dd-b264-90da10c7a85b", | ||
"error_file_id": "file-c3b563b0-ebc7-47da-93e3-a2fa694aef0c", | ||
"created_at": 1646126127, | ||
"in_progress_at": 1646126130, | ||
"expires_at": 1646126170, | ||
"finalizing_at": 1646126134, | ||
"completed_at": 1646126136, | ||
"failed_at": null, | ||
"expired_at": null, | ||
"cancelling_at": null, | ||
"cancelled_at": null, | ||
"request_counts": { | ||
"total": 500, | ||
"completed": 400, | ||
"failed": 100 | ||
}, | ||
"first_id": "batch_abc123", | ||
"last_id": "batch_abc456", | ||
"metadata": { | ||
"batch_description": "Evaluation job" | ||
} | ||
} | ||
], | ||
"object": "list" | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...ces/data-plane/AzureOpenAI/authoring/preview/2024-08-01-preview/examples/get_batches.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
parameters: | ||
endpoint: https://aoairesource.openai.azure.com | ||
api-key: "{api key}" | ||
api-version: 2024-08-01-preview | ||
responses: | ||
"200": | ||
headers: {} | ||
body: | ||
has_more: false | ||
data: | ||
- object: batch | ||
id: batch_72a2792ef7d24ba7b82c7fe4a37e379f | ||
endpoint: /chat/completions | ||
errors: null | ||
input_file_id: file-b4fa7277f3eb4722ac18b90f46102c3f | ||
completion_window: 24h | ||
status: completed | ||
output_file_id: file-f2ddaf43-b48b-46dd-b264-90da10c7a85b | ||
error_file_id: file-c3b563b0-ebc7-47da-93e3-a2fa694aef0c | ||
created_at: 1646126127 | ||
in_progress_at: 1646126130 | ||
expires_at: 1646126170 | ||
finalizing_at: 1646126134 | ||
completed_at: 1646126136 | ||
failed_at: null | ||
expired_at: null | ||
cancelling_at: null | ||
cancelled_at: null | ||
request_counts: | ||
total: 500 | ||
completed: 400 | ||
failed: 100 | ||
first_id: batch_abc123 | ||
last_id: batch_abc456 | ||
metadata: | ||
batch_description: Evaluation job | ||
object: list |
21 changes: 21 additions & 0 deletions
21
...rvices/data-plane/AzureOpenAI/authoring/preview/2024-08-01-preview/examples/get_file.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"parameters": { | ||
"endpoint": "https://aoairesource.openai.azure.com", | ||
"api-key": "{api key}", | ||
"api-version": "2024-08-01-preview", | ||
"file-id": "file-181a1cbdcdcf4677ada87f63a0928099" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"bytes": 140, | ||
"purpose": "fine-tune", | ||
"filename": "puppy.jsonl", | ||
"id": "file-181a1cbdcdcf4677ada87f63a0928099", | ||
"created_at": 1646126127, | ||
"object": "file" | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...rvices/data-plane/AzureOpenAI/authoring/preview/2024-08-01-preview/examples/get_file.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
parameters: | ||
endpoint: https://aoairesource.openai.azure.com | ||
api-key: "{api key}" | ||
api-version: 2024-08-01-preview | ||
file-id: file-181a1cbdcdcf4677ada87f63a0928099 | ||
responses: | ||
200: | ||
headers: {} | ||
body: | ||
metadata: | ||
bytes: 140 | ||
purpose: fine-tune | ||
filename: puppy.jsonl | ||
id: file-181a1cbdcdcf4677ada87f63a0928099 | ||
created_at: 1646126127 | ||
object: file |
14 changes: 14 additions & 0 deletions
14
...ata-plane/AzureOpenAI/authoring/preview/2024-08-01-preview/examples/get_file_content.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"endpoint": "https://aoairesource.openai.azure.com", | ||
"api-key": "{api key}", | ||
"api-version": "2024-08-01-preview", | ||
"file-id": "file-181a1cbdcdcf4677ada87f63a0928099" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": "raw file content" | ||
} | ||
} | ||
} |
Oops, something went wrong.