Sample for using Luis with Bot Framework V4 in a simple banking scenario
This repo is based on a preview version of the Bot Framework and is not a good reference right now. Work is underway to upgrade to the final version and this message will be removed when that work is complete. Use the official samples in the meantime: https://github.com/Microsoft/BotBuilder-Samples
This is a very simple bot used to demonstrate several Cognitive Services Luis capabilities with the C# Bot Framework V4 SDK and Azure Bot Service.
This was written in July 2018 whilst the V4 SDK is still 'preview' so may not be accurate in the future.
This sample demonstrates:
LuisRecognizer
not LuisRecognizerMiddleware
This sample leans heavily on the ContosoCafe-5-DialogsWithLUISEntities example but simplifies it and focuses on just the Luis aspects.
The bot is built around a very typical banking scenario which has two main capabilities:
Simple intent that displays a made-up balance for the user's account
To invoke the Check Balance feature
Balance
intentTo make a transfer, the user must provide four different entities. These can be included in the initial utterance; if they are not, the bot will use a dialog to complete them:
The Make a Transfer feature can be invoked using natural language including some, all or none or the required entities. Here are some examples:
Transfer
intent without any entities.Transfer
intent with the AccountLabel
entity.Transfer
intent with the AccountLabel
and Money
entities.Transfer
intent with the AccountLabel
, Money
and Date
entities.Transfer
intent with the AccountLabel
, Money
, Date
and Payee
entities.