How to import or export a knowledge base Take Blip January 15, 2021 21:52 Updated If you already have a knowledge base (set of intentions + entities) and want to bring it to Blip, just use the intent and entity import tool. In the same way, it is also possible to export the entire contents of your knowledge base. Exporting your knowledge base The process of exporting data from your set of intentions and / or entities, previously registered, can be done as follows: Access the Portal, choose your bot and select the Artificial Intelligence module. To export intentions, select the Intentions option, on the left side menu, click the more options button and select Export intentions. Likewise, to export entities, select the Entities option, on the left side menu, click the more options button and select Export entities. Understanding the structure of exported files The export process generates 2 files in the CSV format (comman separated value), blip-entities.csv and blip-intentions.csv, with the data of entities and intentions of the model, respectively. The intent file (blip-intentions.csv) has 2 columns. The first of these has the name of the intention and the second an example of user input, as shown in the figure below. A hypothetical model that has an intention with 6 examples of user input, will represent 6 lines in the intent export file. The entity file (blip-entities.csv), in turn, has 3 columns. The first column has the name of the entity, the second the value that represents the entity and the third column has all synonyms related to a given value, separated by the / character. The image below shows an example of the entity file. Importing a knowledge base To import a pre-existing knowledge base, Blip requires 2 tasks. The first one is the construction of the blip-intentions.csv and blip-entities.csv files (explained above), in the format expected by Blip. The second step is to import the prepared files. To do this, access the Portal, choose the bot and select the Artificial Intelligence module. Select the Intentions (or Entities) menu, on the left side menu, click the more options button, select Import intentions (or Import entities) and upload the file blip-intentions.csv (or blip-entities.csv).