botframework

How to eliminate negative utterances while using LUIS/WIT Intent

删除回忆录丶 提交于 2019-12-24 06:34:05
问题 I have an intent "BookTicket" . I have few utterances for the same: "book a ticket", "book my ticket" .....it works fine. It also works with "do not book a ticket", "book my show" . My question is: How can I eliminate these negative searches to search for the intent mentioned above and return an error message instead of invoking the intent. Right now, I am trying this with LUIS framework. thanks 回答1: In case of LUIS, use the None intent to mark the negative examples you want to eliminate,

Bot Framework Test connection to your bot fails with status code Forbidden

戏子无情 提交于 2019-12-24 05:45:10
问题 My bot works receives and sends messages fine in Slack, Skype and emulator. However when I click the blue Test button in the bot portal (https://dev.botframework.com/) it gives me the error message "Authorization for Microsoft App ID my_id_is_replacedhere failed with status code Forbidden" Full error is below. I also get the same error when I send a scheduled message to Slack using endpoint https://slack.botframework.com/ and the Conversations.SendToConversation() method. This used to work

Calling back LUIS from a dialog [duplicate]

六月ゝ 毕业季﹏ 提交于 2019-12-24 04:47:17
问题 This question already has answers here : How to forward result of Prompt.Choice() to current dialog? (2 answers) Closed 2 years ago . I am developing a chatbot using Microsoft and C#. My bot basically gets the intent from LUIS and based on that either replies with a static String or forwards to a new Dialog of multiple questions. Inside the new dialog the messages sent by the user are directly handled from within the code without passing through LUIS. My Code: MainLUISDialog.cs: [LuisIntent(

Botframework - resize bot chat in width [duplicate]

会有一股神秘感。 提交于 2019-12-24 04:28:06
问题 This question already has an answer here : How to change the size and other properties of the chat window (1 answer) Closed last year . Is it possible to resize the width of the chat for botframework ? Currently I'm testing on a emulator. Basically I want make my bot chat wider to the right. As you can see in the picture, the chat width remain the same despite me increasing the size of the columns, add more columns, and so on. Currently using adaptive card. 回答1: If you are using the iframe

Question about changing to a new LUIS key with Botframework v4

橙三吉。 提交于 2019-12-24 04:22:05
问题 I downloaded the C# template in Azure. It automatically created and setup a LUIS app but now LUIS hits 1000 calls and expires now. I created a new key using this guide. I managed to assign a resource but now what? I'm still getting an error that the quota limit was reached. I tried changing the name and authoring key in the bot file but always getting error that I can't read bot file. I also notice that the authoring key in LUIS app is much shorter that in the bot config. Can someone help me?

BotBuilder - NLP with dispatch error No such host is known

删除回忆录丶 提交于 2019-12-24 04:12:38
问题 I am new in using Bot Builder Framework. I was following this tutorial from Microsoft https://docs.microsoft.com/en-us/azure/cognitive-services/qnamaker/tutorials/integrate-qnamaker-luis. I am using the code from GitHub(NLP-with-dispatch) and set up all the necessary requirements DISPATCH, Luis, Qnamaker, etc. But after running the code using the bot emulator I got this error message. "No such host is known". BTW, I already updated the appsettings.json and bot config. Anyone experience this?

how to set the authentication without magic number botframeworkV4

久未见 提交于 2019-12-24 03:37:14
问题 I have read this. The magic code has been eliminated. I test it using this sample. But it still needs the magic code? I used webchat to test it. 回答1: The bot sample is fine. But this authentication feature currently only work if you have DirectLine enabled and are using a DirectLine secret. You can follow this blog. 来源: https://stackoverflow.com/questions/56882716/how-to-set-the-authentication-without-magic-number-botframeworkv4

MS Teams mobile (Android) bot attach image button is missing

元气小坏坏 提交于 2019-12-24 03:29:44
问题 I'm developing a Chatbot with Bot Framework (Nodejs), and connect to Microsoft Teams channel I can remember I test bot in MS Teams mobile (Android), and it used to have attach image button, but now button is missing -- Note -- Only Ms Teams mobile (Android) in private chat with bot 1:1 channel the button is missing, but chat with person and iOS is nothing -- Image -- MS Teams Bot on iOS have upload image button (image) MS Teams Bot on Android have no upload image button (image) 回答1: You must

Access user data bag from scorable without IDialogContext

半世苍凉 提交于 2019-12-24 03:12:40
问题 Dialogs have the IDialogContext object to aaccess data bags. Example: private async Task MessageReceivedAsync(IDialogContext context, IAwaitable<object> result) How to access context.UserDataBag from scorable class global handler? It doesn't contain IDialogContext but I need user data from botDataBag in scorable class. 回答1: The usual way of doing this is using IBotData in your scorable. You need to modify the constructor of your IScorable so it receives an IBotData , save it in a local

Display Welcome Message in v4 Bot Framework Bot (C# + .Net Core Web Application)

筅森魡賤 提交于 2019-12-24 03:08:22
问题 I had created a bot with v3 (C#) SDK and the welcome message used to work just fine without any sweat. And it still does for me in production. The code is handled in HandleSystemMessage like this - .. v3 Code additional code removed for clarity... else if (message.Type == ActivityTypes.ConversationUpdate) { // Handle conversation state changes, like members being added and removed // Use Activity.MembersAdded and Activity.MembersRemoved and Activity.Action for info // Not available in all