Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OperationState field back to AOAI May preview api version #29185

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check failure on line 1 in specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/2024-05-01-preview/azureopenai.json

View check run for this annotation

Azure Pipelines / Swagger PrettierCheck

specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/2024-05-01-preview/azureopenai.json#L1

specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/2024-05-01-preview/azureopenai.json(1,1): error : Code style issues found, please run prettier. > npm install > npx prettier --write specification/cognitiveservices/data-plane/AzureOpenAI/authoring/preview/2024-05-01-preview/azureopenai.json
"swagger": "2.0",
"info": {
"title": "Azure OpenAI API version 2024-05-01-preview",
Expand Down Expand Up @@ -1848,6 +1848,40 @@
}
}
},
"OperationState": {
"title": "OperationState",
"description": "The state of a job or item.",
"enum": [
"notRunning",
"running",
"succeeded",
"failed"
],
"type": "string",
"readOnly": true,
"x-ms-enum": {
"name": "OperationState",
"modelAsString": true,
"values": [
{
"value": "notRunning",
"description": "The operation is not yet queued to be processed in the future."
},
{
"value": "running",
"description": "The operation has started to be processed."
},
{
"value": "succeeded",
"description": "The operation has successfully be processed and is ready for consumption."
},
{
"value": "failed",
"description": "The operation has completed processing with a failure and cannot be further consumed."
}
]
}
},
"Purpose": {
"title": "Purpose",
"description": "The intended purpose of the uploaded documents. Use \"fine-tune\" for fine-tuning. This allows us to validate the format of the uploaded file.",
Expand Down Expand Up @@ -2842,4 +2876,4 @@
}
]
}
}
}
Loading