botconnector

Login user with MS Teams bot

心不动则不痛 提交于 2019-12-08 12:00:01
问题 I'm working on a bot using the MS Botframework and trying to use a signin card with MS Teams. I can get the signin card to show up in Teams as expected, but clicking the sign in button doesn't do anything. Any ideas what is going on here? I can't find much documentation about how to sign in a user for a session with the bot. I'm using the Nodejs botbuilder library. My code: bot.dialog('/signin', [ function (session) { var msg = new builder.Message(session) .attachments([ new builder

Botconnector not working for a self signed nodejs bot

Deadly 提交于 2019-12-06 08:54:11
I created a simple bot. Self signed the ssl cert. Apparently that does not work for bot connector . I get following error form the bot, after several seconds. { "error": { "code": "BadCertificate", "message": "An error occurred while sending the request. The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. The remote certificate is invalid according to the validation procedure. ", "statusCode": 500 } } Does that mean self signed certificates are out of question for the bot? Any work around this problem? In short, yes, self-signed certs

Creating an API for LUIS.AI or using .JSON files in order to train the bot for non-technical users

青春壹個敷衍的年華 提交于 2019-12-06 02:47:13
问题 I have a bot that uses .NET, MS Bot Framework and LUIS.ai for its smarts. All's fine, except that I need to provide a way for non-technical users to train the bot and teach it new things , i.e. new intents in LUIS.ai. In other words, suppose that right now the bot can answer messages like "hey bot where can i get coffee" and "where can I buy some clothes" with simple phrases containing directions. Non-technical users need to be able to train it to answer "where can I get some food" too. Here

Creating an API for LUIS.AI or using .JSON files in order to train the bot for non-technical users

淺唱寂寞╮ 提交于 2019-12-04 07:43:55
I have a bot that uses .NET, MS Bot Framework and LUIS.ai for its smarts. All's fine, except that I need to provide a way for non-technical users to train the bot and teach it new things , i.e. new intents in LUIS.ai. In other words, suppose that right now the bot can answer messages like "hey bot where can i get coffee" and "where can I buy some clothes" with simple phrases containing directions. Non-technical users need to be able to train it to answer "where can I get some food" too. Here's what I have considered: Continuing to use LUIS.ai. Doesn't work because LUIS.ai doesn't have an API.

Auto testing for Microsoft Bot Framework [closed]

限于喜欢 提交于 2019-11-30 20:27:33
I'm working now on my first bot with Microsoft Bot Framework, with ASP.NET. After manually testing with the bot emulator, I'm looking for the best method to create automatic testing for the bot. Considering two problems: What is the best tool to automate such tests? What is the best method to test a dialog that can return different answers to the same input? One alternative is doing functional tests using DirectLine. The caveat is that the bot needs to be hosted but it's powerfull. Check out the AzureBot tests project to see how this works. Another alternative, is doing what the BotFramework