你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Model - Get Hierarchical Entity Child

获取有关应用程序版本中分层实体子模型中包含的子模型的信息。

GET {Endpoint}/luis/api/v2.0/apps/{appId}/versions/{versionId}/hierarchicalentities/{hEntityId}/children/{hChildId}

URI 参数

名称 必需 类型 说明
appId
path True

string (uuid)

应用程序 ID。

Endpoint
path True

string

支持的认知服务终结点(协议和主机名,例如:https://westus.api.cognitive.microsoft.com)。

hChildId
path True

string (uuid)

分层实体提取程序子 ID。

hEntityId
path True

string (uuid)

分层实体提取程序 ID。

versionId
path True

string

版本 ID。

请求头

名称 必需 类型 说明
Ocp-Apim-Subscription-Key True

string

响应

名称 类型 说明
200 OK

HierarchicalChildEntity

分层实体子模型信息。

Other Status Codes

ErrorResponse

错误响应。

安全性

Ocp-Apim-Subscription-Key

类型: apiKey
在: header

示例

Successful Get Hierarchical Entity Child Info request

示例请求

GET {Endpoint}/luis/api/v2.0/apps/363187f1-c573-46b3-bc4c-ae01d686e68e/versions/{versionId}/hierarchicalentities/fe559c31-9778-42ea-ba45-94e0bd7cf767/children/fe559c31-9778-42ea-ed45-94e0bd7cf767

示例响应

{
  "id": "ef278a6c-d94f-4d20-a602-cf53d0acf0f5",
  "name": "From",
  "typeId": 6,
  "readableType": "Hierarchical Child Entity Extractor"
}

定义

名称 说明
ErrorResponse

调用 API 上的作时出现错误响应。

HierarchicalChildEntity

分层子实体。

ReadableType

实体类型的全名。

ErrorResponse

调用 API 上的作时出现错误响应。

名称 类型 说明
errorType

string

HierarchicalChildEntity

分层子实体。

名称 类型 说明
id

string (uuid)

属于子实体的 ID (GUID)。

name

string

子实体的名称。

readableType

ReadableType

实体类型的全名。

typeId

integer

实体模型的类型 ID。

ReadableType

实体类型的全名。

说明
Entity Extractor
Hierarchical Entity Extractor
Hierarchical Child Entity Extractor
Composite Entity Extractor
List Entity Extractor
Prebuilt Entity Extractor
Intent Classifier
Pattern.Any Entity Extractor
Closed List Entity Extractor
Regex Entity Extractor