Skip to content

Commit

Permalink
Add OperationState field back to AOAI May preview api version; (#29185)
Browse files Browse the repository at this point in the history
Co-authored-by: Yunsong Bai <yunba@microsoft.com>
  • Loading branch information
YunsongB and Yunsong Bai committed May 21, 2024
1 parent 6470c5e commit 36682ca
Showing 1 changed file with 35 additions and 1 deletion.
Original file line number Diff line number Diff line change
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 @@
}
]
}
}
}

0 comments on commit 36682ca

Please sign in to comment.