为常用使用方案添加预生成模型Add prebuilt models for common usage scenarios

LUIS 提供了一组预生成模型,用以快速添加常用的对话式用户方案。LUIS includes a set of prebuilt models for quickly adding common, conversational user scenarios. 这是一种快速简单地向对话式客户端应用程序添加功能的方法,不需要为这些功能设计模型。This is a quick and easy way to add abilities to your conversational client application without having to design the models for those abilities.

添加预生成域Add a prebuilt domain

  1. 登录到 LUIS 门户,选择“订阅”和“创作资源”以查看分配给该创作资源的应用。Sign in to the LUIS portal, and select your Subscription and Authoring resource to see the apps assigned to that authoring resource.

  2. 在“我的应用”页上选择应用名称以打开应用。Open your app by selecting its name on My Apps page.

  3. 在左侧工具栏中选择“预生成域”。Select Prebuilt Domains from the left toolbar.

  4. 找到要添加到应用的域,然后选择“添加域”按钮。Find the domain you want added to the app then select Add domain button.

    添加“日历”预生成域Add Calendar prebuilt domain

添加预生成意向Add a prebuilt intent

  1. 登录到 LUIS 门户,选择“订阅”和“创作资源”以查看分配给该创作资源的应用。Sign in to the LUIS portal, and select your Subscription and Authoring resource to see the apps assigned to that authoring resource.

  2. 在“我的应用”页上选择应用名称以打开应用。Open your app by selecting its name on My Apps page.

  3. 在“意向”页面上,从意向列表上方的工具栏中选择“添加预生成域意向” 。On the Intents page, select Add prebuilt domain intent from the toolbar above the intents list.

  4. 从弹出的对话框中选择一个意向。Select an intent from the pop-up dialog.

    添加预生成意向Add prebuilt intent

  5. 选择“完成”按钮。****Select the Done button.

添加预构建实体Add a prebuilt entity

  1. 登录到 LUIS 门户,选择“订阅”和“创作资源”以查看分配给该创作资源的应用。Sign in to the LUIS portal, and select your Subscription and Authoring resource to see the apps assigned to that authoring resource.

  2. 在“我的应用”页上选择应用名称以打开应用。Open your app by selecting its name on My Apps page.

  3. 在左侧选择“实体”。Select Entities in the left side.

  4. 在“实体”页上,选择“添加预生成实体” 。On the Entities page, select Add prebuilt entity.

  5. 在“添加预生成实体”对话框中,选择预生成实体。In Add prebuilt entities dialog box, select the prebuilt entity.

    “添加预构建实体”对话框Add prebuilt entity dialog box

  6. 选择“完成” 。Select Done. 添加实体后,你不需要训练应用。After the entity is added, you do not need to train the app.

添加预生成域实体Add a prebuilt domain entity

  1. 登录到 LUIS 门户,选择“订阅”和“创作资源”以查看分配给该创作资源的应用。Sign in to the LUIS portal, and select your Subscription and Authoring resource to see the apps assigned to that authoring resource.

  2. 在“我的应用”页上选择应用名称以打开应用。Open your app by selecting its name on My Apps page.

  3. 在左侧选择“实体”。Select Entities in the left side.

  4. 在“实体”页上,选择“添加预生成域实体” 。On the Entities page, select Add prebuilt domain entity.

  5. 在“添加预生成域模型”对话框中,选择“预生成域实体”。In Add prebuilt domain models dialog box, select the prebuilt domain entity.

  6. 选择“完成” 。Select Done. 添加实体后,你不需要训练应用。After the entity is added, you do not need to train the app.

发布并查看预测终结点的预生成模型Publish to view prebuilt model from prediction endpoint

查看预生成模型的值的最简单方法是从已发布的终结点进行查询。The easiest way to view the value of a prebuilt model is to query from the published endpoint.

包含预生成实体令牌的实体Entities containing a prebuilt entity token

如果你的机器学习实体需要预生成实体的必需功能,请向机器学习实体添加一个子实体,然后添加预生成实体的“必需”功能。If you have a machine-learning entity that needs a required feature of a prebuilt entity, add a subentity to the machine-learning entity, then add a required feature of a prebuilt entity.

后续步骤Next steps