1. Home
  2. Kore.ai Conversational Platform
  3. Bot Builder Tool
  4. Develop
  5. Knowledge Task

Knowledge Task

You can add a Knowledge Graph to an existing or new Bot. So, if you haven’t already created a bot, refer to Creating a new Bot.

Creating a Knowledge Graph involves the following steps:

Step 1: Add Knowledge Graph to Bot

To open the Knowledge Graph builder:

  1. Log in to Kore.ai Bot Builder and open the bot to which you want to add the Knowledge Graph.
  2. On the Bot main menu, click Knowledge Collection tab and then click Create on the right-hand screen.

Step 2: Create the Ontology

By default, the name of the bot becomes the root node of the ontology and you can edit this. Create the rest of the nodes below the root node as follows:

  1. On the top left side of your Bot Ontology window, hover the mouse over the root node.
  2. Click the plus icon. A box appears below to add a node.
  3. Type the name of the node in the box and press enter.

    Note: This node becomes a child for the root node and can be referred to as a First level node.
  4. Repeat steps 1 to 3 to create other First-level nodes.
  5. After you create First-level nodes, create child nodes as follows:
    • Hover your mouse over any First-level node, and click the icon to create its child node.
    • You can create a child node for any level nodes by hovering the mouse over it and clicking the icon.

Step 3: Add Question and Answers

The next step is to add relevant question-answer sets to the nodes in the ontology. As you enter these questions, pay attention to terms that you can further add to your ontology.

Adding Questions

To enter the question and answer for a selected node:

  1. On the top left side of your Bot Ontology window, click the node to which you want to add questions.
  2. On the top right side of the Bot Ontology, click Add Q&A.
  3. In the User Says box, enter the question that describes the user’s query.
  4. Optionally, if there are alternatives to the same question, click the plus icon to add the other question. Repeat the step for all the alternative questions you want to add.

Note: By default, questions added to a child node are visible for all its parent nodes in the path, up to the root node. If you do not want the questions from child nodes to be seen beyond a certain parent node, click the following icon on the Questions panel of the selected parent:

The questions from all its child nodes will not be visible to the selected parent node and all its parent nodes.

Adding Responses

For the Response, you can either invoke a bot task as the response or compose a simple or channel-specific reply.

Send Message

Use this option to compose a simple text reply or advanced channel-specific messages.

You can add channel-specific responses to questions in your Knowledge Graph. By varying the responses, you can make the language and formatting to leverage the strengths of the selected channels.

To add a channel-specific response, select the channel from the channels list before typing the response as shown below.


Note: We recommend you to add one response for All Channels so that it can be used in the absence of a channel-specific response for a channel.
Sometimes the responses to FAQ can be quite lengthy or may include nice-to-have information along with the primary response. To improve the readability of such responses, you can split information into multiple responses that go as separate messages one after another by clicking the chat icon in the top right corner of the response box.

Optionally, if there is an alternative response, click the plus icon to add it. Repeat the step for all the alternative responses you want to add.

Run a Task

You can link a Dialog task as a response to an FAQ. It helps you to leverage the capabilities of the Knowledge Graph and Dialog tasks to handle FAQs that involve complex conversations.
Click the button and select a task from the drop-down list to add it as a response to the question.
You can improve the performance of your Knowledge Task by adding tags, synonyms, classes and more. Refer here to know more.

See Also:


Was this article helpful to you? Yes 5 No