Important
语言理解智能服务(LUIS)将于 2026 年 3 月 31 日完全停用。 LUIS 资源创建不可用。 从 2025 年 10 月 31 日开始,LUIS 门户将不再可用。 建议将 LUIS 应用程序迁移到对话语言理解,以便从持续的产品支持和多语言功能中受益。
预构建 personName 实体会检测人的姓名。 此实体已定型,因此不需要将包含 personName 的陈述示例添加到应用程序意向中。 personName entity is supported in English and Chinese cultures.
解析 personName 实体
查询返回以下实体对象:
Is Jill Jones in Cairo?
以下 JSON 的 verbose
参数设置为 false
:
"entities": {
"personName": [
"Jill Jones"
]
}
以下 JSON 的 verbose
参数设置为 true
:
"entities": {
"personName": [
"Jill Jones"
],
"$instance": {
"personName": [
{
"type": "builtin.personName",
"text": "Jill Jones",
"startIndex": 3,
"length": 10,
"modelTypeId": 2,
"modelType": "Prebuilt Entity Extractor",
"recognitionSources": [
"model"
]
}
],
}
}
The following example shows the resolution of the builtin.personName entity.
"entities": [
{
"entity": "Jill Jones",
"type": "builtin.personName",
"startIndex": 3,
"endIndex": 12
}
]
Next steps
Learn about the email, number, and ordinal entities.