...
Overview of Orbita Answers
Excerpt | ||
---|---|---|
| ||
One of the most common uses for chatbots and smart assistants is answering questions posed by end-users. “Where is the hospital located?” “How much is my co-pay?” “What are the early signs of breast cancer?” To answer questions like these, a bot must do a few things:
While Orbita supports several different approaches for implementing a question-answering bot, in almost all cases the recommended approach is to use Orbita Answers. Orbita Answers uses a fact-based approach to question-answering, which means that answers to questions are drawn from a structured knowledge base of information managed within Orbita. The knowledge base organizes information by facts. A fact is simply a structured content item containing information about a specific topic. A fact also has a set of questions associated with it. To take an example, imagine a knowledge base of first aid information. The facts within this knowledge base might cover topics such as “influenza” and “sunburn.” Within the topic of influenza, there might be multiple facts regarding treatment, symptoms, risk factors, etc. A single fact about influenza treatment would have questions associated with it like:
|
Understanding the Knowledge Base
...
For example, continuing with the first aid example, a knowledge base containing facts about the flu and sunburn might look like:
Article | Questions | Topic | Relationship |
---|---|---|---|
Influenza symptoms include fever, chills, muscle aches, cough, congestion, runny nose, headaches, and fatigue. |
| Influenza | Symptoms |
The flu is treated primarily with rest and fluid to let the body fight the infection on its own. |
| Influenza | Treatment |
Take frequent cool baths or showers to help relieve the pain. Use a moisturizer that contains aloe vera or soy to help soothe sunburned skin. |
| Sunburn | Treatment |
Table 1: Example table representing a knowledge base of first aid information
...
Click on the Questions tab
Enter in questions capturing the various ways someone might ask for information covered in the article. For example, if the article includes location information for a hospital, questions might include “Where is the hospital located?” “Where’s the hospital?”, etc.
Click Save button
...
You can use slots/terms in these questions. For example, the user might ask one of the below questions with the same intent.
Where is the hospital located?
Where is the health center located?
Where is the health facility located?
You can club all these into one question using a common slot/term that contains all the variations of the word hospital as shown below.
...
This slot/term can be used in the questions.
While adding questions use the “@” character. You will see a drop-down listing all the slots/terms.
Select the slot/term.
Best Practices for creating Facts
...
The new tab Intents will capture all the Auto-generated intents for each fact.
...
Refer, How do I create an intent? and How to use Annotations in Intents for more information on intents.
Setting a Primary Topic
In most cases, a knowledge base will be created to capture information on a specific topic. For example, imagine a knowledge base created to contain information about sleep & wellness. Topics in this knowledge base might include general information about sleep or specific information about insomnia treatment.
...