Training Resources
According to Juniper Analytics, there will be a three-fold rise in Conversational bots by 2023. The demand is high since these bots provide a communication experience that mimics the behaviour of a human agent. These bots work on advanced NLP and are trained on FAQs to provide relevant information for a user query,
Advanced NLP enables users to add entities to FAQs to improve the search capability and also remove redundancy from the bot. Engati’s NLP Engine e-sense processes the query asked by the user and covers spelling and grammatical mistakes that a user may make while asking a question to the bot.
The system then sends a match percentage with an answer already defined and based on that provides an answer.
Training a bot means in cases where a wrong answer is triggered or a default response is triggered can be remapped to the correct answer which will return the desired output in the next attempt. For Instance, if a user asks a ticket booking bot about available shows and the bot does not provide a valid answer the bot can be then trained with a new response or tag it to an existing relevant response to provide the required if the same query is triggered again.
This functionality is provided to all users. A user can train a selected bot by clicking on the train button on the left panel and then selecting Responses.
For the response that the user wants to train the bot, he/she needs to navigate to Train > Responses & Training.
Terms | Definitions |
NLP | Natural Language Processing is the ability of a computer program to understand human language as it is spoken. NLP is a component of artificial intelligence (AI) |
Entities | It is a data point or value which you can extract from a conversation/user query. This helps you to customize what kind of information you are collecting or how you want to associate it or want to add some custom value to it. For more information on entities and intents . |
FAQ | Frequently Asked Questions (FAQs) are the standard queries relevant to a product or a service. For more Information on FAQs . |
- A user types in a query/question on your bot
- Your bot gets the closest matching query saved by you in your FAQ module
- Bot triggers an answer mapped to that query
- You can monitor the responses under the Responses section of the Train tab
- For an unsatisfactory/no response situation, click Train from the right side menu option, to provide the right/improve the answer for the given query.
Step 1: Navigate to Train > Responses & Training.
This tab will list all the queries with date and time information that are asked on the bot. You can see the query asked by the user, the closest matching query listed by the system and the response provided for the same.
Step 2: From the option on the right side of the FAQ response you want to train your bot for, click Train.
Step 3: The modal that opens will show you the question and the closest matching answer.
Solution 1: Add a new response to the question
- Click on new
- Select a response type as Message or path
- Add new answer
Solution 2: Add more variations to the question so that points to the right answer
- Click on the (+ Add Question) sign below the questions tab and add more variations to the same question.
Variations are added to nullify inconsistencies in queries. A user may ask the same question in a different manner than the other.
Solution 3: Add Entities
Entities are data points or values which you can extract from a conversation/user query. This workflow allows you to customize what kind of information you are collecting, how you want to associate it and add your own custom set of values if needed.
Example: Let’s consider a use case where you want to trigger a standard response for a set of values. In this case Course enrolment process. We can create a custom entity named course which can trigger a standard response for all course-related queries.
Select the word that will be substituted by one of the entities based on the end user's query. Initially, include the entity created in the entity section, then double-click on the custom value provided in the question section. A dropdown menu will appear, allowing you to select your entity.
Context of the overall conversation can also play a vital role while training a bot for a particular query. If a bot builder/owner wants to be redirected to the point in the conversation where this query was encountered by the bot, he/she can do that by clicking the button on the right side of the query and clicking on View Conversation.
Illustration: Train a bot to handle the variation of queries mentioned above
FAQ added in the bot: How can I book my ticket using your bot?
Test Query1: How can I book my ticket using your bot?
Test Query2: Can I make a reservation on your bots?
Test Query3: Can we reserve our seats on the bot?
Test Post-training
Test Query1: How can I book my ticket using your bot?
Test Query2: Can I make a reservation on your bots?
Test Query3: Can we reserve our seats on the bot?
We can see that the bot returns the trained response now.
That covers everything about Response and Training. I trust that reading this documentation has provided a clearer understanding of how to make the most of the Response and Training section on our platform.
If you face any issues or queries please reach out to us at [email protected].