tnguyen131199
tnguyen131199

Reputation: 1

How to give customized answers with LUIS and Azure Bot

I am working on creating a new hybrid chatbot. Together, we defined that the most frequently asked questions for this chatbot should be order status, stock status, and shipment tracking questions.

What is the current status of my order [Order ID]?

What is the stock of [Product ID]?

etc,...

With these above-mentioned questions, I want the bot to give a customized link with the given entities [Order ID] and [Product ID].

To be more precise, if the question is "What is the stock of SA1234?", the chatbot should be able to recognize that the question is about the stock, then it can extract the string "SA1234" and give the respective link to the stock of SA1234.

Have anyone worked on a Chatbot designed for the same purpose, using LUIS and Microsoft Azure bot? If yes, can you provide me with more info, documentation, or code source for this?

Upvotes: 0

Views: 276

Answers (1)

Rajeesh Menoth
Rajeesh Menoth

Reputation: 1750

As per your requirement this is possible in Azure chatbot using LUIS app !!

Create a LUIS application in LUIS Portal

Click on the "New app" and give the meaningful name for the requirement.

enter image description here

Create intent in LUIS App

We need to identify a specific information about a category then in LUIS "intent" is the special term using for this implementation.

enter image description here

The chatbot should be able to recognize that the question is about the stock ?

Yes!! This is possible, You should create a category or "intent" in LUIS application E.g "stock" name as intent. Then add couple of questions or utterances related to Stock in "stock" intent.

enter image description here

If the question is "What is the stock of SA1234? can extract the string "SA1234" ?

Yes, Here you need to create LUIS Regex entity with proper regular expression for stock extraction ("SA123").

enter image description here

Output

enter image description here

Reference :

  1. Luis entity
  2. LUIS App

Upvotes: 1

Related Questions