路易斯没有向机器人返回相同的细节
Luis not returning the same details to bot
我正在尝试使用 Azure Language Understanding 创建一个机器人,在我尝试让实体识别正常工作之前,它进展顺利。
最初我尝试制作许多分层实体,希望 Luis 最终能够将它们挑出来,但环顾四周后,许多示例都指向使用较少数量的实体。
而且 Luis 似乎更擅长根据位置而不是文本来挑选话语中的单词,所以我现在有 ~4 个意图和 ~ 实体。每个大约有 20 个话语。
当我向 API 提交新话语时,它通常只有 returns 2 个意图中的 1 个,没有实体。曾经.
但是当我查看 Luis.ai 仪表板时,它显示了不同的意图分数,并且实际上将单词标记为实体。
我正在用 webClient.DownloadString("https://australiaeast.api.cognitive.microsoft.com/...")
调用 API 并将 JSON 反序列化为 Microsoft.Bot.Builder.Luis.Models.LuisResult
我设置有误吗?
我需要再训练 Luis 吗?
我叫端点错了吗?
我应该采取什么步骤来尝试返回实体?
你发布 LUIS 应用程序的区域对应于你在创建 Azure LUIS 终结点密钥时在 Azure 门户中指定的区域或位置。要发布到 Australian regions, you create LUIS apps at https://au.luis.ai only. If you attempt to publish anywhere else using a key in the Australian region, LUIS displays a warning message. Instead, use https://au.luis.ai. LUIS apps created at https://au.luis.ai 不会自动迁移到其他区域。您需要导出然后导入 LUIS 应用程序才能迁移它。
LUIS 使用主动学习来预测话语。看起来您对区分 label entities and the LUIS prediction (aligned intent). You can label the entities and train them to improve the performance of the app as mentioned here 几乎没有混淆。
LUIS 通过 "Suggest" 功能引导开发人员完成改进过程,suggests utterances to label from the utterances sent to the http endpoint of the application. These utterances are suggested per intent or entity depending on which models the developer is willing to improve. You can decide which intents or entities require improvement by either looking at the dashboard in the LUIS portal that tracks performance of each model through interactive testing or through the batch testing 衡量模型在测试集或两者上的质量。您应该继续迭代,直到对模型的质量感到满意为止。希望这对您有所帮助!!
每次更改模型并训练它们后,您都需要发布您的 LUIS 应用程序模型。
当您训练模型时,更新后的模型仅驻留在门户内,无法供全世界访问。发布模型,使更改可在已发布的插槽中访问。
检查 LUIS 在已发布模型中是否也按预期响应的一种方法是利用 LUIS 中的 Test
功能。
单击 Compare with published
将打开另一个 blade,它显示已发布模型中话语的响应。 (可以 select 用于生产以及暂存槽)。
我正在尝试使用 Azure Language Understanding 创建一个机器人,在我尝试让实体识别正常工作之前,它进展顺利。
最初我尝试制作许多分层实体,希望 Luis 最终能够将它们挑出来,但环顾四周后,许多示例都指向使用较少数量的实体。
而且 Luis 似乎更擅长根据位置而不是文本来挑选话语中的单词,所以我现在有 ~4 个意图和 ~ 实体。每个大约有 20 个话语。
当我向 API 提交新话语时,它通常只有 returns 2 个意图中的 1 个,没有实体。曾经.
但是当我查看 Luis.ai 仪表板时,它显示了不同的意图分数,并且实际上将单词标记为实体。
我正在用 webClient.DownloadString("https://australiaeast.api.cognitive.microsoft.com/...")
调用 API 并将 JSON 反序列化为 Microsoft.Bot.Builder.Luis.Models.LuisResult
我设置有误吗?
我需要再训练 Luis 吗?
我叫端点错了吗?
我应该采取什么步骤来尝试返回实体?
你发布 LUIS 应用程序的区域对应于你在创建 Azure LUIS 终结点密钥时在 Azure 门户中指定的区域或位置。要发布到 Australian regions, you create LUIS apps at https://au.luis.ai only. If you attempt to publish anywhere else using a key in the Australian region, LUIS displays a warning message. Instead, use https://au.luis.ai. LUIS apps created at https://au.luis.ai 不会自动迁移到其他区域。您需要导出然后导入 LUIS 应用程序才能迁移它。
LUIS 使用主动学习来预测话语。看起来您对区分 label entities and the LUIS prediction (aligned intent). You can label the entities and train them to improve the performance of the app as mentioned here 几乎没有混淆。
LUIS 通过 "Suggest" 功能引导开发人员完成改进过程,suggests utterances to label from the utterances sent to the http endpoint of the application. These utterances are suggested per intent or entity depending on which models the developer is willing to improve. You can decide which intents or entities require improvement by either looking at the dashboard in the LUIS portal that tracks performance of each model through interactive testing or through the batch testing 衡量模型在测试集或两者上的质量。您应该继续迭代,直到对模型的质量感到满意为止。希望这对您有所帮助!!
每次更改模型并训练它们后,您都需要发布您的 LUIS 应用程序模型。
当您训练模型时,更新后的模型仅驻留在门户内,无法供全世界访问。发布模型,使更改可在已发布的插槽中访问。
检查 LUIS 在已发布模型中是否也按预期响应的一种方法是利用 LUIS 中的 Test
功能。
单击 Compare with published
将打开另一个 blade,它显示已发布模型中话语的响应。 (可以 select 用于生产以及暂存槽)。