Open moiko89 opened 6 years ago
Hi, i use wit.ai for speech recognition. How can I start a script with the json parameters in the command file? I get the following json from wit.ai. I would like to transfer the variables to a script (room, device & state).
{ "_text": "kannst du im Wohnzimmer bitte mal das Licht ausmachen", "entities": { "room": [ { "confidence": 0.9737523062121, "value": "Wohnzimmer", "type": "value" } ], "device": [ { "confidence": 0.99741755018717, "value": "Licht", "type": "value" } ], "state": [ { "confidence": 0.99509542319365, "value": "aus", "type": "value" } ] }, "msg_id": "1G93LJakCT6dZ6XO1" }
Hi, i use wit.ai for speech recognition. How can I start a script with the json parameters in the command file? I get the following json from wit.ai. I would like to transfer the variables to a script (room, device & state).