botframework

In Azure Bot Framework's WaterfallDialog, how do we go to a specific step?

末鹿安然 提交于 2019-12-13 12:22:16
问题 In my Azure Bot, I have a GetWeather Dialog with WaterfallDialog . It has 4 steps in WaterfallDialog . CheckExistLocationStepAsync, AskLocationAsync, ConfirmLocationAsync, ReturnWeatherAsync I know we can go next step by stepContext.NextAsync , or end the dialog with stepContext.EndDialogAsync . But, if I want to jump To ReturnWeatherAsync step from CheckExistLocationStepAsync step, how can I do it? Thanks. Can't find anything about jumping waterfall step in documentation. 来源: https:/

Can a Bot receive image as message or attachment from a user

让人想犯罪 __ 提交于 2019-12-13 11:20:08
问题 I want a user to be able to send image as message to Bot. is this possible?. I've searched online for solutions and I'm tired. please can someone share me a link at least?. 回答1: Yes From the nodejs documentation here // Create your bot with a function to receive messages from the user var bot = new builder.UniversalBot(connector, function (session) { var msg = session.message; if (msg.attachments && msg.attachments.length > 0) { // Echo back attachment var attachment = msg.attachments[0];

Microsoft Bot calling Bot or Orchestrating Multiple Bots

折月煮酒 提交于 2019-12-13 10:42:02
问题 I would like to know if there is way to connect multiple bot's (build using microsoft bot framework )together so that there will be one parent bot and other being children. The diagram I have attached is my desired state. Desired Bots Orchestration 回答1: So it's possible to do what you're asking, but the levels of support that you're hoping for from the BotBuilder SDK might not exist. I'm going to interpret your last statement in your comment as asking about routing utterances to multiple NLU

Azure Bot logging

蹲街弑〆低调 提交于 2019-12-13 10:32:01
问题 I have a Bot configured for Teams and hosted in Azure. I have a couple of graph api requests sent from the Bot. I would like to log the time between request, response, and other related exceptions thrown. Where is this log best kept for an Azure hosted Bot? 回答1: This can be done automatically when you choose to integrate Application Insights. See this guide: Application Insights helps you get actionable insights through application performance management (APM) and instant analytics. Out of

Embedding a bot on a website

我是研究僧i 提交于 2019-12-13 10:12:08
问题 Please I have been able to position the bot in its wanted position I need help with the toggling here is my code (function () { var div = document.createElement("div"); document.getElementsByTagName('body')[0].appendChild(div); div.outerHTML = "<div id='botDiv' style='width: 400px; height: 438px; position: fixed; bottom: 0; right:0; z-index: 1000;><div id='botTitleBar' style='height: 40px; width: 400px; position:fixed; background: #6819bf; cursor: pointer;'></div></div>"; BotChat.App({

How to create a side window or iframe that shows data that was gathered by a Web-Chat in one web page?

谁说胖子不能爱 提交于 2019-12-13 09:46:52
问题 I am building a chat bot via the Microsoft bot framework and recently deployed it as web-chat on a web page. In my web page, it is essential that I have a side box where data is shown that is gathered and calculated from the bot. Can anyone help me to create this? Right now, I don't know how to create this window/box/iframe. My chatbot negotiates with the user. I want to show the user data like the items that are available for negotiating in a kind of information box. It should be able to

Skype response language parameter

偶尔善良 提交于 2019-12-13 08:07:35
问题 While sending request to bot through web Skype, it is sending locale as 'en-US'. How I can change it to any other language? How Skype decide automatically to send it to 'en-US'? 'entities': [{'locale': 'en-US', 'country': 'US', 'platform': 'Web', 'type': 'clientInfo'}] 回答1: Possible answer I don't have access to the Bot Connector sources so it will be difficult to ensure that my answer is valid, but I think your language value comes from one of the following properties: Language of your Skype

BotBuilder: Customize Formflow

吃可爱长大的小学妹 提交于 2019-12-13 07:48:03
问题 can you suggest me which configuration need to be set to change the "What do you want to change?" after saying no in confirmation at the end of the formflow? Thx 回答1: That message is part of the of the TemplateNavigation resources and a Template in the FormConfiguration class is defined with the TemplateUsage.Navigation as seen here. The way to go is partially explained here with the only difference that you need to change the Template to look for and that you don't need to change any command

LUIS inserts whitespace in utterances when punctuation present causing entity getting incorrectly parsed

三世轮回 提交于 2019-12-13 07:05:27
问题 I am playing around with the Luis stock ticker example here, GitHub MicrosoftBotBuilder Example, it works well and the entity in the utterances is identified but there are stock tickers in the world that have periods in them such as bt.a Luis by default pre-processes utterances where word breaks are inserted around punctuation characters and therefore an utterance of " what is price of bt.a " becomes " what is price of bt. a " and therefore Luis thinks the entity is " bt " instead of " bt.a "

Mapping Luis Entities to Dialog Fields

非 Y 不嫁゛ 提交于 2019-12-13 06:44:31
问题 I'm having trouble getting my Luis Entities to bind to my FormFlow fields so I can skip steps in the FormFlow. A simplified version of my FormFlow dialog is as follows [Serializable] public class DoSearch { public string SearchTerm; public static IForm<DoSearch> BuildForm() { var builder = new FormBuilder<DoSearch>(); return builder .Message("Search Function") .Field(nameof(DoSearch.SearchTerm)) .AddRemainingFields() .Confirm("Are you sure you wish to search for {SearchTerm} ?") .Build(); } }