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
- Open the Knowledge Graph.
- On the top right corner of the Bot Ontology, click the icon.
- Click Import Ontology.
- On the Import dialog, click Proceed.
- On the next screen, click Sample JSON. The JSON file is downloaded to your local computer.
|FAQ||Array||Consists of the following:
|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.|