botframework

Skype chatbot not updating to latest publish

南笙酒味 提交于 2019-12-20 05:47:23
问题 I'm having trouble with microsoft chatbot on skype. The chatbot on skype not updating to latest bot I published from the visual studio. Here some screenshot of that. Emulator Version (The right one, the test chatbot from the developer portal is the same response as this) The skype version (The response is from my old version of chatbot script) This is the ngrok inspection (all 200, In other word it's getting to the server, though it's wrong) The AppID is e1425cb5-f16e-4c64-80d7-82b29d742268

The second ConversationUpdate event will follow at the back of user first input?

放肆的年华 提交于 2019-12-20 05:44:13
问题 I test my bot at Azure Portal(Bot Channels Registration/BOT MANAGEMENT/Test in Web Chat). The second ConversationUpdate event will follow at the back of user first input, like below, Azure's Webchat Step like below, click Startover bot get first ConversationUpdate, memberAdd bot user input text bot get user input text bot get second ConversationUpdate, memberAdd user But emulator working fine, 2 ConversationUpdate events and wait for user input. botframework-emulator Step like below, click

How to update an adaptive card which is already sent to user from BOT?

回眸只為那壹抹淺笑 提交于 2019-12-20 04:54:02
问题 I have already sent the card with capturing the details and with buttons.After clicking on submit from task module which will save details through http API here the activity type is Invoke. Now i have to update the existing adaptive Card. I have the code to update the message, but how to update the card or resend the card again. connector = new ConnectorClient(new Uri(activity.ServiceUrl)); reply = activity.CreateReply($"You sent {activity.Text} which was {activity.Text.Length} characters");

How to update an adaptive card which is already sent to user from BOT?

*爱你&永不变心* 提交于 2019-12-20 04:53:05
问题 I have already sent the card with capturing the details and with buttons.After clicking on submit from task module which will save details through http API here the activity type is Invoke. Now i have to update the existing adaptive Card. I have the code to update the message, but how to update the card or resend the card again. connector = new ConnectorClient(new Uri(activity.ServiceUrl)); reply = activity.CreateReply($"You sent {activity.Text} which was {activity.Text.Length} characters");

How do I get the locale in conversationUpdate activity?

你离开我真会死。 提交于 2019-12-20 04:22:38
问题 I would like to implement a welcome message for every members added based on their locale. The code is as following: if (message.Type == ActivityTypes.ConversationUpdate) { // some code... if (message.Locale == "en-us") { var reply = message.CreateReply("Hello world"); } else { // some code... } // some code... } Strangely, the locale is null even though I've set the locale both when I test it using bot emulator and BotFramework-WebChat. The locale property is working fine when messages is

Show data in chat emulator bot framework

做~自己de王妃 提交于 2019-12-20 04:14:24
问题 I need to display lot of data in my chat. I want to display it in tabular form in chat emulator of bot framework. For eg, Ordered Food - Pizza Quantity - 1 Time - 1 pm Ordered Food -Burger Quantity - 2 Time - 3pm I want to display it in tabular way. 回答1: As explained in the docs, the default text format for the messages is markdown. Markdown allows a nice balance of the bot being able to express what they want and for the each channel to render as accurately as they can. The AzureBot is

Azure Bot code seems to be erased

别说谁变了你拦得住时间么 提交于 2019-12-20 04:10:53
问题 I'm working on a bot (in testing) using the Azure Bot framework and the chat embed code. I had started from the LUIS framework template and embedded it into a section of my website several days ago. It was working as expected, but now all of the files/code for it (using the Azure editor) seem to be erased and the chat embed throws a 502. This looks like it may be similar to this: How to recover a bot made with Azure Bot Service (Botframework)? But that did not have an answer that I could work

LUIS / Bot Framework multiple dialog, move intent handling to another dialog

余生颓废 提交于 2019-12-20 03:19:14
问题 my goal is to implement both dialogs and LUIS into a Microsoft Bot Framework application using their C# SDK. I tried to follow this thread https://github.com/Microsoft/BotBuilder/issues/127 and their related posts (referenced at the end) but couldn't get my code working in practice. This is my RootDialog class. Note that I created a method which handles the "GetProduct" intent, when it gets this intent, it should forward the LuisResult to ProductsDialog using context.Forward() method, but

How to forward result of Prompt.Choice() to current dialog?

强颜欢笑 提交于 2019-12-20 02:59:06
问题 I'm using PromptDialog.Choice() to present different options to my users. The number of attempts is set to 0, so if they type in anything that is not a valid option, there won't be any retries. In this case I would like to pass the entered text to the current dialog who has presented to prompt and let it handle the message. What is the correct way of doing this? I tried creating a new activity in the resume-handler of the prompt dialog and directly call the MessageReceivedAsync() method but

Bot framework emulator not working

给你一囗甜甜゛ 提交于 2019-12-20 02:58:17
问题 I started learning bot framework last week, and i decided to start off with the default bot project that returns your input and its number of character. But unfortunately, I couldn't test the bot application in bot emulator. It can't just send my input. It displays "couldn't send" whenever I forward an input. My endpoint url which is http://localhost:3979/api/messages/ is correctly written there. What could be wrong? I'm just a starter in bot framework and bot building. 回答1: As I'm not aware