NLP import & export

Import and export intents, expressions and entities to and from .csv files, under your NLP tab.

Import/export intents

You can import and export intents from your Expressions tab. Intents and expressions go along inside a .csv file.

Export intents

To export intents:

  1. On the top right corner, click on Export.

  2. Click on Start export.

  3. Tick the intents that you would like to export.

  1. Click on Export intents.

  1. When the spinner has finished, click on the download button just next to the export to download your intents.

  2. Open your export as a .csv file.

Import intents

To import intents:

  1. On the top-right corner, click on Import.

  1. A modal pops up. Make sure that you read it carefully before clicking on Upload CSV file.

  2. Choose your file from your desktop.

  1. Read the modal carefully before choosing whether you want to add or overwrite your current intents. Select the radio button accordingly.

Be very careful when chosing to replace your model because this cannot be undone. It's best to have a backup of your data before applying this step.

  1. Click on Import.

How to check for duplicate expressions

Chatlayer's NLP engine detects and rejects duplicate expressions, so use care when importing a large number at once. When adding expressions manually, the system checks for duplicates. This also applies to new import files, but identifying duplicates can be challenging. Follow these steps to spot duplicate expressions:

  1. Make sure you export your current expressions.

  2. Now add your new expressions with the one that you just exported. (Make sure you don't replace your backup that you just downloaded).

  3. Make sure that you have only unique expressions (Using tools like Excel helps here)

  4. Delete all expressions from Chatlayer platform.

  5. Import the new CSV you just created.

  6. Update the NLP

With these steps, you should have all the expressions imported without any duplicates.

Import/export entities

You can import and export entities from your Entities tab.

Export entities

To export entities:

  1. Click on the Export button.

  2. Open your downloaded .csv file.

Import entities

To import entities:

  1. Click on the Import button.

  2. Make sure to carefully read the modal so that you provide a .csv file with the appropriate format.

  1. Click on Upload CSV file.

  2. Choose your file from your desktop.

  1. A modal appears. Carefully read it before choosing to either replace the current entities or append your entities to the current ones.

  2. Click on Import.

Last updated