luis

How to retrieve user entered input in adaptive card to the c# code and how to call next intent on submit button click

与世无争的帅哥 提交于 2019-12-04 05:45:54
问题 I have a date picker adaptive card which I call during an intent call. I am not getting as to how can I get value entered by the user and pass it to my bot luis where I will be having an intent which will get triggered with those values I have tried parsing the adaptive card json but I want the updated json with user entered values in it on submit button click. private Attachment CreateAdaptiveCardAttachment() { // combine path for cross platform support string[] paths = { ".", "Cards",

How to call LUIS Dialog inside LUIS Dialog?

假装没事ソ 提交于 2019-12-04 04:35:12
My bot has LUIS dialog with a couple of intents. I call LUIS dialog from my MessageController. If the intent is detected, I start a child dialog. When the child dialog is done, I call context.Done("response from user"). After that ChlildDialogDone task is called. Inside ChildDialogDone task I want to call the LUIS dialog again to detect the intent of user's message (which comes to ChildDialogDone ). Now inside ChildDialogDone I have context.Wait(MessageReceived). When this line of code is executed, nothing happens, my bot is waiting for the next message from user. Here is the code:

LUIS - understand any person name

故事扮演 提交于 2019-12-03 16:02:25
we are building a product on LUIS / Microsoft Bot framework and one of the doubt we have is Person Name understanding. The product is set to use by anyone by just signing up to our website. Which means any company who is signing up can have any number of employees with any name obviously. What we understood is the user entity is not able to recognize all names. We have created a phrase list but as per we know there is a limit to phrase list (10K or even if its 100K) and names in the world can never have a limit. The other way we are thinking is to not train the entity with utterances. However

How to hook Luis into a Bot Framework FormDialog

為{幸葍}努か 提交于 2019-12-03 12:54:15
I have a Dialog class which is a FormDialog (say, FormDialog< SandwichOrder>; one which builds an order for a sandwich, as per the bot framework documentation website). The SandwichOrder includes a "Price" property. I also have a Dialog class which derives from LuisDialog which gets the price (based on, say, the size and/or province). How can I hook Luis functionality into a Form Dialog? Currently it is not possible to call a Dialog in a form field step. But you can have your custom implementation of IRecognize for a Field in the form (in this case "Price") and in the IEnumerable<TermMatch>

Comparison between luis.ai vs api.ai vs wit.ai?

风流意气都作罢 提交于 2019-12-03 00:07:07
问题 Does anyone know the specific differences and features among the three, Or if one has more features/more flexible to use as a developer? 回答1: wit.ai vs api.ai vs luis.ai ╔══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗ ║ wit.ai vs api.ai vs luis.ai ║ ╠══════╦════════════════════════════════════╦═════════════════════════════════════════════╦════════════════════════════════════╣ ║ S.No ║ Wit.ai ║ Api.ai ║ Luis.ai ║

Dialog changes after user prompt

回眸只為那壹抹淺笑 提交于 2019-12-02 18:56:04
问题 I have a dialog as follows to get user name and password from user bot.dialog('/getUsernamePassword', [ function (session) { builder.Prompts.text(session, 'Please enter your username'); }, function (session, results) { session.userData.name = results.response; builder.Prompts.text(session, 'Please enter your password'); }, function (session, results) { session.userData.password = results.response; session.endDialogWithResult(results); } ]); After user enter username, my dialog doesn't

ChatBot not working after Deploying on Azure - Internal server error

天涯浪子 提交于 2019-12-02 17:41:35
问题 I have deployed a chatbot with LUIS and QnA Maker. It works perfectly locally when I run it on Emulator. It loads up the adaptive cards at start of the chat and I get correct replies from LUIS. However when I deploy the bot on Azure and test it on Web chat it gives the following error: There was an error sending this message to your bot: HTTP status code InternalServerError This is how my web.config looks like: <configuration> <appSettings> <!-- update these with your BotId, Microsoft App Id

luis bot not speaking

旧街凉风 提交于 2019-12-02 14:44:53
问题 I'm using the LUIS bot in NodeJS and I am using session.say() to get the bot the speak but there is not audio output. I am trying to say a list of movies from a list like this session.say('hi', list.shift()) I know it works because 'hi' prints in the chat but no audio, I even put it in SSML format session.say('hi','<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US">hey</speak>'); Any ideas why my bot isn't saying anything, but still printing stuff in the chat?

Comparison between luis.ai vs api.ai vs wit.ai?

半世苍凉 提交于 2019-12-02 13:53:41
Does anyone know the specific differences and features among the three, Or if one has more features/more flexible to use as a developer? Chandra Sekhar wit.ai vs api.ai vs luis.ai ╔══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗ ║ wit.ai vs api.ai vs luis.ai ║ ╠══════╦════════════════════════════════════╦═════════════════════════════════════════════╦════════════════════════════════════╣ ║ S.No ║ Wit.ai ║ Api.ai ║ Luis.ai ║ ╠══════╬════════════════════════════════════╬═════════════════════════════════════════════╬══

luis bot not speaking

人盡茶涼 提交于 2019-12-02 10:43:10
I'm using the LUIS bot in NodeJS and I am using session.say() to get the bot the speak but there is not audio output. I am trying to say a list of movies from a list like this session.say('hi', list.shift()) I know it works because 'hi' prints in the chat but no audio, I even put it in SSML format session.say('hi','<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-US">hey</speak>'); Any ideas why my bot isn't saying anything, but still printing stuff in the chat? To use the text to speech feature on the Bot Framework Emulator, the user has to use the microphone on