Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "name": "Redirect after 3",
- "intents": [
- {
- "intent": "General_Ending",
- "examples": [
- {
- "text": "See you"
- },
- {
- "text": "Time to go"
- },
- {
- "text": "That's everything"
- },
- {
- "text": "That is all"
- },
- {
- "text": "Thanks very much, bye!"
- },
- {
- "text": "Thanks, bye!"
- },
- {
- "text": "Stop talking to me"
- },
- {
- "text": "Stop doing this"
- },
- {
- "text": "Shut up"
- },
- {
- "text": "See you later"
- },
- {
- "text": "Ok goodbye"
- },
- {
- "text": "I want to quit"
- },
- {
- "text": "It was nice chatting with you"
- },
- {
- "text": "I'm leaving now"
- },
- {
- "text": "Im good thank you"
- },
- {
- "text": "Im done"
- },
- {
- "text": "I'm done"
- },
- {
- "text": "I have got to go"
- },
- {
- "text": "I d like to stop doing this"
- },
- {
- "text": "I am out of here"
- },
- {
- "text": "I am leaving"
- },
- {
- "text": "Hey bot go away"
- },
- {
- "text": "Have a nice day?"
- },
- {
- "text": "Go off"
- },
- {
- "text": "Good. bye."
- },
- {
- "text": "Goodbye"
- },
- {
- "text": "Going now"
- },
- {
- "text": "Go away"
- },
- {
- "text": "Get lost"
- },
- {
- "text": "Finished now, good bye"
- },
- {
- "text": "End trial"
- },
- {
- "text": "Ending this session"
- },
- {
- "text": "Cya later"
- },
- {
- "text": "Catch you later"
- },
- {
- "text": "Bye now"
- },
- {
- "text": "Bye bye"
- },
- {
- "text": "Thank you for your time"
- }
- ],
- "description": "End the conversation."
- },
- {
- "intent": "General_Greetings",
- "examples": [
- {
- "text": "Looking good eve"
- },
- {
- "text": "Hello Agent"
- },
- {
- "text": "Hello"
- },
- {
- "text": "Hello I am looking for some help here"
- },
- {
- "text": "Hey how are you doing"
- },
- {
- "text": "Hey there all"
- },
- {
- "text": "Hey there"
- },
- {
- "text": "Hey twin"
- },
- {
- "text": "Ok take me back"
- },
- {
- "text": "What's new?"
- },
- {
- "text": "What's up?"
- },
- {
- "text": "Who is this?"
- },
- {
- "text": "You there"
- },
- {
- "text": "Hey you"
- },
- {
- "text": "Hi advisor"
- },
- {
- "text": "Hi there"
- },
- {
- "text": "Good day"
- },
- {
- "text": "Good evening"
- },
- {
- "text": "How are things going?"
- },
- {
- "text": "How are you today?"
- },
- {
- "text": "How have you been?"
- },
- {
- "text": "How is it going?"
- },
- {
- "text": "How r u?"
- },
- {
- "text": "Good morning"
- },
- {
- "text": "Good to see you"
- },
- {
- "text": "Greetings"
- },
- {
- "text": "Have you been well?"
- }
- ],
- "description": "Greet the bot."
- }
- ],
- "entities": [],
- "language": "en",
- "metadata": {
- "api_version": {
- "major_version": "v1",
- "minor_version": "2017-05-26"
- }
- },
- "description": "Example showing how to redirect to a human if they get the same intent three times in a row.",
- "dialog_nodes": [
- {
- "type": "response_condition",
- "title": null,
- "output": {
- "generic": [
- {
- "values": [
- {
- "text": "Different. <? intents[0].intent ?>"
- }
- ],
- "response_type": "text",
- "selection_policy": "sequential"
- }
- ]
- },
- "parent": "node_1_1534315620494",
- "context": {
- "counter": 1,
- "lastIntent": "<? intents[0].intent ?>"
- },
- "metadata": {},
- "next_step": null,
- "conditions": "anything_else",
- "description": null,
- "dialog_node": "node_6_1534316221505",
- "previous_sibling": "node_2_1534315769932"
- },
- {
- "type": "response_condition",
- "title": null,
- "output": {
- "generic": [
- {
- "values": [
- {
- "text": "Same. $counter."
- }
- ],
- "response_type": "text",
- "selection_policy": "sequential"
- }
- ]
- },
- "parent": "node_1_1534315620494",
- "context": {
- "counter": "<? $counter + 1 ?>"
- },
- "metadata": {},
- "next_step": null,
- "conditions": "$lastIntent == intents[0].intent",
- "description": null,
- "dialog_node": "node_2_1534315769932",
- "previous_sibling": "node_8_1534316510997"
- },
- {
- "type": "response_condition",
- "title": null,
- "output": {
- "generic": [
- {
- "values": [
- {
- "text": "Redirect to human."
- }
- ],
- "response_type": "text"
- }
- ]
- },
- "parent": "node_1_1534315620494",
- "context": null,
- "metadata": {},
- "next_step": null,
- "conditions": "$counter >= 2",
- "description": null,
- "dialog_node": "node_8_1534316510997",
- "previous_sibling": null
- },
- {
- "type": "standard",
- "title": "Welcome",
- "output": {
- "generic": [
- {
- "values": [
- {
- "text": "Hello. How can I help you?"
- }
- ],
- "response_type": "text",
- "selection_policy": "sequential"
- }
- ]
- },
- "parent": null,
- "context": null,
- "metadata": {},
- "next_step": null,
- "conditions": "welcome",
- "description": null,
- "dialog_node": "Welcome",
- "previous_sibling": "node_1_1534315620494"
- },
- {
- "type": "standard",
- "title": "Anything else",
- "output": {
- "generic": [
- {
- "values": [
- {
- "text": "Intent: <? intent.intent ?> : <? intent.confidence ?>"
- }
- ],
- "response_type": "text",
- "selection_policy": "sequential"
- }
- ]
- },
- "parent": null,
- "context": null,
- "metadata": {},
- "next_step": null,
- "conditions": "anything_else",
- "description": null,
- "dialog_node": "Anything else",
- "previous_sibling": "node_2_1534315350781"
- },
- {
- "type": "standard",
- "title": null,
- "output": {
- "generic": [
- {
- "values": [
- {
- "text": "Hello!"
- }
- ],
- "response_type": "text",
- "selection_policy": "sequential"
- }
- ]
- },
- "parent": null,
- "context": null,
- "metadata": {},
- "next_step": null,
- "conditions": "#General_Greetings",
- "description": null,
- "dialog_node": "node_2_1534315350781",
- "previous_sibling": "Welcome"
- },
- {
- "type": "standard",
- "title": "Redirect to human if repeating.",
- "output": {},
- "parent": null,
- "context": null,
- "metadata": {
- "_customization": {
- "mcr": true
- }
- },
- "next_step": {
- "behavior": "jump_to",
- "selector": "condition",
- "dialog_node": "Welcome"
- },
- "conditions": "input.text != \"\"",
- "digress_in": "does_not_return",
- "description": null,
- "dialog_node": "node_1_1534315620494",
- "digress_out": "allow_all",
- "previous_sibling": null
- }
- ],
- "workspace_id": "dd9dc2e7-a7c6-4f58-aad3-be00a68b2d58",
- "counterexamples": [],
- "system_settings": {
- "tooling": {
- "store_generic_responses": true
- },
- "disambiguation": {
- "prompt": "Did you mean:",
- "none_of_the_above_prompt": "None of the above"
- },
- "human_agent_assist": {
- "prompt": "Did you mean:"
- }
- },
- "learning_opt_out": false
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement