Import and Export a Knowledge Graph¶
You can build a Knowledge Graph in a CSV or JSON file and upload it to a VA. Similarly, you can export the existing Knowledge Graph to CSV or JSON. Exporting a Knowledge Graph helps you edit it in a spreadsheet or import it to another VA.
The allowed limit is a maximum of 50k FAQs spread across a maximum of 20k nodes.
The XO Platform allows you to import any VA with a file size up to 50MB. If you try to import a bot with more than 50MB size, the import process fails.
Import¶
Caution
Importing a Knowledge Graph replaces the existing one. Please proceed with caution and follow the steps below carefully.
To import a Knowledge Graph, follow the steps below:
- To import the KG and go to Virtual Assistant > Knowledge AI > FAQs.
- In the top right corner, click more icon.
-
In the Import FAQs dialog, do one of the following based on the scenario:
-
Drag and drop the file to the Import window or click Browse to locate the file.
- Click Next to begin the import.
After the import is complete, the success message appears in a dialog box. 8. Click Done.
The hierarchy is displayed in the Knowledge Graph which you can edit and use to train your VA.
Export¶
To export a Knowledge Graph, follow the below steps:
- To export the KG and go to Virtual Assistant > Knowledge AI > FAQs.
-
Based on the preferred format: click Export JSON or Export CSV.
Note
Please read the warning message shown below before clicking Confirm. To learn more about caching challenges and strategies, click here.
When these steps are completed, the Knowledge Graph file is downloaded to your machine.