SimGus / Chatette

A powerful dataset generator for Rasa NLU, inspired by Chatito
MIT License
320 stars 56 forks source link

Support for Snips NLU data structure #53

Open varungujjar opened 3 years ago

varungujjar commented 3 years ago

Managed to work on Snips NLU adapter

{ "entities": { "device": { "automatically_extensible": true, "data": [ { "synonyms": [ "airconditioner" ], "value": "airconditioner" }, { "synonyms": [ "fan" ], "value": "fan" }, { "synonyms": [ "bulb", "lights" ], "value": "light" } ], "matching_strictness": 1.0, "use_synonyms": true }, "room": { "automatically_extensible": true, "data": [ { "synonyms": [ "bedroom", "livingroom" ], "value": "switch" } ], "matching_strictness": 1.0, "use_synonyms": true }, "snips/datetime": {}, "state": { "automatically_extensible": true, "data": [ { "synonyms": [ "on" ], "value": "on" }, { "synonyms": [ "off" ], "value": "off" } ], "matching_strictness": 1.0, "use_synonyms": true } }, "intents": { "skill-devices.switchDevice": { "utterances": [ { "data": [ { "text": "turn " }, { "entity": "state", "slot_name": "state", "text": "on" }, { "text": " the " }, { "entity": "room", "slot_name": "room", "text": "bedroom" }, { "text": " " }, { "entity": "device", "slot_name": "device", "text": "airconditioner" }, { "entity": "snips/datetime", "slot_name": "snips/datetime", "text": "at the end of the day" }, { "text": " please" } ] }, { "data": [ { "text": "turn " }, { "entity": "state", "slot_name": "state", "text": "on" }, { "text": " the " }, { "entity": "room", "slot_name": "room", "text": "bedroom" }, { "text": " " }, { "entity": "device", "slot_name": "device", "text": "airconditioner" }, { "entity": "snips/datetime", "slot_name": "snips/datetime", "text": "tomorrow" }, { "text": " please" } ] }, { "data": [ { "text": "turn " }, { "entity": "state", "slot_name": "state", "text": "on" }, { "text": " the " }, { "entity": "room", "slot_name": "room", "text": "livingroom" }, { "text": " " }, { "entity": "device", "slot_name": "device", "text": "bulb" }, { "entity": "snips/datetime", "slot_name": "snips/datetime", "text": "today" }, { "text": " please" } ] } ] } }, "language": "en" }