luis

LUIS - Can we use phrases list for new values in the entity type List

爷,独闯天下 提交于 2019-12-10 18:50:06
问题 I'm creating LUIS chat bot app for extracting information regarding a company. For example " what is the filed_name1 for company Google ". So I'm currently extracting " filed_name1 " using "list entity " as the number of fields for a company are limited. Similarly I'm using List entity for extracting company name.As the company names are also limited as now. Now i want to handle scenario when a new company name gets added to existing list. I've tried using " Phrases list" to check if it can

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

跟風遠走 提交于 2019-12-10 11:14:54
问题 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

Microsoft Bot Framework LUIS in waterfall conversation

左心房为你撑大大i 提交于 2019-12-10 10:01:48
问题 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?"); },

Botframework findEntity() issue

梦想与她 提交于 2019-12-08 15:14:36
I've encountered a strange problem. Originally I had this to get my entity and it works correctly. x = builder.EntityRecognizer.findEntity(args.entities, 'get_x'); However, for some reason I can't seem to figure out why, it stopped working and I had to change it to adding an additional intent to get it to work again. x = builder.EntityRecognizer.findEntity(args.intent.entities, 'get_x'); I was changing one of my intents on LUIS when I think this started to happen. Then I immediately undo all the changes to that intent, however all my intents were somehow affected to that as I need to add

Unable to match “None” intent with triggeractions

你说的曾经没有我的故事 提交于 2019-12-08 12:41:09
问题 I have a bot that leverages LUIS and makes use of trigger actions. All intents work fine, but I am no longer able to get any results when the "None" intent is hit. I understand from researching online that I might have to add an onDefault action instead, but I am unable to find any good documentation demonstrating this. Does anyone know how to make this work with triggerAction()? The current code looks like this: bot.dialog('None', [ function (session, results, args, next) { session.send(

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

血红的双手。 提交于 2019-12-08 08:34:51
问题 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

Sending an IForm from a LUIS intent

老子叫甜甜 提交于 2019-12-08 08:18:42
问题 I currently have a chatbot running in visual studio using Microsoft's bot framework in the language c#. I integrated LUIS into the bot and I'm wondering how can I make it so that a FormFlow similar to this example appears on a specific intent. So far this is the code for my Form: internal static IDialog<InfoGroup> MakeRootDialog() { return Chain.From(() => FormDialog.FromForm(InfoGroup.BuildForm)); } public enum GroupOptions { A, B, C, D, E, F, G, H }; [Serializable] public class InfoGroup {

Botframework findEntity() issue

我怕爱的太早我们不能终老 提交于 2019-12-08 03:26:06
问题 I've encountered a strange problem. Originally I had this to get my entity and it works correctly. x = builder.EntityRecognizer.findEntity(args.entities, 'get_x'); However, for some reason I can't seem to figure out why, it stopped working and I had to change it to adding an additional intent to get it to work again. x = builder.EntityRecognizer.findEntity(args.intent.entities, 'get_x'); I was changing one of my intents on LUIS when I think this started to happen. Then I immediately undo all

What happened to the regex features?

纵然是瞬间 提交于 2019-12-08 02:49:44
问题 There used to be a feature in Luis called "Regex Features". You can still find it in google. Microsoft seems to have erased all evidence of it ever existing. Is it still supported in Luis? The Json for my Luis app still contains the regex features I made does Luis still use it? 回答1: To quote from Microsoft LUIS Official Documentation Pattern (regular expression) feature This feature is deprecated. New pattern features cannot be added to LUIS. Any existing pattern features are supported until

LUIS issues with special characters

孤人 提交于 2019-12-07 21:37:09
问题 (TEXT) is converted to ( TEXT ) in LUIS when we identify an entity name. Issues with special characters. Refer the image in below: Here monthly iq dashboard hospitalists is converted to reportname --> "monthly iq dashboard ( hospitalists )" in Entities . So when we use this entity in bot framework we are facing issues while comparing to actual report name stored in Metadata (database). 回答1: (TEXT) is converted to ( TEXT ) in LUIS when we identify an entity name. Issues with special characters