Importing Intents From File
Intents and expressions can be massively imported from a file to avoid manual creation on every new chatbot and speed up each training phase.
The import file must be a comma delimited CSV file using some or all of the columns specified below.
Column
Description
Required
key
The key of the intent
No
name
The name of the intent. If the intent exist, it will be overwritten.
Yes
locale
The locale of the intent, according to the table below
Yes
expression
Expression associated to the intent.
Yes
activation
The activation mode of the intent.
No
activation_confidence
The confidence of the automatic or reply activation, expressed with a number from 0 to 99.
No
auto_reply
The text that should be used as a direct reply when automatic activation is detected
No
behaviour
The name of the target behaviour when using automatic redirection
No
interaction
The name of the target interaction when using automatic redirection
No
All imports are additive to the currently existing intents and expressions.
The file must contain column names. The import will start from the second line as the first line is assumed to contain column names. If your file is using special characters such as grave, acute accents or other symbols make sure that the physical file encoding is set to UTF-8.
Locale string must be specified according to the following table:
Locale
Language
en
English
es
Spanish
de
German
it
Italian
fr
French
Copy link