【问题标题】:LUIS and botframework not working: Response status code does not indicate success: 404 (Not Found)LUIS 和 botframework 不工作:响应状态代码不表示成功:404(未找到)
【发布时间】:2020-07-29 17:10:04
【问题描述】:

我正在按照说明运行示例https://github.com/microsoft/BotBuilder-Samples/tree/master/samples/csharp_dotnetcore/13.core-bot。但是当我在 Bot Emulator 中测试机器人时,我得到了TurnError"Response status code does not indicate success: 404 (Not Found)." 我该如何解决这个问题?

以下是我发送“Hello”后在 Visual Studio 中显示的调试消息:https://gist.github.com/wendingp/bebf9caa7643c389a08c7cf67f0a6fcd。 (欢迎卡效果很好,所以我没有包含这些信息)

【问题讨论】:

  • 您能否验证您是否提供了正确的 LUIS 凭据以及机器人 ID 和密码?您在 Visual Studio 上遇到任何错误吗?
  • @ranusharao 机器人 ID 和密码是什么?我已经更新了问题中的消息
  • 它的 Microsoft 应用 ID 和密码。您为 LuisAPIHostName 提供了什么值?它的格式应为“.api.cognitive.microsoft.com”。我测试了我的示例,它按预期工作。
  • @ranusharao 我添加了 Microsoft 应用程序 ID 和密码,但仍然相同。这是 westus.api.cognitive.microsoft.com
  • @ranusharao 我终于修好了,自己回答了。

标签: botframework azure-language-understanding luis.ai


【解决方案1】:

它应该发布到生产槽而不是暂存槽

【讨论】:

  • 好的,谢谢!
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2017-12-03
  • 2016-04-22
  • 2021-11-02
  • 1970-01-01
相关资源
最近更新 更多