共用方式為

LUIS 应用的存在时间预生成实体

Important

语言理解智能服务(LUIS)将于 2026 年 3 月 31 日完全停用。 LUIS 资源创建不可用。 从 2025 年 10 月 31 日开始,LUIS 门户将不再可用。 建议将 LUIS 应用程序迁移对话语言理解,以便从持续的产品支持和多语言功能中受益。

预构建存在时间实体同时采用数字和天、周、月以及年捕获存在时间值。 此实体已定型,因此不需要将包含存在时间的陈述示例添加到应用程序意向中。 Age entity is supported in many cultures.

存在时间类型

Age is managed from the Recognizers-text GitHub repository

预构建存在时间实体的解析

以下 JSON 的 verbose 参数设置为 false

"entities": {
    "age": [
        {
            "number": 90,
            "unit": "Day"
        }
    ]
}

Next steps

Learn about the currency, datetimeV2, and dimension entities.