Custom Models - Compose
구성 요청에는 모델 ID의 목록이 포함됩니다. 레이블 모델 또는 작성된 모델 중 하나를 통해 모든 모델이 학습되었는지 확인합니다. 모델 통합의 제한 유효성을 검사합니다.
POST {endpoint}/formrecognizer/v2.1/custom/models/compose
URI 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
endpoint
|
path | True |
string |
지원되는 Cognitive Services 엔드포인트(프로토콜 및 호스트 이름( 예: https://westus2.api.cognitive.microsoft.com). |
요청 헤더
Name | 필수 | 형식 | Description |
---|---|---|---|
Ocp-Apim-Subscription-Key | True |
string |
요청 본문
Name | 필수 | 형식 | Description |
---|---|---|---|
modelIds | True |
string[] |
작성할 모델 ID 목록입니다. |
modelName |
string |
선택적 사용자 정의 모델 이름(최대 길이: 1024). |
응답
Name | 형식 | Description |
---|---|---|
201 Created |
요청이 성공적으로 큐에 대기됩니다. Media Types: "application/json", "text/json" 헤더 Location: string |
|
Other Status Codes |
오류에 대한 추가 세부 정보를 포함하는 성공하지 못한 응답과 함께 제공되는 응답 엔터티입니다. Media Types: "application/json", "text/json" |
보안
Ocp-Apim-Subscription-Key
형식:
apiKey
In(다음 안에):
header
예제
Compose custom models
샘플 요청
POST {endpoint}/formrecognizer/v2.1/custom/models/compose
{
"modelIds": [
"4afb20d6-3ed0-4cde-ba40-dbd6207268dd",
"6f841356-aa32-42c9-a739-2182c47b79c9"
]
}
샘플 응답
Location: {endpoint}/formrecognizer/v2.1/custom/models/f973e3c1-1148-43bb-bea8-49d0603ab3a8
정의
Name | Description |
---|---|
Compose |
작성 작업에 대한 계약을 요청합니다. |
Error |
|
Error |
ComposeRequest
작성 작업에 대한 계약을 요청합니다.
Name | 형식 | Description |
---|---|---|
modelIds |
string[] |
작성할 모델 ID 목록입니다. |
modelName |
string |
선택적 사용자 정의 모델 이름(최대 길이: 1024). |
ErrorInformation
Name | 형식 | Description |
---|---|---|
code |
string |
|
message |
string |
ErrorResponse
Name | 형식 | Description |
---|---|---|
error |