botframework

How to call AZURE DEVOPS rest API in the water fall dialog built using C# BOT Framework SDK V4?

做~自己de王妃 提交于 2019-12-23 03:07:35
问题 I have web channel chat bot created through C# using BOT Framework SDK V4. It has multiple waterfall dialogs that do set of actions based upon option selected in the main dialog. In one of the dialog my requirement is user inputs some data and then using that I should create a Work Item of Type task in my AZURE DEvOps project for tracing purposes. I am successfully able to acquire the data from user but while creating WORK ITEM in devops I am facing problem. I have tried couple of things from

Bot Framework Node.js ad hoc message TO A SPECIFIC USER

走远了吗. 提交于 2019-12-23 01:11:57
问题 I have been staring at this for hours and can't find a solution and that is even though by all suggestions it SHOULD be quite easy - https://docs.microsoft.com/en-us/bot-framework/nodejs/bot-builder-nodejs-proactive-messages. I have created a simple code which will "register" the user and save their data in my cosmosDatabse on Azure. That works perfectly. //ON "register" SAVE USER DATA AND SAY REGISTERED MESSAGE bot.dialog('adhocDialog', function(session, args) { var savedAddress = session

Botconnector not working for a self signed nodejs bot

醉酒当歌 提交于 2019-12-22 12:24:15
问题 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

Microsoft Bot displays unnecessary duplicated messages in WebChat?

耗尽温柔 提交于 2019-12-22 11:33:38
问题 When a user visits my chat for the first time they are greeted with welcome message and immediately asked to provide their first name. As soon as the user inputs their first name the welcome message is and text prompt for their first name is displayed once again. Only after they input their first name for the second time, the bot moves on to the next question about their last name. Additionally when user finally enters their first and last name in first chat and they come back again to the

Botframework Prompt dialogs until user finishes

蓝咒 提交于 2019-12-22 11:27:01
问题 I'm creating a chat bot for slack using Microsoft's botbuilder and LUIS. Is there a way to keep using builder.Prompts.text() to keep asking the user if there are anymore information the user wants to put, like a for or while loop? For example I want to keep on asking the user an undefined number of times if there's a key the user wants to save and only stop when the user types done and then I will have an equal number of builder.Prompts.text() to ask the user for the values to put in each of

Skip confirmation step with MicrosoftBot's FormBuilder

拜拜、爱过 提交于 2019-12-22 09:47:27
问题 I don't need any confirmation before completion of my form. However, in the following Build() method of the FormBuilder class there is a Confirm("Is this your selection?\n{ }")*. public IForm<T> Build() { if (!_form._steps.Any((step) => step.Type == StepType.Field)) { var paths = new List<string>(); FormBuilder<T>.FieldPaths(typeof(T), "", paths); IFormBuilder<T> builder = this; foreach (var path in paths) { builder.Field(new FieldReflector<T>(path)); } builder.Confirm("Is this your selection

Can We deploy Microsoft bot Application in IIS for hosting without Azure?

痞子三分冷 提交于 2019-12-22 09:32:48
问题 Is it possible to deploy Microsoft bot Application in IIS without Azure. We have created a sample bot Application and running fine with the Emulator in local environment. We would like to move the application to the Production and don't have Azure account and details. Can we deploy bot application in the IIS in Windows server 2012 R2 as how we deploy Webservices or WCF Services ? Is it Possible without to host in IIS without Azure ? 回答1: Of course it is possible. You just need to deploy your

How to call a specifc callback when clicking in Card Action - Bot Framework

痞子三分冷 提交于 2019-12-22 08:21:38
问题 I'm showing a carousel with a few products that have a button in each one with a code. the Card Action Type is 'ImBack' but the click in button will call the root dialog again once the carousel is showed by postAsync method. Is there a way to define a callback for the button click or to show the same carousel but using PromptDialog ? 回答1: There is no way to define a callback on Card Action button. When the Card Action is defined as ImBack, after you click on it; it will basically post a

Cancel a prompt or dialog after certain time - Bot Framework

心不动则不痛 提交于 2019-12-22 07:46:14
问题 I have a question about cancelling a prompt or a dialog if there is no input from the user within a certain period of time. I need a way to somehow have a time out within prompts. Example: Bot prompts the user: "How old are you?". The Bot now awaits a response from the user, but the user never response and the bot is still waiting. In my case the bot should only wait 20 seconds and then close the dialog. Is the cancellation token or a timeout implementation in the HandleSystemMessageAsync

Automating Deployment in Bot Framework (Bot + LUIS+ QnA + Table Storage)

安稳与你 提交于 2019-12-22 06:49:52
问题 We have a bot deployed on Azure but we want to give it to a client so he can deploy it run it using his own resources. We need to give them a Powershell script that magically create and deploy all the resources needed for the bot to work. My bot architecture consists on the following parts: Bot's Logic (ASP.NET Web API Project deployed over an Azure App Service ) LUIS Model (published over a Cognitive Services Account ) QnA Service Knowledge Base done with QnA Maker ( published directly from