{"action":"created","issue":{"url":"https://api.github.com/repos/rodrigopivi/Chatito/issues/5","repository_url":"https://api.github.com/repos/rodrigopivi/Chatito","labels_url":"https://api.github.com/repos/rodrigopivi/Chatito/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/rodrigopivi/Chatito/issues/5/comments","events_url":"https://api.github.com/repos/rodrigopivi/Chatito/issues/5/events","html_url":"https://github.com/rodrigopivi/Chatito/issues/5","id":302087001,"number":5,"title":"wrong output format?","user":{"login":"cewi","id":1643900,"avatar_url":"https://avatars0.githubusercontent.com/u/1643900?v=4","gravatar_id":"","url":"https://api.github.com/users/cewi","html_url":"https://github.com/cewi","followers_url":"https://api.github.com/users/cewi/followers","following_url":"https://api.github.com/users/cewi/following{/other_user}","gists_url":"https://api.github.com/users/cewi/gists{/gist_id}","starred_url":"https://api.github.com/users/cewi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cewi/subscriptions","organizations_url":"https://api.github.com/users/cewi/orgs","repos_url":"https://api.github.com/users/cewi/repos","events_url":"https://api.github.com/users/cewi/events{/privacy}","received_events_url":"https://api.github.com/users/cewi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-04T13:46:10Z","updated_at":"2018-03-04T17:04:34Z","closed_at":"2018-03-04T17:04:34Z","author_association":"NONE","body":"Hi, \r\nI installed chatito via npm (Version 0.6). Transforming the lightsManager example with `npx chatito lightsManager.chatito` gave me a json-file, but not in the accurate format for RASA_NLU. My generated json looks as following:\r\n```\r\n[\r\n    {\r\n        \"action\": \"lightChange\",\r\n        \"id\": \"Hey Bot turn off the lights\",\r\n        \"arg\": {\r\n            \"switch\": \"turn off \",\r\n            \"lights\": \"lights \"\r\n        }\r\n    },\r\n    {\r\n        \"action\": \"lightChange\",\r\n        \"id\": \"Hey Bot turn off the lowLights\",\r\n        \"arg\": {\r\n            \"switch\": \"turn off \",\r\n            \"lights\": \"lowLights \"\r\n        }\r\n    },\r\n    {\r\n        \"action\": \"lightChange\",\r\n        \"id\": \"Hey Bot deactivate the lights\",\r\n        \"arg\": {\r\n            \"switch\": \"deactivate \",\r\n            \"lights\": \"lights \"\r\n        }\r\n    },\r\n    {\r\n        \"action\": \"lightChange\",\r\n        \"id\": \"Hey Bot deactivate the lowLights\",\r\n        \"arg\": {\r\n            \"switch\": \"deactivate \",\r\n            \"lights\": \"lowLights \"\r\n        }\r\n    },\r\n    {\r\n        \"action\": \"lightChange\",\r\n        \"id\": \"Hey Bot turn on the lights\",\r\n        \"arg\": {\r\n            \"switch\": \"turn on \",\r\n            \"lights\": \"lights \"\r\n        }\r\n    },\r\n    {\r\n        \"action\": \"lightChange\",\r\n        \"id\": \"Hey Bot turn on the lowLights\",\r\n        \"arg\": {\r\n            \"switch\": \"turn on \",\r\n            \"lights\": \"lowLights \"\r\n        }\r\n    },\r\n    {\r\n        \"action\": \"lightChange\",\r\n        \"id\": \"Hey Bot activate the lights\",\r\n        \"arg\": {\r\n            \"switch\": \"activate \",\r\n            \"lights\": \"lights \"\r\n        }\r\n    },\r\n    {\r\n        \"action\": \"lightChange\",\r\n        \"id\": \"Hey Bot activate the lowLights\",\r\n        \"arg\": {\r\n            \"switch\": \"activate \",\r\n            \"lights\": \"lowLights \"\r\n        }\r\n    }\r\n]\r\n```\r\nDo you have an idea. Maybe I overlooked sth?\r\nThx."},"comment":{"url":"https://api.github.com/repos/rodrigopivi/Chatito/issues/comments/370245204","html_url":"https://github.com/rodrigopivi/Chatito/issues/5#issuecomment-370245204","issue_url":"https://api.github.com/repos/rodrigopivi/Chatito/issues/5","id":370245204,"user":{"login":"rodrigopivi","id":6576650,"avatar_url":"https://avatars3.githubusercontent.com/u/6576650?v=4","gravatar_id":"","url":"https://api.github.com/users/rodrigopivi","html_url":"https://github.com/rodrigopivi","followers_url":"https://api.github.com/users/rodrigopivi/followers","following_url":"https://api.github.com/users/rodrigopivi/following{/other_user}","gists_url":"https://api.github.com/users/rodrigopivi/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigopivi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigopivi/subscriptions","organizations_url":"https://api.github.com/users/rodrigopivi/orgs","repos_url":"https://api.github.com/users/rodrigopivi/repos","events_url":"https://api.github.com/users/rodrigopivi/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigopivi/received_events","type":"User","site_admin":false},"created_at":"2018-03-04T17:04:34Z","updated_at":"2018-03-04T17:04:34Z","author_association":"OWNER","body":"Hi @cewi,\r\n\r\nYes, the rasa format offers more options, look at http://nlu.rasa.ai/dataformat.html\r\n\r\nThe json generated by chatito is just for the 'common_examples' attribute. You should be able to just copy the json dataset inside the `common_examples` field like:\r\n\r\n```\r\n{\r\n    \"rasa_nlu_data\": {\r\n        \"common_examples\": [\r\n            // JUST PASTE THE ARRAY OF EXAMPLES HERE\r\n        ],\r\n        \"regex_features\" : [],\r\n        \"entity_synonyms\": []\r\n    }\r\n}\r\n```"}}
{"actor":{"display_login":"rodrigopivi"}}