This project is part two of my RSA inventory and Azure chat bot project. This pages idea is to be company's homepage where you can talk to the chat bot called Ramses the Inventory Assistant. You can ask about bot about the company and get information about the company's inventory.
The page itself is created using React, Webpack and CSS. It is created mobile first.
Bot is created using Microsoft Azure Bot Services. It has been build with Azure Bot Composer, which is visual coding tool. When I first started creating bot, I noticed that there wasn't many tutorials for coding bot using Node.js only C#. Because I was not familiar with C#, I decided to use Bot Composer. In hindsight, I think it would have been wiser and quicker to learn C# than create the bot using Composer.
Bot is connected to QnA Maker Knowledge Base and Azures Language Understanding (LUIS).
The bot is built around different dialogues and triggers. Dialogues are coded conversations between a bot and users. In the dialog, the bot can ask the user something or just provide information. Triggers are created using Azure's Language Understanding (LUIS) service. They are created by teaching LUIS different words and phrases and giving the trigger a conditional statement. When LUIS recognizes a word / phrase, it gives it a confidence score from 0-100%. The more confident it is about user intent, the higher the score. The conditional statement is there to tell LUIS that, if your confidence score is higher than this (example 60%) fire this particular dialog.
The main functionality is that the bot can connect the user to the inventory database in MongoDB. Through bot, user can get specific items, create new ones or delete them. This is done by using REST API calls through which bot has access to the database.
Bot can also tell information about the company and do little chitchat.
To get access to inventory ask:
- Inventory management
- Add new item to inventory
- Delete
- to remove item from inventory
- Get item from inventory
Ask about the company:
- Tell me about the company
- Who is the owner of the company
Chitchat with the bot:
- Hello
- How are you
- What is your name
- Who created you
- Microsoft Azure
- Azure Bot Services
- QnA Maker
- LUIS
- Bot Composer
- Bot Emulator
- React
- Webpack
- CSS