In Botmock, we strive everyday to make the life our our users easy. We have noticed that there can times when you have some of the content outside of Botmock, which you really want to import into your projects. Intent and entities are those key things that are often stored in excel documents. It's a pain to copy and paste the intents and training data one by one and same with entities.

Today we are happy to announce that we have made it seem less to import functionality for intents and entities via CSV file. 🎊🎊🎊🎊🎉🎉🎉🎉

Now you can simple go intents / Entities and import a csv file top populate your intents / entities.

Importing Intents

These are the steps to import intents.

  1. Open a project.
  2. From the left-hand features tabs, select "Intents".
  3. Press import from the top-right.
  4. A popup modal is presented with two options. "Import From CSV File" and "Import Existing Intents (Shared Intents)".
  5. Press "Import From CSV File" option.
  6. Once the button is pressed a file uploader is presented. Select the intents CSV file that you want to import.
  7. Press "Import Intents" and VOLA! you are intents are imported. YAY! 😀😀

Note: We expect the CSV file to be in the following format. 

<Intent 1>,<training phase 1, training phase 2>
<Intent 2>,<training phase 1, training phase 2>
<Intent 3>,<training phase 1, training phase 2>

Importing Utterances

We also support importing utterances/training data via CSV file to an existing intent. The steps to do this are as follows:

  1. Open Project.
  2. From the left-hand features tabs, select "Intents".
  3. Click "Edit" on an intent.
  4. At top right there is an option "Import from CSV"
  5. Click "Import from CSV"
  6. An upload modal is appeared.
  7. Upload the CSV file and then you would be displayed with an option to either replace your existing training data or append it.
  8. Click on "Import Utterances" on the bottom left of the modal to import the utterances. 

Note: We export the CSV file to be in the following format.

<Training phase 1>
<Training phase 2>
<Training phase 3>

Importing Entities

These are the steps to import entities.

  1. Open a project.
  2. From the left-hand features tabs, select "Entities".
  3. Press import from the top-right.
  4. A popup modal is presented with an option. "Import From CSV File".
  5. Press "Import From CSV File" option.
  6. Once the button is pressed a file uploader is presented. Select the entities CSV file that you want to import.
  7. Press "Import Entities" and just like you have imported entities from a CSV file. Pretty neat eh! 😎

Note: We expect the CSV file to be in the following format. 

<Entity 1>,<Value>,<Synonym 1, Synonym 2>
<Entity 2>,<Value>,<Synonym 1, Synonym 2>
<Entity 3>,<Value>,<Synonym 1, Synonym 2>

Importing Values and Synonyms

We also support importing entity values and synonyms via CSV file to an existing entity. The steps to do this are as follows:

  1. Open Project.
  2. From the left-hand features tabs, select "Entities".
  3. Click "Edit" on an entity.
  4. At top right there is an option "Import from CSV"
  5. Click "Import from CSV"
  6. An upload modal is appeared.
  7. Upload the CSV file and then you would be displayed with an option to either replace your existing data or append it.
  8. Click on "Import Entities" on the bottom left of the modal to import the entity values and synonyms. 

Note: We expect the CSV file to be in the following format.

<Value>,<Synonym 1, Synonym 2>
<Value>,<Synonym 1, Synonym 2>
<Value>,<Synonym 1, Synonym 2>

And with that, happy prototyping and importing! As always, if you have questions or feedback, please email us at help@botmock.com and we will get back to you.

Did this answer your question?