botframework

How to create Web App bot in azure using programmatically?

試著忘記壹切 提交于 2020-01-06 11:01:05
问题 I just created web app bot manually in azure and its working fine. I need to create web app bot programmatically using node.js . Please suggest any idea. Thanks in advance. 回答1: Programmatic bot creation is not an option right now, but this is a high priority for the Bot Framework team and will be available soon. Please watch the Bot Framework blog for announcements. http://blog.botframework.com 来源: https://stackoverflow.com/questions/50059996/how-to-create-web-app-bot-in-azure-using

How do I intercept a message in FormFlow before it reaches recognizers? (enum usage)

半城伤御伤魂 提交于 2020-01-06 08:03:57
问题 I would like to intercept what the user writes if he doesn't like any option in the list. My code is the following, but the validate function works only if the user chooses an option. using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.FormFlow; using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace BotApplication.App_Code { public enum MainOptions { AccessoAreaRiservata = 1, AcquistoNuovaPolizza, RinnovoPolizza, Documenti, StatoPratica,

'Auto scroll' not working On Microsoft-bot-Framework (Python SDK based)

六月ゝ 毕业季﹏ 提交于 2020-01-06 07:59:33
问题 I have some issue about microsoft-botframework. I made a chatbot using microsoft-botframework Python SDK. So I deploy it as Webchat , I attached this on my website, Wordpress. However, the Auto-scroll on card doesn't work. When new card appear, Auto scroll doesn't working. So this is my critical Issue and I really want someone help. Thank you. 回答1: This is a known issue in WebChat. There is a work around where you can use a custom WebChat Activity Middleware that scrolls the last message into

Bot Framework Emulator (v4) not working - POST 202

北城以北 提交于 2020-01-06 07:26:26
问题 I recently created a chatbot using Microsoft Azure's Cognitive Services and Bot Framework, using as the main tool QnA Maker. After some weeks developing and even publishing the bot, I decided to go to the next steps and make some changes and optimizations that requires the bot running locally. I managed to download the source code from Azure's portal as a .zip file, using as IDE Visual Studio 2017 and using as my test tool Bot Framework Emulator (V4). After some time (and a lot of issues,

How to use Prompts.text without triggering new intent in Microsoft Bot Framework

喜你入骨 提交于 2020-01-06 07:18:09
问题 I have multiple dialogs that are triggered with triggerAction . I use LUIS to trigger/match utterances to specific dialogs. Each dialog has two steps (functions): if entities are valid query DB and end dialog, else prompt user for one of the missing entities with Prompts.text() and continue to next step set dialog state and repeat dialog from step 1 with next() * My problem is that for some prompted inputs (i.e. entity values) LUIS will trigger new unrelated dialogs. In these cases the dialog

C# Bot Framework V4 Get UserInput

╄→гoц情女王★ 提交于 2020-01-06 07:08:52
问题 How do we get user type input in Bot Framework V4? in V3 i used the below PromptDialog.Text(context, UserResponse, "Your Name Please?"); Once user enters the name , userResponse will get called. I am not able to find somthing like this in V4 , only waterflowdialog i am finding , Since i am using lots of PromptDialog.Text in my project it is not feasible to create dialogs for all text Any Tips would be much appreciated. 回答1: You don't need to add waterfall dialogs all over the place just to

Publish bot to Azure

北城以北 提交于 2020-01-06 06:56:28
问题 When I published my bot to Azure from Visual Studio and trying it on the web chat, it says can't send the message . Running the bot locally everything works just fine. The emulator reports HTTP 500 error when trying to chat with the endpoint on azure. 回答1: After some discussions in the comment section, I've pulled your code from the repository you've provided. Different to what you were saying, it also crashes locally with HTTP 500 on start. Reading the logs gave me issues with web.config .

Publish bot to Azure

荒凉一梦 提交于 2020-01-06 06:55:46
问题 When I published my bot to Azure from Visual Studio and trying it on the web chat, it says can't send the message . Running the bot locally everything works just fine. The emulator reports HTTP 500 error when trying to chat with the endpoint on azure. 回答1: After some discussions in the comment section, I've pulled your code from the repository you've provided. Different to what you were saying, it also crashes locally with HTTP 500 on start. Reading the logs gave me issues with web.config .

403 forbidden with POST request on https://facebook.botframework.com

瘦欲@ 提交于 2020-01-06 06:46:12
问题 Every POST request to the following API get 403 forbidden : https://facebook.botframework.com/v3/conversations/{{conversation_id}}/activities https://facebook.botframework.com/api/v1/bots/{{bot_name}} ; which is webhook url registered at facebook bot Noted : Bot framework already is Bot Service Azure before 2018 March 31 Facebook channel at Bot Service Azura worked well about 6 months. And these issues just happens from 2018, 19th April Tested facebook bot worked well with my own webhook url

Display Text doesn't echo back

倾然丶 夕夏残阳落幕 提交于 2020-01-06 06:28:13
问题 I am creating a Messageback Button with Title, DisplayText, text, and value (v3 SDK). The title is set correctly when running the bot, the display text did not appear after clicking the button. I have set up two card action. CardAction yesBtn = new CardAction() { Type = ActionTypes.MessageBack, Title = "Yes", DisplayText = "OK", Text = "Yes", }; CardAction noBtn = new CardAction() { Type = ActionTypes.MessageBack, Title = "No", DisplayText = "No", Text = "No", }; I cannot find any solution to