ImportIntents
Imports intents into a workspace.
Path Parameters |
---|
namespace string โ REQUIREDNamespace of the workspace. |
playbook_id string โ REQUIREDUnique identifier of the workspace. |
Request body โ REQUIRED | ||||
---|---|---|---|---|
namespace stringNamespace of the workspace. | ||||
playbook_id stringUnique identifier of the workspace. | ||||
format enumFormat of the imported file. Values: 1 = CSV, 2 = Rasa 1 Markdown, 3 = Rasa 2 YAML, 4 = Botpress, 6 = Dialogflow ES | ||||
format_options IntentsDataOptions
| ||||
data bytesBytes of the file to import. The format is the one requested through the | ||||
clear_workspace booleanClears workspace intents before importing. | ||||
soft_fail booleanReturns fatal problems via the |
Response Body | ||||
---|---|---|---|---|
imported_intent_count uint32Number of intents that were imported. | ||||
imported_training_phrase_count uint32Number of training phrases that were imported. | ||||
problems ValidationProblem[]List of problems that occurred while validating the file format. This list may not be exhaustive. If it's been limited, the
| ||||
total_problems uint32Indicates total number of problems at import. |