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 7 = Humanfirst JSON |
format_options IntentsDataOptionshierarchical_intent_name_disabled booleanDisables intents hierarchy encoding via the intent names. Ex: 'Parent / Sub-parent / Intent' | hierarchical_delimiter stringOverrides the default delimiter used for intent hierarchy. Default is '--' for Botpress and Dialogflow, '+' for Rasa, '/' for CSV | zip_encoding booleanIndicates that the intents are zipped and may be splits in different files. | hierarchical_follow_up booleanTo be used with Dialogflow to use intents hierarchy using intents follow-up. | include_negative_phrases booleanExport negative phrases as well. |
|
import_options ImportOptionsclear_intents booleanClears workspace intents before importing. | clear_entities booleanClears workspace entities before importing. | clear_tags booleanClears workspace tags before importing. Note: should not be used in combination with extra_intent_tags or extra_phrase_tags since we will clear potentially referenced tags. | merge_intents booleanTries to merge intents into existing ones if they can be found in the workspace. | merge_entities booleanTries to merge entities into existing ones if they can be found in the workspace. | merge_tags booleanTries to merge tags into existing ones if they can be found in the workspace. | extra_intent_tags TagReference[]Add extra tags to imported intents. id stringUnique identifier of the tag. | name string(Optional) Only used when importing data that tag IDs are not defined yet. This will not be filled when requesting tagged objects. | protected booleanFor internal use. There is no guarantee that this will be properly filled. |
| extra_phrase_tags TagReference[]Add extra tags to imported phrases. id stringUnique identifier of the tag. | name string(Optional) Only used when importing data that tag IDs are not defined yet. This will not be filled when requesting tagged objects. | protected booleanFor internal use. There is no guarantee that this will be properly filled. |
|
|
data bytesBytes of the file to import. The format is the one requested through the format field in request. |
clear_workspace booleanClears workspace intents, entities & tags before importing. Deprecated: use import_options |
clear_intents booleanClears workspace intents before importing. Deprecated: use import_options |
clear_entities booleanClears workspace entities before importing. Deprecated: use import_options |
clear_tags booleanClears workspace tags before importing. Note: should not be used in combination with extra_intent_tags or extra_phrase_tags since we will clear potentially referenced tags. Deprecated: use import_options |
merge_intents booleanTries to merge intents into existing ones if they can be found in the workspace. Deprecated: use import_options |
merge_entities booleanTries to merge entities into existing ones if they can be found in the workspace. Deprecated: use import_options |
merge_tags booleanTries to merge tags into existing ones if they can be found in the workspace. Deprecated: use import_options |
soft_fail booleanReturns fatal problems via the problems field instead of gRPC errors. Temporary flag until front-end properly handles soft failures instead of gRPC error. |
extra_intent_tags TagReference[]Add extra tags to imported intents. Deprecated: use import_options id stringUnique identifier of the tag. | name string(Optional) Only used when importing data that tag IDs are not defined yet. This will not be filled when requesting tagged objects. | protected booleanFor internal use. There is no guarantee that this will be properly filled. |
|
extra_phrase_tags TagReference[]Add extra tags to imported phrases. Deprecated: use import_options id stringUnique identifier of the tag. | name string(Optional) Only used when importing data that tag IDs are not defined yet. This will not be filled when requesting tagged objects. | protected booleanFor internal use. There is no guarantee that this will be properly filled. |
|