luis

Luis Dialog creation issue

两盒软妹~` 提交于 2019-12-12 05:48:40
问题 hi I am implementing one bot using LUIS, so I want to take input from user & give answer, if user enters incomplete info. then I want to reply him with another dialog which I suppose to get from Luis json. I had implemented the same in Luis. But after the changes of the Luis UI. I am not able to get the steps to implement the above mentioned dynamic conversation in Luis. Looking guidance on the same. Thanks in advance. In the old version of luis, I had designed the Luis Application which was

Can I download an Entities List from my bot using LUIS?

百般思念 提交于 2019-12-12 05:41:57
问题 I manually inputted thousands of data points into my LUIS bot for an Entities List but I may have to start over with a new bot. Is there any way to preserve my Entities List that I made? 回答1: In the luis.ai page, once logged you can see your applications at https://www.luis.ai/applications. Right from there, you can export your application using the {} button. Then, you can just click the Import App button (in that account or in another one) to import it back. 回答2: As stuartd said in his

How to switch between two luis.ai dialog with different languages

限于喜欢 提交于 2019-12-12 05:40:25
问题 i have created a bot in bot framework using also luis.ai. In my luis account i have created two app with different language culture. One app in english and other in french. Both have their intents. In my code i call one time english dialog, and other time french luis dialog . My problem is that when i start conversation in english facebook channel ( messenger ) i get the right answer. Inside this bot and channel when i type in french , my bot don't call french dialog . When i start

What's the correct flow to handle image inputs in a dialog that uses LUIS?

吃可爱长大的小学妹 提交于 2019-12-12 02:37:17
问题 I'm putting together a bot in c# that accepts image inputs from the user as well as text input. I'm using LUIS as the AI framework to determine intents in a dialog pattern. However, it seems like both types of input can't coexist: LUIS and attachments. I would like to know if there is a recommended pattern for this scenario. Please help! :| 回答1: In the MessageController, you can get the image/attachments values activity.Attachments await Conversation.SendAsync(activity, () => new

Begin Dialog with QnA Maker Bot Framework recognizer (Node JS)

拈花ヽ惹草 提交于 2019-12-12 02:08:14
问题 I was wondering if one can pass a "Welcome Message" on the beginning of a chat with a bot using QnA Maker recognizer without the model recognizing it as message to send to the model. I'm using the latest Node.js API. var intents = new builder_cognitiveservices.QnAMakerDialog({ recognizers: [recognizer], defaultMessage: 'Sorry. I didnt understand', qnaThreshold: 0.3} ); bot.dialog('/', [ function(session){ session.beginDialog('welcome'); }, function(session){ session.beginDialog('dialog'); } ]

How to call Dialog class inside Luis Intent Block

☆樱花仙子☆ 提交于 2019-12-11 19:08:03
问题 I am using NLP Dispatch , through which i have a merged luis and QnA model, I am able to normally call and add my own logic inside top scoring intents block. Now i have a dialog class which i want to be called whenever a top scoring intent is being detected namespace Microsoft.BotBuilderSamples { public class DispatchBot : ActivityHandler { private ILogger<DispatchBot> _logger; private IBotServices _botServices; public DispatchBot(IBotServices botServices, ILogger<DispatchBot> logger) {

Ingtegrating LUIS with c# bot framework - ERROR

喜欢而已 提交于 2019-12-11 19:03:12
问题 I'm trying to integrate Luis.ai to C# bot framework. The code runs but when I send a message to the bot it shows this error: "sorry my bot code is having an issue" When it should reply depending on the entry using the intents, I only have 2 intents "None" and "perfil". This is my log: This is my class Perfil.cs: using Microsoft.Bot.Builder.Dialogs; using Microsoft.Bot.Builder.Luis; using Microsoft.Bot.Builder.Luis.Models; using System; using System.Collections.Generic; using System.Linq;

Is there any possible way to apply luis after capturing user input from Adaptive text block?

[亡魂溺海] 提交于 2019-12-11 18:11:36
问题 Within a bot,we have an adaptive card where the user has a choice to select yes or no. On selecting YES, user is prompted to enter the keywords. After the user gives input in the textblock in adaptive card, the input has to be captured and sent as input parameter to web api. However, after the input is given, we will have to apply luis since there is a possibility of having synonyms for the input text. In the below code, keywords variable refers to the input text given by user and for which

How to get Microsoft Azure Speech To Text to start transcribing when program is run? (Unity, C#)

微笑、不失礼 提交于 2019-12-11 18:04:17
问题 I am trying to build a simple app using Microsoft Azure's Cognitive Services Speech To Text SDK in Unity3D. I've following this tutorial, and it worked quite well. The only problem with this tutorial is that the Speech-To-Text is activated by a button. When you press the button, it'll transcribe for the duration of a sentence, and you'll have to press the button again for it to transcribe again. My problem is I'd like it to start transcribing as soon as the program is run in Unity, rather

Is the best practice alwayas to start a dialog in bot?

六月ゝ 毕业季﹏ 提交于 2019-12-11 17:14:08
问题 I am migrating a bot V3 to V4 and it is working well, but the bot has some rules and I am having some difficulties to implement these rules. One of these rules starts dialog after call Luis, in this Luis recognizes the need. My doubt is: what is the best practice to bot? Always starts a dialog or only starts if necessary? PS: in my mind, I have to start if necessary, but I am in doubt. if (Luis.CheckDialogNeed) { await Dialog.RunAsync(turnContext, ConversationState.CreateProperty<DialogState>