1. Home
  2. Kore.ai Conversational Platform
  3. Bot Builder Tool
  4. Develop
  5. Knowledge Task
  6. Creating Bot Ontology in JSON

Creating Bot Ontology in JSON

Kore.ai allows you to create the Bot Ontology in JSON and upload it to the Knowledge Graph. You can download a sample JSON from the bot to understand its structure. Follow the instructions below to build your Bot Ontology using JSON:

Downloading the JSON sample

  1. Open the Knowledge Graph.
  2. On the top right corner of the Bot Ontology, click the icon.
  3. Click Import Ontology.
  4. On the Import dialog, click Proceed.
  5. On the next screen, click Sample JSON. The JSON file is downloaded to your local computer.

JSON Reference

Property Name Type Description
FAQ Array Consists of the following:

  • Question
  • Answer
  • Leaf and parent terms up to the First-level node in the path
  • Alternative question
Question String Primary question; included in the FAQ array.
Answer String Bot response; included in the FAQ array.
Terms Array Includes the leaf node to which the question is added, and its parents up to the First-level node.
Alternate Questions Array Consists alternative question and terms. Include terms from leaf to the First-level node.
Synonyms Object Consists arrays of terms and their synonyms.
Unmappedpath Array Consists arrays of nodes that do not have any questions, and all their parents up to the First-level node.
Classes Object Consists of class names as keys and array of the utterances as values.
Was this article helpful to you? Yes 2 No