Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "name":"Regex Stackoverflow answer",
- "created":"2017-02-20T20:32:05.261Z",
- "intents":[],
- "updated":"2017-02-20T20:52:58.579Z",
- "entities":[{
- "type":null,
- "entity":"sys-number",
- "source":"system.entities",
- "values":[],
- "created":"2017-02-20T20:32:14.198Z",
- "updated":"2017-02-20T20:32:14.198Z",
- "open_list":false,
- "description":null
- }
- ],
- "language":"en",
- "metadata":null,
- "description":null,
- "dialog_nodes":[{
- "go_to":null,
- "output":{
- "text":{
- "values":["Added number <? @sys-number ?> to context variable xxx."
- ],
- "selection_policy":"sequential"
- }
- },
- "parent":null,
- "context":{
- "xxx":"<? @sys-number ?>"
- },
- "created":"2017-02-20T20:32:59.569Z",
- "updated":"2017-02-20T20:36:05.197Z",
- "metadata":null,
- "conditions":"@sys-number",
- "description":null,
- "dialog_node":"node_6_1487622779355",
- "previous_sibling":"node_9_1487623083844"
- },
- {
- "go_to":null,
- "output":{
- "text":{
- "values":["Enter in a number."
- ],
- "selection_policy":"sequential"
- }
- },
- "parent":null,
- "context":null,
- "created":"2017-02-20T20:32:28.917Z",
- "updated":"2017-02-20T20:34:23.559Z",
- "metadata":null,
- "conditions":"conversation_start",
- "description":null,
- "dialog_node":"node_4_1487622752820",
- "previous_sibling":null
- },
- {
- "go_to":null,
- "output":{
- "text":{
- "values":["loaded variable xxx with <? input.text.extract('^\\d.\\d{11}.*?',0) ?>"
- ],
- "selection_policy":"sequential"
- }
- },
- "parent":null,
- "context":{
- "xxx":"<? input.text.extract('^[^\\d].*?\\d{11}.*?',0) ?>"
- },
- "created":"2017-02-20T20:38:04.063Z",
- "updated":"2017-02-20T20:52:35.577Z",
- "metadata":null,
- "conditions":"input.text.matches('^[^\\\\d].*?\\\\d{11}.*?')",
- "description":null,
- "dialog_node":"node_9_1487623083844",
- "previous_sibling":"node_4_1487622752820"
- },
- {
- "go_to":null,
- "output":{
- "text":{
- "values":["You need to say a number first to load the context variable."
- ],
- "selection_policy":"sequential"
- }
- },
- "parent":null,
- "context":null,
- "created":"2017-02-20T20:32:33.380Z",
- "updated":"2017-02-20T20:35:20.245Z",
- "metadata":null,
- "conditions":"anything_else",
- "description":null,
- "dialog_node":"node_7_1487622909363",
- "previous_sibling":"node_8_1487622930500"
- },
- {
- "go_to":null,
- "output":{
- "text":{
- "values":["Stored number is $xxx .",
- "Stored number is <? context.xxx ?>"
- ],
- "selection_policy":"sequential"
- }
- },
- "parent":null,
- "context":null,
- "created":"2017-02-20T20:35:30.737Z",
- "updated":"2017-02-20T20:36:52.655Z",
- "metadata":null,
- "conditions":"$xxx",
- "description":null,
- "dialog_node":"node_8_1487622930500",
- "previous_sibling":"node_6_1487622779355"
- }
- ],
- "workspace_id":"1ea6aae4-b3d4-4262-ae06-fffce59efc80",
- "counterexamples":[]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement