共用方式為

LUIS 模型和密钥的限制

Important

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

LUIS 有几个限制区。 The first is the model limit, which controls intents, entities, and features in LUIS. The second area is quota limits based on resource type. A third area of limits is the keyboard combination for controlling the LUIS website. A fourth area is the region mapping between the LUIS authoring website and the LUIS endpoint APIs.

Model limits

If your app exceeds the LUIS model limits, consider using a LUIS dispatch app or using a LUIS container.

Area Limit
App name *默认最大字符长度
Applications 每个 Azure 创作资源 500 个应用程序
Batch testing 10 个数据集,每个数据集 1000 条话语
Explicit list 每个应用程序 50 个实体
External entities no limits
Intents 500 per application: 499 custom intents, and the required None intent.
Dispatch-based application has corresponding 500 dispatch sources.
List entities 父级:50 个,子级:20,000 项。 规范名称为 *默认最大字符长度。 同义词值没有长度限制。
机器学习实体 + 角色
composite,
simple,
entity role
限制为 100 个父实体或 330 个实体,以用户先达到的限制为准。 就此限制来说,一个角色计为一个实体。 例如,一个复合实体包含一个简单实体,并且有 2 个角色:1 个复合实体 + 1 个简单实体 + 2 个角色 = 4 个实体(最多 330 个实体)。
子实体最多可以嵌套 5 层,每层最多可以有 20 个子级。
作为特征的模型 可用作特定模型的特征的模型的最大数量为 10 个模型。 可用作特定模型的特征的短语列表的最大数量为 10 个短语列表。
预览 - 动态列表实体 2 个列表,其中的每个查询预测终结点请求约 1k 个实体
Patterns 每个应用程序 500 个模式。
模式的最大长度为 400 个字符。
每个模式 3 个 Pattern.any 实体
模式中最多 2 个嵌套可选文本
Pattern.any 每个应用程序 100 个,每个模式 3 个 pattern.any 实体
Phrase list 500 个短语列表。 10 个全局短语列表(由于存在作为特征的模型的限制)。 不可互换的短语列表最多有 5,000 个短语。 可互换的短语列表最多有 50,000 个短语。 每个应用程序的最大短语总数为 500,000 个短语。
Prebuilt entities no limit
正则表达式实体 20 entities
每个正则表达式实体模式最多 500 个字符
Roles 每个应用程序 300 个角色。 每个实体 10 个角色
Utterance 500 characters

如果文本长度超过此字符限制,则需要在输入 LUIS 之前对话语进行分段,并且每个分段都会收到单独的意向响应。 你可以处理一些明显的中断,比如标点符号和言语中的长停顿。
Utterance examples 每个应用程序 15,000 条 - 对每个意向的话语数量没有限制

If you need to train the application with more examples, use a dispatch model approach. 可以使用一个或多个意向定型单个 LUIS 应用(称为父调度应用的子应用),然后定型调度应用,该应用从每个 LUIS 子应用的言语中采样,以将预测请求定向到正确的子应用。
Versions 每个应用程序 100 个版本
Version name 128 characters

*默认最大字符长度为 50 个字符。

Name uniqueness

与相同级别的其他对象进行比较时,对象名称必须独一无二。

Objects Restrictions
Intent, entity 所有意向和实体名称在一个应用版本中必须独一无二。
ML 实体组件 对于同一级别的组件,所有机器学习实体组件(子实体)都必须在该实体内独一无二。
Features 所有已命名特征(例如短语列表)在一个应用版本中必须独一无二。
Entity roles 当实体或实体组件上的所有角色处于同一实体级别(父级、子级、孙级等)时,它们必须独一无二。

Object naming

请勿在下列名称中使用下列字符。

Object Exclude characters
意向、实体和角色名称 :$&%*()+?~
Version name \/:?&=*+()%@$~!#

资源使用情况和限制

语言理解有单独的资源,一种用于创作,一种用于查询预测终结点。 若要详细了解密钥类型之间的差异,请参阅 LUIS 中的创作密钥和查询预测终结点密钥

创作资源限制

Use the kind, LUIS.Authoring, when filtering resources in the Azure portal. LUIS 的限制是每个 Azure 创作资源 500 个应用程序。

Authoring resource Authoring TPS
F0 - 免费层 1 百万/月,5/秒
  • TPS = 每秒事务数

详细了解定价。

查询预测资源限制

Use the kind, LUIS, when filtering resources in the Azure portal.The LUIS query prediction endpoint resource, used on the runtime, is only valid for endpoint queries.

查询预测资源 Query TPS
F0 - 免费层 1 万/月,5/秒
S0 - 标准层 50/second

Sentiment analysis

提供了情绪分析集成(其中提供情绪信息),无需其他 Azure 资源。

详细了解定价。

Keyboard controls

Keyboard input Description
Control+E 切换话语列表中的令牌和实体

网站登录时间段

Your sign-in access is for 60 minutes. 在此时间段后,会出现此错误。 需重新登录。