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-02 10:07:51
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", "AddingLeaveDetails.json" }; string fullPath = Path.Combine(paths); var adaptiveCard = File.ReadAllText

Dialog changes after user prompt

为君一笑 提交于 2019-12-02 08:52:42
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 continue, instead it goes to root dialog and prints "I didn't understand please try again"(default message)

Azure BOT Framework, Integrate QnA Maker with LUIS

▼魔方 西西 提交于 2019-12-02 05:01:55
问题 I am searching for documentation on the integration of QnA Maker API with LUIS in Azure BOT Framework . But after a lot of research, I couldn't find any such document. If anyone came across the same scenario, please post your efforts. I am using C# as scripting here. 回答1: There are several general ways to do it, but it's ultimately up to you as the Bot developer to decide how to structure it. A general overview is provided in the docs here, but if you want a more code oriented sample, this

Azure BOT Framework, Integrate QnA Maker with LUIS

时光毁灭记忆、已成空白 提交于 2019-12-02 01:19:15
I am searching for documentation on the integration of QnA Maker API with LUIS in Azure BOT Framework . But after a lot of research, I couldn't find any such document. If anyone came across the same scenario, please post your efforts. I am using C# as scripting here. There are several general ways to do it, but it's ultimately up to you as the Bot developer to decide how to structure it. A general overview is provided in the docs here , but if you want a more code oriented sample, this blog post should help you - Dialog management with QnA, Luis, and Scorables In the sample, the LuisDialog

Is LUIS limited for use?

a 夏天 提交于 2019-12-02 01:04:40
I have been receiving exception in my application saying Exception: Response status code does not indicate success: 403 (Quota Exceeded). Does this means we are only allowed 1000 hits per application per month on the LUIS? Anyother justification are welcomed around this exceptions. There are several quotas on LUIS's keys usage: Free key: 5 calls / second 10 000 calls / month Standard key: 50 calls / second See Azure portal's capture below where the 5/second is visible for free plan: And link to LUIS pricing here There is also (or was) an out of Azure preview key good for only 1000 messages per

LUIS List entity

霸气de小男生 提交于 2019-12-01 14:26:50
I am using "list" entity. However, I do not achieve my expected result. Here is what I have for LUIS intent: getAnimal I want to get a cat**[animal]**. Here is what I have with LUIS entities: List Entities [animal] cat : russian blue, persian cat, british shorthair dog : bulldog, german shepard, beagle rabbit : holland lop, american fuzzy lop, florida white Here is what I have with LUIS Phrase lists: Phrase lists [animal_phrase] cat , russian blue , persian cat , british shorthair , dog , bulldog , german shepard , beagle , etc Desired : When user enters " I want to get a beagle ." It will be

LUIS List entity

我的梦境 提交于 2019-12-01 12:32:32
问题 I am using "list" entity. However, I do not achieve my expected result. Here is what I have for LUIS intent: getAnimal I want to get a cat**[animal]**. Here is what I have with LUIS entities: List Entities [animal] cat : russian blue, persian cat, british shorthair dog : bulldog, german shepard, beagle rabbit : holland lop, american fuzzy lop, florida white Here is what I have with LUIS Phrase lists: Phrase lists [animal_phrase] cat , russian blue , persian cat , british shorthair , dog ,

Authenticate user in Microsoft bot framework [closed]

 ̄綄美尐妖づ 提交于 2019-12-01 08:20:15
I am building a Banking Bot and I need to authenticate the user before providing any details to him. If the Bot is idle for 5 min, I need user to re-authenticate before proceeding further. I am using Microsoft Bot framework and LUIS for BOT development. Can anyone help me with this problem? Directly authenticating user through chat window is not recommended and in such cases you'll need to use magic codes for authentication. Consider using third pattern described there which is quite secure. You must use a signin card , to ensure the user is authenticated and you know the user. You must avoid

LUIS Intent not returning the entire value of the entity with space

半城伤御伤魂 提交于 2019-12-01 06:25:01
I have created a LUIS Utterance like this with a simple entity included: orders in process for customer abc Where abc is replaced with the simple entity vf_NARCName In the bot when I type the question like: Orders in process for customer Animal Dermatology Hospital Here the customer name is Animal Dermatology Hospital which is separated by space then when I am fetching the data through LUIS Rest API I am getting Animal as the entity value instead of Animal Dermatology Hospital and some times also no entity value returning { "query": " orders in process for customer Animal Dermatology Service",

LUIS Intent not returning the entire value of the entity with space

给你一囗甜甜゛ 提交于 2019-12-01 04:06:28
问题 I have created a LUIS Utterance like this with a simple entity included: orders in process for customer abc Where abc is replaced with the simple entity vf_NARCName In the bot when I type the question like: Orders in process for customer Animal Dermatology Hospital Here the customer name is Animal Dermatology Hospital which is separated by space then when I am fetching the data through LUIS Rest API I am getting Animal as the entity value instead of Animal Dermatology Hospital and some times