Model - Add Explicit List Item
애플리케이션 버전에서 Pattern.Any 엔터티의 명시적 목록에 새 예외를 추가합니다.
POST {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/patternanyentities/{entityId}/explicitlist
URI 매개 변수
| Name | In(다음 안에) | 필수 | 형식 | Description |
|---|---|---|---|---|
|
app
|
path | True |
string (uuid) |
애플리케이션 ID입니다. |
|
Endpoint
|
path | True |
string |
지원되는 Cognitive Services 엔드포인트(프로토콜 및 호스트 이름( 예: https://westus.api.cognitive.microsoft.com). |
|
entity
|
path | True |
string (uuid) |
Pattern.Any 엔터티 추출기 ID입니다. |
|
version
|
path | True |
string |
버전 ID입니다. |
요청 헤더
| Name | 필수 | 형식 | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | True |
string |
요청 본문
| Name | 형식 | Description |
|---|---|---|
| explicitListItem |
string |
명시적 목록 항목입니다. |
응답
| Name | 형식 | Description |
|---|---|---|
| 201 Created |
integer |
만든 명시적 목록 항목의 ID입니다. |
| Other Status Codes |
오류 응답입니다. |
보안
Ocp-Apim-Subscription-Key
형식:
apiKey
In(다음 안에):
header
예제
Successful Create Custom Prebuilt Entity Role request
샘플 요청
POST {Endpoint}/luis/api/v2.0/apps/86226c53-b7a6-416f-876b-226b2b5ab07b/versions/0.1/patternanyentities/fc821c4e-a2f8-4074-9410-7271b38a692d/explicitlist
{
"explicitListItem": "item 1"
}
샘플 응답
Location: https://westus.api.cognitive.microsoft.com/luis/api/v2.0/apps/86226c53-b7a6-416f-876b-226b2b5ab07b/versions/0.1/patternanyentities/fc821c4e-a2f8-4074-9410-7271b38a692d/explicitlist/8645
8645
정의
| Name | Description |
|---|---|
|
Error |
API에서 작업을 호출할 때 오류 응답입니다. |
|
Explicit |
명시적(예외) 목록 항목을 만들기 위한 개체 모델입니다. |
ErrorResponse
API에서 작업을 호출할 때 오류 응답입니다.
| Name | 형식 | Description |
|---|---|---|
| errorType |
string |
ExplicitListItemCreateObject
명시적(예외) 목록 항목을 만들기 위한 개체 모델입니다.
| Name | 형식 | Description |
|---|---|---|
| explicitListItem |
string |
명시적 목록 항목입니다. |