Created
March 7, 2020 16:57
-
-
Save wrathagom/a1350eb518046a3b3273f76631964d88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"gravatar": 6, | |
"uiColor": "#ff5722", | |
"agentName": "Pizza Bot", | |
"description": "Just the typical pizza bot demo.", | |
"language": "en", | |
"timezone": "UTC", | |
"useWebhook": false, | |
"usePostFormat": false, | |
"multiCategory": false, | |
"categoryClassifierThreshold": 0.5, | |
"fallbackAction": "Default Fallback Action", | |
"welcomeAction": "Default Welcome Action", | |
"status": "Ready", | |
"lastTraining": "2020-02-05T03:32:01Z", | |
"extraTrainingData": false, | |
"enableModelsPerCategory": false, | |
"model": "default_just_er_dcdce1eb-7527-b7e4-538d-d643774f5e25", | |
"parameters": {}, | |
"settings": { | |
"rasaURL": "http://rasa:5000", | |
"ducklingURL": "http://duckling:8000", | |
"ducklingDimension": [ | |
"amount-of-money", | |
"distance", | |
"duration", | |
"email", | |
"number", | |
"ordinal", | |
"phone-number", | |
"quantity", | |
"temperature", | |
"time", | |
"url", | |
"volume" | |
], | |
"spacyPretrainedEntities": [ | |
"PERSON", | |
"NORP", | |
"FAC", | |
"ORG", | |
"GPE", | |
"LOC", | |
"PRODUCT", | |
"EVENT", | |
"WORK_OF_ART", | |
"LAW", | |
"LANGUAGE", | |
"DATE", | |
"TIME", | |
"PERCENT", | |
"MONEY", | |
"QUANTITY", | |
"ORDINAL", | |
"CARDINAL" | |
], | |
"categoryClassifierPipeline": [ | |
{ | |
"name": "intent_featurizer_count_vectors", | |
"token_pattern": "(?u)\\b\\w\\w+\\b|[\\u263a-\\U0001f645]" | |
}, | |
{ | |
"name": "intent_classifier_tensorflow_embedding", | |
"intent_tokenization_flag": true, | |
"intent_split_symbol": "+__+" | |
} | |
], | |
"sayingClassifierPipeline": [ | |
{ | |
"name": "intent_featurizer_count_vectors", | |
"token_pattern": "(?u)\\b\\w\\w+\\b|[\\u263a-\\U0001f645]" | |
}, | |
{ | |
"name": "intent_classifier_tensorflow_embedding", | |
"intent_tokenization_flag": true, | |
"intent_split_symbol": "+__+" | |
}, | |
{ | |
"name": "nlp_spacy" | |
}, | |
{ | |
"name": "tokenizer_spacy" | |
}, | |
{ | |
"name": "ner_crf" | |
}, | |
{ | |
"name": "ner_synonyms" | |
}, | |
{ | |
"name": "ner_spacy" | |
} | |
], | |
"keywordClassifierPipeline": [ | |
{ | |
"name": "nlp_spacy" | |
}, | |
{ | |
"name": "tokenizer_spacy" | |
}, | |
{ | |
"name": "ner_crf" | |
}, | |
{ | |
"name": "ner_synonyms" | |
}, | |
{ | |
"name": "ner_spacy" | |
} | |
], | |
"sayingsPageSize": 5, | |
"keywordsPageSize": 5, | |
"actionsPageSize": 5, | |
"modifierSayingsPageSize": 5, | |
"reviewPageSize": 5, | |
"sessionsPageSize": 5 | |
}, | |
"categoryRecognizer": true, | |
"modifiersRecognizer": true, | |
"modifiersRecognizerJustER": "", | |
"creationDate": "1580869423000", | |
"modificationDate": "1580873920000", | |
"actions": [ | |
{ | |
"actionName": "Default Fallback Action", | |
"slots": [], | |
"responses": [ | |
{ | |
"textResponse": "Sorry can you rephrase that?", | |
"actions": [] | |
}, | |
{ | |
"textResponse": "I'm still learning to speak with humans. What you mean?", | |
"actions": [] | |
} | |
], | |
"useWebhook": false, | |
"usePostFormat": false, | |
"creationDate": "1580869423000", | |
"modificationDate": "1580869423000" | |
}, | |
{ | |
"actionName": "Default Welcome Action", | |
"slots": [], | |
"responses": [ | |
{ | |
"textResponse": "Welcome to your chatbot experience", | |
"actions": [] | |
}, | |
{ | |
"textResponse": "I'm a chatbot... welcome", | |
"actions": [] | |
} | |
], | |
"useWebhook": false, | |
"usePostFormat": false, | |
"creationDate": "1580869423000", | |
"modificationDate": "1580869423000" | |
}, | |
{ | |
"actionName": "Order Pizza", | |
"slots": [ | |
{ | |
"slotName": "toppings", | |
"uiColor": "#a79aff", | |
"keyword": "Toppings", | |
"keywordId": 15, | |
"isList": true, | |
"isRequired": true, | |
"quickResponses": [], | |
"textPrompts": [ | |
"What toppings would you like on your pizza?" | |
], | |
"freeText": false, | |
"promptCountLimit": 2 | |
}, | |
{ | |
"slotName": "confirm", | |
"uiColor": "#6EB5FF", | |
"keyword": "Confirmation", | |
"keywordId": 16, | |
"isList": false, | |
"isRequired": true, | |
"quickResponses": [], | |
"textPrompts": [ | |
"We're about to make a pizza with {{andList slots.toppings.value}}. Does that sounds right?", | |
"Okay, you want a {{andList slots.toppings.value}} pizza, correct?" | |
], | |
"freeText": false | |
} | |
], | |
"responses": [ | |
{ | |
"richResponses": [], | |
"textResponse": "{{#eq slots.confirm.value 'yes'}}We'll get that pizza ready for you right away.{{/eq}}", | |
"actions": [] | |
}, | |
{ | |
"richResponses": [], | |
"textResponse": "{{#eq slots.confirm.value 'no'}}We won't start cooking just yet{{/eq}}", | |
"actions": [] | |
} | |
], | |
"useWebhook": false, | |
"usePostFormat": false, | |
"creationDate": "1580869468000", | |
"modificationDate": "1580873920000" | |
}, | |
{ | |
"actionName": "Place Order", | |
"slots": [], | |
"responses": [ | |
{ | |
"richResponses": [], | |
"textResponse": "Order Placed", | |
"actions": [] | |
} | |
], | |
"useWebhook": false, | |
"usePostFormat": false, | |
"creationDate": "1580874017000", | |
"modificationDate": "1580874017000" | |
} | |
], | |
"categories": [ | |
{ | |
"categoryName": "Order Food", | |
"enabled": true, | |
"actionThreshold": 0.5, | |
"status": "Out of Date", | |
"lastTraining": "2020-02-05T02:24:03Z", | |
"model": "", | |
"extraTrainingData": false, | |
"parameters": {}, | |
"creationDate": "1580869443000", | |
"modificationDate": "1580872616000", | |
"sayings": [ | |
{ | |
"userSays": "Can I get a pizza?", | |
"keywords": [], | |
"actions": [ | |
"Order Pizza" | |
], | |
"creationDate": "1580869553000", | |
"modificationDate": "1580869553000" | |
}, | |
{ | |
"userSays": "I would like to order a cheese pizza", | |
"keywords": [ | |
{ | |
"start": 24, | |
"end": 30, | |
"value": "cheese", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
} | |
], | |
"actions": [ | |
"Order Pizza" | |
], | |
"creationDate": "1580869561000", | |
"modificationDate": "1580869561000" | |
}, | |
{ | |
"userSays": "I want a ham and pineapple pizza", | |
"keywords": [ | |
{ | |
"start": 9, | |
"end": 12, | |
"value": "ham", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
}, | |
{ | |
"start": 17, | |
"end": 26, | |
"value": "pineapple", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
} | |
], | |
"actions": [ | |
"Order Pizza" | |
], | |
"creationDate": "1580869568000", | |
"modificationDate": "1580869568000" | |
}, | |
{ | |
"userSays": "cheese pizza please", | |
"keywords": [ | |
{ | |
"start": 0, | |
"end": 6, | |
"value": "cheese", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
} | |
], | |
"actions": [ | |
"Order Pizza" | |
], | |
"creationDate": "1580869571000", | |
"modificationDate": "1580869571000" | |
}, | |
{ | |
"userSays": "sausage, pepperoni, and bacon pizza for favor", | |
"keywords": [ | |
{ | |
"start": 0, | |
"end": 7, | |
"value": "sausage", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
}, | |
{ | |
"start": 9, | |
"end": 18, | |
"value": "pepperoni", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
}, | |
{ | |
"value": "bacon", | |
"keyword": "Toppings", | |
"start": 24, | |
"end": 29, | |
"keywordId": 15 | |
} | |
], | |
"actions": [ | |
"Order Pizza" | |
], | |
"creationDate": "1580869582000", | |
"modificationDate": "1580869586000" | |
} | |
] | |
} | |
], | |
"keywords": [ | |
{ | |
"keywordName": "Toppings", | |
"uiColor": "#a79aff", | |
"examples": [ | |
{ | |
"value": "cheese", | |
"synonyms": [ | |
"cheese" | |
] | |
}, | |
{ | |
"value": "pepperoni", | |
"synonyms": [ | |
"pepperoni", | |
"pepperonis" | |
] | |
}, | |
{ | |
"value": "sausage", | |
"synonyms": [ | |
"sausage", | |
"sausages" | |
] | |
}, | |
{ | |
"value": "ham", | |
"synonyms": [ | |
"ham", | |
"Canadian bacon", | |
"canadian bacon" | |
] | |
}, | |
{ | |
"value": "pineapple", | |
"synonyms": [ | |
"pineapple", | |
"pineappples" | |
] | |
}, | |
{ | |
"value": "sardines", | |
"synonyms": [ | |
"sardines" | |
] | |
}, | |
{ | |
"value": "onions", | |
"synonyms": [ | |
"onions", | |
"onion" | |
] | |
} | |
], | |
"regex": "", | |
"type": "learned", | |
"modifiers": [ | |
{ | |
"modifierName": "Set Toppings", | |
"action": "SET", | |
"valueSource": "keyword", | |
"staticValue": "", | |
"sayings": [ | |
{ | |
"userSays": "only sausage please", | |
"keywords": [ | |
{ | |
"start": 5, | |
"end": 12, | |
"value": "sausage", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
} | |
] | |
}, | |
{ | |
"userSays": "I just want pepperonis", | |
"keywords": [ | |
{ | |
"start": 12, | |
"end": 22, | |
"value": "pepperonis", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
} | |
] | |
}, | |
{ | |
"userSays": "ham and pineapple", | |
"keywords": [ | |
{ | |
"start": 0, | |
"end": 3, | |
"value": "ham", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
}, | |
{ | |
"start": 8, | |
"end": 17, | |
"value": "pineapple", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
} | |
] | |
}, | |
{ | |
"userSays": "just cheese", | |
"keywords": [ | |
{ | |
"start": 5, | |
"end": 11, | |
"value": "cheese", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"modifierName": "Unset Toppings", | |
"action": "UNSET", | |
"valueSource": "keyword", | |
"staticValue": "", | |
"sayings": [ | |
{ | |
"userSays": "remove all of my toppings", | |
"keywords": [] | |
}, | |
{ | |
"userSays": "remove my toppings", | |
"keywords": [] | |
}, | |
{ | |
"userSays": "start over", | |
"keywords": [] | |
} | |
] | |
}, | |
{ | |
"modifierName": "Add Toppings", | |
"action": "ADD", | |
"valueSource": "keyword", | |
"staticValue": "", | |
"sayings": [ | |
{ | |
"userSays": "add onions please", | |
"keywords": [ | |
{ | |
"start": 4, | |
"end": 10, | |
"value": "onions", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
} | |
] | |
}, | |
{ | |
"userSays": "add sausage to my pizza", | |
"keywords": [ | |
{ | |
"start": 4, | |
"end": 11, | |
"value": "sausage", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
} | |
] | |
}, | |
{ | |
"userSays": "add ham and pineapple", | |
"keywords": [ | |
{ | |
"start": 4, | |
"end": 7, | |
"value": "ham", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
}, | |
{ | |
"start": 12, | |
"end": 21, | |
"value": "pineapple", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
} | |
] | |
}, | |
{ | |
"userSays": "add cheese", | |
"keywords": [ | |
{ | |
"start": 4, | |
"end": 10, | |
"value": "cheese", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"modifierName": "Remove Toppings", | |
"action": "REMOVE", | |
"valueSource": "keyword", | |
"staticValue": "", | |
"sayings": [ | |
{ | |
"userSays": "take the sausage off please", | |
"keywords": [ | |
{ | |
"start": 9, | |
"end": 16, | |
"value": "sausage", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
} | |
] | |
}, | |
{ | |
"userSays": "no sardines", | |
"keywords": [ | |
{ | |
"start": 3, | |
"end": 11, | |
"value": "sardines", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
} | |
] | |
}, | |
{ | |
"userSays": "remove the pepperonis", | |
"keywords": [ | |
{ | |
"start": 11, | |
"end": 21, | |
"value": "pepperonis", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
} | |
] | |
}, | |
{ | |
"userSays": "Can you take the onions off", | |
"keywords": [ | |
{ | |
"start": 17, | |
"end": 23, | |
"value": "onions", | |
"keyword": "Toppings", | |
"keywordId": 15 | |
} | |
] | |
} | |
] | |
} | |
], | |
"creationDate": "1580869528000", | |
"modificationDate": "1580872616000" | |
}, | |
{ | |
"keywordName": "Confirmation", | |
"uiColor": "#6EB5FF", | |
"examples": [ | |
{ | |
"value": "yes", | |
"synonyms": [ | |
"yes" | |
] | |
}, | |
{ | |
"value": "no", | |
"synonyms": [ | |
"no" | |
] | |
} | |
], | |
"regex": "", | |
"type": "learned", | |
"modifiers": [ | |
{ | |
"modifierName": "Confirmation", | |
"action": "SET", | |
"valueSource": "static", | |
"staticValue": "yes", | |
"sayings": [ | |
{ | |
"userSays": "perfect", | |
"keywords": [] | |
}, | |
{ | |
"userSays": "yep", | |
"keywords": [] | |
}, | |
{ | |
"userSays": "sounds great", | |
"keywords": [] | |
}, | |
{ | |
"userSays": "y", | |
"keywords": [] | |
}, | |
{ | |
"userSays": "yes", | |
"keywords": [ | |
{ | |
"start": 0, | |
"end": 3, | |
"value": "yes", | |
"keyword": "Confirmation", | |
"keywordId": 16 | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"modifierName": "Negation", | |
"action": "SET", | |
"valueSource": "static", | |
"staticValue": "no", | |
"sayings": [ | |
{ | |
"userSays": "no", | |
"keywords": [ | |
{ | |
"start": 0, | |
"end": 2, | |
"value": "no", | |
"keyword": "Confirmation", | |
"keywordId": 16 | |
} | |
] | |
}, | |
{ | |
"userSays": "n", | |
"keywords": [] | |
}, | |
{ | |
"userSays": "negative", | |
"keywords": [] | |
}, | |
{ | |
"userSays": "no thanks", | |
"keywords": [ | |
{ | |
"start": 0, | |
"end": 2, | |
"value": "no", | |
"keyword": "Confirmation", | |
"keywordId": 16 | |
} | |
] | |
}, | |
{ | |
"userSays": "nope", | |
"keywords": [] | |
} | |
] | |
} | |
], | |
"creationDate": "1580872768000", | |
"modificationDate": "1580872815000" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment