Skip to main content

LUIS

Microsoft LUIS is a machine learning service which is powered by a natural language processing engine. You can build enterprise-ready, custom AI models and adopt it to any supported messaging platform through WOZTELL.

You need to first go to LUIS to create an App and then fill out the necessary information on our builder for setup: Name, Primary Key and App ID.

LUIS Setup

  1. Sign in with your Microsoft Azure Account
Create Microsoft Account
Create Microsoft Account
  1. Create a new App on LUIS and copy the "Name".
Create App
Create App
  1. Inside the app, click "Manage" - "Azure Resources"
  2. Find "Primary Key" and copy it. This is the Subscription Key
Copy Primary Key
Copy Primary Key
  1. Head to "Settings" and copy the "App ID". This is the App ID.
Copy App ID
Copy App ID

You can save the "Primary Key", "App ID" and your App "Name" in a file for the use of connecting LUIS to Bot Builder later.


Connect LUIS on Bot Builder

  1. Select Integrations at the top menu bar.
  2. Select + Integration button to add new integration.
Integrations
Integrations
  1. Select LUIS and click Next
Add Integration
Add Integration
  1. Fill in the "Name" (your LUIS App Name), "Primary Key", "App ID" and "Region".

  2. Click Save to connect to LUIS.

LUIS interface
LUIS interface
note

Pleaes note that WOZTELL core version v2.5 or above supports LUIS v3.0 API, you can toggle it on under "Production".

LUIS v3.0 API
LUIS v3.0 API

Usage

There are two things you need to manage to create a functioning LUIS chatbot:

  • Perform training on LUIS console
  • Set up responses to different intents on WOZTELL

For training on LUIS, you may refer to LUIS's documentation.

When you have completed setting up intents, you can copy and paste the created intent names from LUIS console to Trigger and that node will be processed through LUIS. Click here for more details on how to set up a chatbot with NLP capability.


LUIS Trigger

  1. Select Triggers at the top menu bar or click + New Trigger button at the node inspector to create a trigger
Add Trigger
Add Trigger
  1. Select + Trigger button to add a new Trigger
  2. Select LUIS in the Basic tab to add a LUIS trigger
  3. Copy and paste the intent name from LUIS console onto the trigger
Add Trigger & Paste Intent
Add Trigger & Paste Intent
  1. You can now select the LUIS trigger for your node at the Trigger section
Trigger Created
Trigger Created
tip
  • Remember to change the trigger name and then click "Save" to save the new trigger