luis

How to initialize Bot framework dialog in a Luis intent block

好久不见. 提交于 2019-12-13 03:50:40
问题 Bot Framework Sample - NLP Dispatch Hi, I am using NLP dispatch, where I am having multiple Luis and QnA models running simultaneously. I have mapped top-scoring intents for Luis and have created a dialog class also which I want to implement in those intents mapped blocks. How can I initialize my dialog in the intent if block? I have tried using Dotnet core 2.1 version and dispatch's latest version code for dialog - private async Task<DialogTurnResult> LeaveDateRangeStepAsync

LUIS-app: 'npm' is not recognized as an internal or external command, when trying to install “Kudu Sync”

十年热恋 提交于 2019-12-13 03:50:35
问题 I have followed the tutorial to integrate LUIS and QnA Maker to create a LUIS app. When I got to the final step and tried to build the app, I got the error message \> \build.cmd Installing Kudu Sync An error has occurred during web site deployment. 'npm' is not recognized as an internal or external command, operable program or batch file. Apparently, npm is missing on the build server. How can that be and how can I fix it? 回答1: Let's try running build from the console to see if that resolves

LUIS API - Retrieve all endpoint utterances and its scores

泄露秘密 提交于 2019-12-13 03:48:56
问题 I have been searching the past few days how to retrieve the endpoint utterances and its scores for a dashboard I am working with. Problem is I'm lost with the APIs, there seems to be many, but I cannot find the exact one that fits my need. In this API documentation here, there is one that gets example utterances. What I would want to get is the actual endpoint utterances. Anyone can point me where to find the API to use? Thanks in advance. 回答1: @Jeff, actually in that API docs that you linked

Can you use multiple intents in one triggerAction? [LUIS]

北城余情 提交于 2019-12-13 02:32:06
问题 I have a QnA bot that should work for a couple of intents and I want to trigger it for None intent, Greeting because I have some unique responses, and IT help because that's the main purpose of the QnA bot. Do I have to copy paste my entire dialog and just change the intent name or can I list multiple intents for the matches method? bot.dialog('QnABotRequest', function (session, args) { //Code }).triggerAction({ matches: 'Greeting' | 'None' | 'IT Help' //Maybe something like this ? }); https:

After call context.Forward, how to get the item in child dialog

蹲街弑〆低调 提交于 2019-12-12 23:38:46
问题 I have one main Luis dialog, i need to Forward CheckListDialog and pass the 'luisresult.entity' to CheckListDialog, code like below: context.Forward(new CheckListDialog(), this.DialogResumeAfter,result.Entities,CancellationToken.None); Question: In "CheckListDialog", how can i get the "result.Entities" ? PS: There is another solution to get the Luisresult.Entities, context.Call(new CheckListDialog(result.Entities), this.DialogResumeAfter); This solution is working, but I would like to know

Node.js: How to send a direct message in Slack with MS Bot Framework?

孤街醉人 提交于 2019-12-12 22:46:56
问题 I am trying to create a Slack bot using LUIS where when the bot sees a greeting in a channel it is added to, it sends a direct message to the user that sent the greeting. I have looked at Issue #431 and wrote a bot. Here is my code: var builder = require('botbuilder'); var restify = require('restify'); // Setup Restify Server var server = restify.createServer(); server.listen(process.env.port || process.env.PORT || 3978, function () { console.log("%s listening to %s", server.name, server.url)

Does Microsoft chatbot(Node.js) support multiple language in the single LUIS.AI application?

帅比萌擦擦* 提交于 2019-12-12 19:02:27
问题 I have a chatbot which is built in Microsoft bot framework with Node.js and I integrated this bot with a NLP framework called LUIS.AI intelligence to handle the user conversation based upnon their intents and entity. Here I need this bot to support multiple languages in the single LUIS application but it does not allow us to do so. Is there any hacky method to support multiple languages in a single LUIS application or in code level.? 回答1: Code Level: You can create multiple LUIS applications

Is there an official LUIS API that returns the total number of Utterances for each intent?

柔情痞子 提交于 2019-12-12 06:58:39
问题 I noticed the LUIS portal (www.luis.ai) shows Intents with the total number of Utterances for each. I'm looking to build a similar page in my application, although Microsoft's published APIs don't have a method that returns the total utterances per intent. We noticed the LUIS dashboard is using this API to pull the data, but the method is not published in their docs: https://westus.api.cognitive.microsoft.com/luis/webapi/v2.0/apps/{appId}/versions/{version}/stats/labelsperintent Does anyone

Luis only picking up 2 intent when published in azure but is working perfectly in bot emulator

大城市里の小女人 提交于 2019-12-12 06:50:01
问题 I have a bot that is working fine in Bot emulator with all its LUIS,QnAMaker and Dispatch. I have many intents including Help which all works perfectly in Bot Emulator but when published on azure and messenger, Anything i type it only returns two intents, Cancel and sometimes None Intent. Bot emulator In Messenger after publishing in Azure My LUIS intents MainDialog: (Dialog A and Dialog B is same as maindialog but inherits ComponentDialog instead of InterruptDialog) public class MainDialog :

use case for LUIS (Microsoft Cognitive Service)

瘦欲@ 提交于 2019-12-12 06:49:37
问题 we want to use LUIS to get the entities and intent from a user question and identify the entities that belong to our domain, so what we're doing is training LUIS with a lot of entities that comes from our context domain. Is this a valid and "correct" use of LUIS? Thanks 回答1: I'm creating a search engine to find in medical documents with a very specific terms. For this I'm training LUIS with this kind of words or tags as "entities". Yes you are right. The medical term you are referring to are