Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
1 lines (1 sloc) 9 KB
{"name":"KD_Pizza_entity","created":"2017-08-09T07:49:45.851Z","intents":[{"intent":"order","created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","examples":[{"text":"Can I get a pizza margherita, small please","created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z"},{"text":"I am hungry","created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z"},{"text":"I want to order a large pizza","created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z"},{"text":"I want to order a pizza","created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z"}],"description":null}],"updated":"2017-08-10T12:38:38.597Z","entities":[{"entity":"sys-date","values":[],"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"description":null},{"entity":"pizza_type","values":[{"value":"vegetarian","created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T10:11:42.543Z","metadata":null,"synonyms":["veg","vegetariana"]},{"value":"margherita","created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"synonyms":[]},{"value":"pepperoni","created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"synonyms":[]},{"value":"quatro formaggi","created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"synonyms":[]}],"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T10:11:42.543Z","metadata":null,"description":null},{"entity":"pizza_size","values":[{"value":"large","created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"synonyms":[]},{"value":"medium","created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"synonyms":["regular"]},{"value":"small","created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"synonyms":[]}],"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"description":null},{"entity":"sys-number","values":[],"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"description":null}],"language":"en","metadata":{"api_version":{"major_version":"v1","minor_version":"2017-05-26"}},"description":"Example of slots with overlapping entities","dialog_nodes":[{"title":null,"output":{"text":{"values":["Welcome to Pizza_entity demonstration. You can order a pizza out of few selected types and sizes. You can can also specify the date of delivery and number of pizzas."],"selection_policy":"sequential"}},"parent":null,"context":null,"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"next_step":null,"conditions":"welcome","description":null,"dialog_node":"Welcome","previous_sibling":null},{"title":null,"output":{"text":{"values":["I didn't understand. You can try rephrasing.","Can you reword your statement? I'm not understanding.","I didn't get your meaning."],"selection_policy":"sequential"}},"parent":null,"context":null,"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"next_step":null,"conditions":"anything_else","description":null,"dialog_node":"Fallback","previous_sibling":"Pizza ordering"},{"type":"frame","title":null,"output":{"text":{"values":["Thank you for ordering $pizza_type of $pizza_size size. Your order of $pizza_number pizzas will be delivered on $pizza_date."],"selection_policy":"sequential"}},"parent":null,"context":null,"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"next_step":null,"conditions":"#order","description":null,"dialog_node":"Pizza ordering","previous_sibling":"Welcome"},{"type":"event_handler","title":null,"output":null,"parent":"slot_3_1494421237824","context":{"pizza_size":"@pizza_size"},"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"next_step":null,"conditions":"@pizza_size","event_name":"input","description":null,"dialog_node":"handler_5_1494421285663","previous_sibling":"handler_4_1494421274527"},{"type":"event_handler","title":null,"output":null,"parent":"slot_4_1498423609142","context":{"pizza_date":"@sys-date"},"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"next_step":null,"conditions":"@sys-date","event_name":"input","description":null,"dialog_node":"handler_5_1498423609142","previous_sibling":null},{"type":"event_handler","title":null,"output":null,"parent":"slot_6_1494421302730","context":{"pizza_type":"@pizza_type"},"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"next_step":null,"conditions":"@pizza_type","event_name":"input","description":null,"dialog_node":"handler_8_1494421347721","previous_sibling":"handler_7_1494421336855"},{"type":"event_handler","title":null,"output":{},"parent":"slot_1_1502266563828","context":{"name":"<?input_text?>"},"created":"2017-08-09T08:16:05.988Z","updated":"2017-08-10T12:38:38.597Z","metadata":null,"next_step":null,"conditions":"context.name.contains(input.text)","event_name":"input","description":null,"dialog_node":"handler_2_1502266563828","previous_sibling":"handler_3_1502266563828"},{"type":"event_handler","title":null,"output":{},"parent":"slot_7_1498423680753","context":{"pizza_number":"@sys-number"},"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"next_step":null,"conditions":"@sys-number","event_name":"input","description":null,"dialog_node":"handler_8_1498423680753","previous_sibling":null},{"type":"event_handler","title":null,"output":{"text":"May I know your Name"},"parent":"slot_1_1502266563828","context":null,"created":"2017-08-09T08:16:06.564Z","updated":"2017-08-10T12:38:38.111Z","metadata":null,"next_step":null,"conditions":null,"event_name":"focus","description":null,"dialog_node":"handler_3_1502266563828","previous_sibling":null},{"type":"event_handler","title":null,"output":{"text":"Number of pizzas?"},"parent":"slot_7_1498423680753","context":null,"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"next_step":null,"conditions":null,"event_name":"focus","description":null,"dialog_node":"handler_9_1498423680753","previous_sibling":"handler_8_1498423680753"},{"type":"event_handler","title":null,"output":{"text":"What size of pizza do you want?"},"parent":"slot_3_1494421237824","context":null,"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"next_step":null,"conditions":null,"event_name":"focus","description":null,"dialog_node":"handler_4_1494421274527","previous_sibling":null},{"type":"event_handler","title":null,"output":{"text":"What type of pizza do you want?"},"parent":"slot_6_1494421302730","context":null,"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"next_step":null,"conditions":null,"event_name":"focus","description":null,"dialog_node":"handler_7_1494421336855","previous_sibling":null},{"type":"event_handler","title":null,"output":{"text":"When do you want the pizza to be delivered?"},"parent":"slot_4_1498423609142","context":null,"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"next_step":null,"conditions":null,"event_name":"focus","description":null,"dialog_node":"handler_6_1498423609142","previous_sibling":"handler_5_1498423609142"},{"type":"slot","title":null,"output":null,"parent":"Pizza ordering","context":null,"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"variable":"$pizza_date","next_step":null,"conditions":null,"description":null,"dialog_node":"slot_4_1498423609142","previous_sibling":"slot_6_1494421302730"},{"type":"slot","title":null,"output":null,"parent":"Pizza ordering","context":null,"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"variable":"$pizza_size","next_step":null,"conditions":null,"description":null,"dialog_node":"slot_3_1494421237824","previous_sibling":null},{"type":"slot","title":null,"output":null,"parent":"Pizza ordering","context":null,"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"variable":"$pizza_type","next_step":null,"conditions":null,"description":null,"dialog_node":"slot_6_1494421302730","previous_sibling":"slot_3_1494421237824"},{"type":"slot","title":null,"output":{},"parent":"Pizza ordering","context":null,"created":"2017-08-09T07:49:45.851Z","updated":"2017-08-09T07:49:45.851Z","metadata":null,"variable":"$pizza_number","next_step":null,"conditions":null,"description":null,"dialog_node":"slot_7_1498423680753","previous_sibling":"slot_4_1498423609142"},{"type":"slot","title":null,"output":{},"parent":"Pizza ordering","context":null,"created":"2017-08-09T08:16:05.422Z","updated":"2017-08-10T12:38:38.070Z","metadata":null,"variable":"$name","next_step":null,"conditions":null,"description":null,"dialog_node":"slot_1_1502266563828","previous_sibling":"slot_7_1498423680753"}],"workspace_id":"55f10c8d-ee1a-4103-a65f-c70b83a9b8fd","counterexamples":[],"learning_opt_out":false}
You can’t perform that action at this time.