luis

Training None Intent in LUIS

北城以北 提交于 2019-12-07 08:00:30
问题 I have a travel bot with following intents:- BookAFlight (trained with 20 utterances) GetTicketCopy (trained with 20 utterances) CancelTicket (trained with 20 utterances) None (default) (currently not trained) MS documentation suggests that I train None for atleast 1-2 utterances for every 10 utterances added to other intents. Which means I would need say 6-12 utterances to train None. My query is what kind of utterances should be used to train None? Everything under the sun apart from what

How to integrate LUIS and QnA Maker services in single Node.js bot?

孤街浪徒 提交于 2019-12-07 05:32:00
问题 I'm developing a chatbot using Microsoft Bot Framework with Node.js SDK. I've integrated LUIS and QnA maker but I want to create this scenario if it's possible. Taking in example the following link and in particular this section: There are a few ways that a bot may implement a hybrid of LUIS and QnA Maker: Call LUIS first, and if no intent meets a specific threshold score, i.e., "None" intent is triggered, then call QnA Maker. Alternatively, create a LUIS intent for QnA Maker, feeding your

LUIS: Action Parameter cannot be passed (with Dialog Execution)

删除回忆录丶 提交于 2019-12-06 19:36:49
By using LUIS and it's "Dialog Execution" under Action Binding , i'm expecting to be able to provide the required parameter (of an Action). (So that the Action can be triggered, or the Dialog can be continued.) As far as i understand, once the Parameter has been asked to provide, we should provide it in the follow-up query call. For example: First query: https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/...?subscription-key=...&q=what are the available items Then, it asks me " Under what category? " (expecting me to provide the required parameter), like: Then i provided it in the

Prompt for Text Without Routing

自古美人都是妖i 提交于 2019-12-06 15:12:36
What I'd like to incorporate into my bot is a way to prompt the user for essentially free-form, natural language text and then save it. I thought this would be simple enough using: builder.Prompts.text(session, prompt); But it appears the UniversalBot is attempting to interpret and route based on the text supplied by the user. I do have LUIS wired into the bot as the recognizer and it's clear that's what is coming into play here because it's resolving to one of my defined intents. Or at least it's saying it recognizes that intent but it doesn't actually take the user to that dialog. Is there

Botframework Prompt dialogs until user finishes

你离开我真会死。 提交于 2019-12-06 14:28:22
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 those keys. function (session, results, next) { builder.Prompts.text(session, "Another key to put?"); }

Passing model and subscription key to a LuisDialog other than via an attribute

拟墨画扇 提交于 2019-12-06 11:53:36
I am writing a bot that can speak two languages. Therefore I need to use two separate LUIS apps (one for each language). The LuisDialog in the Bot Framework is initialized like this (example from Microsoft): [LuisModel("c413b2ef-382c-45bd-8ff0-f76d60e2a821", "6d0966209c6e4f6b835ce34492f3e6d9")] [Serializable] public class SimpleAlarmDialog : LuisDialog<object> { However, I need to use a dynamic app ID and subscription key depending on the language of the user that I have determined. All the methods, intents etc in the two LUIS apps are the same. Attributes in C# cannot be dynamic. What is

Conversational Bot on MIcrosoft Bot Framework possible? [closed]

断了今生、忘了曾经 提交于 2019-12-06 08:30:07
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . Is it possible to have a conversational bot using the bot framework of Microsoft? I'm currently using Luis and Qna maker combined, but it is still pretty much a single question and answer bot, what can I do to make it more of a conversational bot? where the user can ask the bot to

Creating an API for LUIS.AI or using .JSON files in order to train the bot for non-technical users

青春壹個敷衍的年華 提交于 2019-12-06 02:47:13
问题 I have a bot that uses .NET, MS Bot Framework and LUIS.ai for its smarts. All's fine, except that I need to provide a way for non-technical users to train the bot and teach it new things , i.e. new intents in LUIS.ai. In other words, suppose that right now the bot can answer messages like "hey bot where can i get coffee" and "where can I buy some clothes" with simple phrases containing directions. Non-technical users need to be able to train it to answer "where can I get some food" too. Here

How to call LUIS Dialog inside LUIS Dialog?

青春壹個敷衍的年華 提交于 2019-12-06 01:07:59
问题 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

Microsoft Bot Framework LUIS in waterfall conversation

情到浓时终转凉″ 提交于 2019-12-05 20:04:26
I have an existing waterfall conversation. I want to adapt it so that it can extract data from more complex user responses to the bot's questions. In my LUIS app I have created an intent called GetLocation which is trained to find an entity called Location . An example of this is the user typing "I am looking in Bristol" which would match the entity "Bristol". This is what I currently have: function(session) { builder.Prompts.text(session, "Hello... Which city are you looking in?"); }, function(session, results) { session.privateConversationData.city = results.response; builder.Prompts.number