forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
526 changed files
with
68,498 additions
and
2,857 deletions.
There are no files selected for viewing
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ namespace Face; | |
@summary("Detect human faces in an image, return face rectangles, and optionally with faceIds, landmarks, and attributes.") | ||
@doc(""" | ||
> [!IMPORTANT] | ||
> Microsoft has retired or limited facial recognition capabilities that can be used to try to infer emotional states and identity attributes which, if misused, can subject people to stereotyping, discrimination or unfair denial of services. The retired capabilities are emotion and gender. The limited capabilities are age, smile, facial hair, hair and makeup. Email Azure Face API <[email protected]> if you have a responsible use case that would benefit from the use of any of the limited capabilities. Read more about this decision https://azure.microsoft.com/blog/responsible-ai-investments-and-safeguards-for-facial-recognition/. | ||
> Microsoft has retired or limited facial recognition capabilities that can be used to try to infer emotional states and identity attributes which, if misused, can subject people to stereotyping, discrimination or unfair denial of services. The retired capabilities are emotion and gender. The limited capabilities are age, smile, facial hair, hair and makeup. Email [Azure Face API](mailto:[email protected]) if you have a responsible use case that would benefit from the use of any of the limited capabilities. Read more about this decision [here](https://azure.microsoft.com/blog/responsible-ai-investments-and-safeguards-for-facial-recognition/). | ||
* | ||
* No image will be stored. Only the extracted face feature(s) will be stored on server. The faceId is an identifier of the face feature and will be used in \"Identify\", \"Verify\", and \"Find Similar\". The stored face features will expire and be deleted at the time specified by faceIdTimeToLive after the original detection call. | ||
|
@@ -26,10 +26,8 @@ namespace Face; | |
* The minimum detectable face size is 36x36 pixels in an image no larger than 1920x1080 pixels. Images with dimensions higher than 1920x1080 pixels will need a proportionally larger minimum face size. | ||
* Up to 100 faces can be returned for an image. Faces are ranked by face rectangle size from large to small. | ||
* For optimal results when querying \"Identify\", \"Verify\", and \"Find Similar\" ('returnFaceId' is true), please use faces that are: frontal, clear, and with a minimum size of 200x200 pixels (100 pixels between eyes). | ||
* Different 'detectionModel' values can be provided. To use and compare different detection models, please refer to https://learn.microsoft.com/azure/ai-services/computer-vision/how-to/specify-detection-model | ||
* 'detection_02': Face attributes and landmarks are disabled if you choose this detection model. | ||
* 'detection_03': Face attributes (mask, blur, and headPose) and landmarks are supported if you choose this detection model. | ||
* Different 'recognitionModel' values are provided. If follow-up operations like \"Verify\", \"Identify\", \"Find Similar\" are needed, please specify the recognition model with 'recognitionModel' parameter. The default value for 'recognitionModel' is 'recognition_01', if latest model needed, please explicitly specify the model you need in this parameter. Once specified, the detected faceIds will be associated with the specified recognition model. More details, please refer to https://learn.microsoft.com/azure/ai-services/computer-vision/how-to/specify-recognition-model. | ||
* Different 'detectionModel' values can be provided. The availability of landmarks and supported attributes depends on the detection model specified. To use and compare different detection models, please refer to [here](https://learn.microsoft.com/azure/ai-services/computer-vision/how-to/specify-detection-model). | ||
* Different 'recognitionModel' values are provided. If follow-up operations like \"Verify\", \"Identify\", \"Find Similar\" are needed, please specify the recognition model with 'recognitionModel' parameter. The default value for 'recognitionModel' is 'recognition_01', if latest model needed, please explicitly specify the model you need in this parameter. Once specified, the detected faceIds will be associated with the specified recognition model. More details, please refer to [here](https://learn.microsoft.com/azure/ai-services/computer-vision/how-to/specify-recognition-model). | ||
""") | ||
@returnsDoc("A successful call returns an array of face entries ranked by face rectangle size in descending order. An empty response indicates no faces detected.") | ||
@post | ||
|
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
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
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
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
48 changes: 48 additions & 0 deletions
48
specification/ai/OpenAI.Assistants/examples/2024-07-01-preview/cancel_run.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 @@ | ||
{ | ||
"title": "Cancels a run that is `in_progress`.\n", | ||
"parameters": { | ||
"endpoint": "{endpoint}", | ||
"api-version": "2024-07-01-preview", | ||
"threadId": "thread_abc123", | ||
"runId": "run_abc123" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "run_abc123", | ||
"object": "thread.run", | ||
"created_at": 1699076126, | ||
"assistant_id": "asst_abc123", | ||
"thread_id": "thread_abc123", | ||
"status": "cancelling", | ||
"started_at": 1699076126, | ||
"expires_at": 1699076726, | ||
"cancelled_at": null, | ||
"failed_at": null, | ||
"completed_at": null, | ||
"last_error": null, | ||
"model": "gpt-4-turbo", | ||
"instructions": "You summarize books.", | ||
"tools": [ | ||
{ | ||
"type": "file_search" | ||
} | ||
], | ||
"tool_choice": "auto", | ||
"truncation_strategy": { | ||
"type": "auto", | ||
"last_messages": null | ||
}, | ||
"max_completion_tokens": 1000, | ||
"max_prompt_tokens": 1000, | ||
"incomplete_details": null, | ||
"metadata": {}, | ||
"usage": null, | ||
"temperature": 1.0, | ||
"top_p": 1.0, | ||
"response_format": "auto" | ||
} | ||
} | ||
}, | ||
"operationId": "CancelRun" | ||
} |
28 changes: 28 additions & 0 deletions
28
...tion/ai/OpenAI.Assistants/examples/2024-07-01-preview/cancel_vector_store_file_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,28 @@ | ||
{ | ||
"title": "Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible.", | ||
"parameters": { | ||
"endpoint": "{endpoint}", | ||
"api-version": "2024-07-01-preview", | ||
"vectorStoreId": "vs_abc123", | ||
"batchId": "vsfb_abc123" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "vsfb_abc123", | ||
"object": "vector_store.files_batch", | ||
"created_at": 1699061776, | ||
"vector_store_id": "vs_abc123", | ||
"status": "cancelling", | ||
"file_counts": { | ||
"in_progress": 12, | ||
"completed": 3, | ||
"failed": 0, | ||
"cancelled": 0, | ||
"total": 15 | ||
} | ||
} | ||
} | ||
}, | ||
"operationId": "CancelVectorStoreFileBatch" | ||
} |
Oops, something went wrong.