将我的Web应用程序机器人与Luis连接时出现问题 [英] Problem in connecting my web app bot with Luis

查看:66
本文介绍了将我的Web应用程序机器人与Luis连接时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我已经开发了在我的Web应用程序bot中使用Luis和Qnamaker的代码,但目前不起作用,错误如下: 

i have developed code for using Luis and Qnamaker in my web app bot , but at the moment it does not work , the error is the following : 

聊天

无法发送重试
抱歉,我的机器人代码有问题.

Chat
ciao
couldn't send retry
Sorry, my bot code is having an issue.

我已将Luis附有教程中提到的密钥:https://docs.microsoft.com/zh-cn/azure/cognitive-services/luis/luis-nodejs-tutorial-build-bot -framework-sample,但不起作用,语言为c# 

i have attached Luis with the keys that are mentioned in the tutorial : https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-nodejs-tutorial-build-bot-framework-sample , but it does not work, the language is c# 

你能帮我吗?

推荐答案

对不起,

,但是当bot引发异常时,您共享的错误看起来像是一个错误.实际上,它不会给出您在调用LUIS时遇到的错误.

but the error you shared looks like an error when the bot throws exception. It actually does not give the error that you are getting while calling the LUIS.

我可以建议

1)使用Bot Emulator在本地运行您的机器人,然后使用VS对其进行调试?这将帮助您突出显示引发异常的确切位置.

1) Running your bot locally using Bot Emulator and then debugging it using VS? This will help you highlight the exact place where the exception is thrown.

2)如果可能,请与我们分享代码?

2) If possible share the code with us?


这篇关于将我的Web应用程序机器人与Luis连接时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆