How do I set up Answers?

Orbita Answers uses a highly interconnected database that stores, processes, and queries connections efficiently. Answers to questions are based on stored context and related topics.

 

Setting up Answers

  1. Login to Experience Manager.

  2. Select a project.

  3. In the side menu, select Agents > Answers.

  4. Create a Knowledgebase. You can select Default from the drop-down to list all the schemas.
    Note: Do not create two knowledge bases with the same name. This will create conflicts while deploying the project to Alexa/Dialogflow.

  5. You can create your own schema and assign it to your knowledge base so that you can define your own field in the Articles.

  6. In the Knowledge bases listing page, click on the vertical ellipses button and select settings.

  7. The following screen shows the Interrogative, Topics, and Relationships tabs.

  8. Select the tab to which you want to add the data and click Add (+). You can structure and manage data using:

    • Topics. Topics the users might be interested in such as Cancer, needle stick, diarrhea, and so on.

    • Relationships. Aspects of a topic such as Symptoms of cancer, causes of diarrhea, and so on.

    • Interrogative. Relate an interrogative word to a relationship such as What is as Definition.

  9. Clicking on the Knowledge base will take you to the Facts screen.

    • Facts contain detailed information about the Topic – Relationship(s) pair(s).
      For example, for Diarrhea - Cause (Source, Root cause) Pairs:
      You can ask this question in different combinations of the Topic and Relationships such as:

      • What are the causes of Diarrhea?

      • What are the root causes of Diarrhea?

      • What are the sources of Diarrhea?

      These questions are answered with the following content from the fact.

      You may experience diarrhea as a result of several conditions or circumstances. Potential causes of diarrhea include:

      • food intolerance, such as lactose intolerance

      • food allergy

      • an adverse reaction to a medication

      • a viral infection

      • a bacterial infection

      • an intestinal disease

      • a parasitic infection

      • gallbladder or stomach surgery

Creating a Topic

  1. In the Knowledge bases listing screen, click on the vertical ellipses button of a Knowledgebase of your choice.

  2. Click Settings.

  3. Open the Topic tab and click Add (+).

  4. In the pop-up window, enter the Topic Name and click ADD.

  5. You can add synonyms of the Topic by clicking Add Synonyms.

Creating related topics

You can relate each topic to other topics.

Open the Related Topics tab and click Add (+). The topics that you add here should already be present in the Topics list. You must select a topic from the drop-down that is listed.

Relationships

Open the Relationships tab and click Add (+). In the pop-up window, you can create a new Relationship.

You can add or change the synonyms of the relationship word by clicking on the dictionary icon. You must add at least one synonym on the Relationships page.

If there is no Relationship added to that topic, the reply from the bot will be “Sorry, I understand you asked about ‘Topic name’, but I don't have any information about that topic yet.

Facts

You must create at least one Topic and one Relationship to create a Fact.

  1. Open the Facts tab and click Add (+).

  2. Select the topic and relationships you want to link with the fact.

  3. Add your content on the New Fact page.

Interrogative

You can assign any question word with a relationship. By doing so, the user can ask a question without the relationship word in their question.

For example, you can assign “What is” or “What are” for the Relationship “Definition”. Now, the user can ask “what is {topic}?” and the bot understands it as “what is the definition of {topic}?”.

To add an interrogative word, open the Interrogative tab in the Knowledgebase, open the Interrogative tab and click Add (+).

You can add the synonyms of the interrogative words on this page. The question words point to only one Relationship.

The changes in the interrogative are reflected only after deployment.

Uploading the CSV file

To create multiple topics, relations, interrogatives, and connected facts, you can upload data from a comma-separated value (CSV) file.

  1. Login to Experience Manager and Select a project.

  2. Select Agents > AnswersBeta from the side menu.

  3. Select the Knowledgebase, click on the vertical ellipses button, and select Import or Export from the drop-down menu.

    • To export the data to a .csv file, click Export.

    • To import a file, drop your .csv file in the area provided or click on the area provided to open the navigation window. After the file is selected, click Next.

    • Reset & Upload removes the existing data and upload the data from the file.

    • Click Learn more about CSV data to know how to construct/format the file.

Related Articles