diff options
author | Malik Talha <talhamalik727x@gmail.com> | 2023-10-22 20:54:58 +0500 |
---|---|---|
committer | Malik Talha <talhamalik727x@gmail.com> | 2023-10-22 20:54:58 +0500 |
commit | 69fcf984b733774336952bcc6f8ad42d796e5a5d (patch) | |
tree | 14529f2ee5db3725e08b8da2876d38601e6fc8c4 /model/lookup_intent_parser | |
parent | f97f5665a9263cca3609ac8f732e4590a4bf6178 (diff) |
Add pre-trained model for Snips
Add a Snips model trained on HVAC Temperature, Fan Speed,
and Volume Control intents.
SPEC-4856
Signed-off-by: Malik Talha <talhamalik727x@gmail.com>
Change-Id: I624fa48c059d4fa1a5f2ef07e3af88b3076509f2
Diffstat (limited to 'model/lookup_intent_parser')
-rw-r--r-- | model/lookup_intent_parser/intent_parser.json | 655 | ||||
-rw-r--r-- | model/lookup_intent_parser/metadata.json | 3 |
2 files changed, 658 insertions, 0 deletions
diff --git a/model/lookup_intent_parser/intent_parser.json b/model/lookup_intent_parser/intent_parser.json new file mode 100644 index 0000000..fbc8d3b --- /dev/null +++ b/model/lookup_intent_parser/intent_parser.json @@ -0,0 +1,655 @@ +{ + "config": { + "ignore_stop_words": true, + "unit_name": "lookup_intent_parser" + }, + "entity_scopes": [ + { + "entity_scope": { + "builtin": [], + "custom": [ + "to_or_by", + "numeric_value", + "hvac_fan_speed_action" + ] + }, + "intent_group": [ + "HVACFanSpeed" + ] + }, + { + "entity_scope": { + "builtin": [], + "custom": [ + "hvac_temperature_action", + "to_or_by", + "numeric_value" + ] + }, + "intent_group": [ + "HVACTemperature" + ] + }, + { + "entity_scope": { + "builtin": [], + "custom": [ + "to_or_by", + "numeric_value", + "volume_control_action" + ] + }, + "intent_group": [ + "VolumeControl" + ] + } + ], + "intents_names": [ + "HVACFanSpeed", + "HVACTemperature", + "VolumeControl" + ], + "language_code": "en", + "map": { + "-2120605742": [ + 2, + [ + 4 + ] + ], + "-2110319726": [ + 1, + [ + 3, + 2, + 1 + ] + ], + "-2097898088": [ + 0, + [ + 2, + 0, + 2, + 1 + ] + ], + "-2069926489": [ + 2, + [ + 4 + ] + ], + "-2053140209": [ + 1, + [ + 3, + 2, + 1 + ] + ], + "-1957537449": [ + 2, + [ + 4, + 2, + 1 + ] + ], + "-1939969154": [ + 0, + [ + 2, + 0 + ] + ], + "-1863596818": [ + 0, + [ + 0 + ] + ], + "-1722292648": [ + 0, + [ + 0 + ] + ], + "-1661262152": [ + 0, + [ + 0 + ] + ], + "-1647038698": [ + 0, + [ + 2, + 0 + ] + ], + "-1537473771": [ + 1, + [ + 3, + 2, + 1 + ] + ], + "-1506024261": [ + 0, + [ + 0 + ] + ], + "-1496609252": [ + 0, + [ + 0 + ] + ], + "-1395443273": [ + 1, + [ + 3, + 1 + ] + ], + "-1230229729": [ + 0, + [ + 0, + 2, + 1 + ] + ], + "-1142105109": [ + 0, + [ + 0, + 1 + ] + ], + "-1099967011": [ + 1, + [ + 3, + 2, + 1 + ] + ], + "-1097748772": [ + 1, + [ + 2, + 3, + 2, + 1 + ] + ], + "-1083180262": [ + 1, + [ + 3, + 2, + 1 + ] + ], + "-1062928239": [ + 0, + [ + 0 + ] + ], + "-1039386192": [ + 1, + [ + 3, + 2, + 1 + ] + ], + "-1023112515": [ + 2, + [ + 4 + ] + ], + "-997492224": [ + 0, + [ + 0 + ] + ], + "-978991888": [ + 1, + [ + 3, + 2, + 1 + ] + ], + "-943547658": [ + 2, + [ + 4, + 2, + 1 + ] + ], + "-875246525": [ + 2, + [ + 4 + ] + ], + "-869188155": [ + 2, + [ + 4 + ] + ], + "-831404964": [ + 0, + [ + 0, + 2, + 1 + ] + ], + "-817807979": [ + 2, + [ + 4, + 2, + 1 + ] + ], + "-775037109": [ + 0, + [ + 0 + ] + ], + "-754875079": [ + 1, + [ + 3, + 2, + 1 + ] + ], + "-677396479": [ + 2, + [ + 4, + 2, + 1 + ] + ], + "-637651705": [ + 0, + [ + 0 + ] + ], + "-499365884": [ + 2, + [ + 4, + 2, + 1 + ] + ], + "-341331840": [ + 0, + [ + 0, + 2, + 1 + ] + ], + "-312867293": [ + 2, + [ + 4 + ] + ], + "-220062178": [ + 0, + [ + 0, + 1 + ] + ], + "-211838140": [ + 2, + [ + 4 + ] + ], + "-174212851": [ + 0, + [ + 0 + ] + ], + "-55279385": [ + 2, + [ + 4 + ] + ], + "-53269527": [ + 1, + [ + 3, + 2, + 1 + ] + ], + "-13548888": [ + 0, + [ + 0 + ] + ], + "52269839": [ + 0, + [ + 0 + ] + ], + "191080872": [ + 0, + [ + 2, + 0, + 1 + ] + ], + "241344744": [ + 0, + [ + 0, + 2, + 1 + ] + ], + "255811183": [ + 2, + [ + 4 + ] + ], + "257368321": [ + 1, + [ + 2, + 1 + ] + ], + "391606162": [ + 0, + [ + 0 + ] + ], + "429710472": [ + 0, + [ + 0 + ] + ], + "442942364": [ + 1, + [ + 3, + 2, + 1 + ] + ], + "561946482": [ + 1, + [ + 3, + 2, + 1 + ] + ], + "660616696": [ + 0, + [ + 0, + 2, + 1 + ] + ], + "694845309": [ + 0, + [ + 0 + ] + ], + "737795110": [ + 0, + [ + 0 + ] + ], + "757039917": [ + 1, + [ + 3, + 2, + 1 + ] + ], + "783225393": [ + 1, + [ + 3, + 2, + 1 + ] + ], + "813192217": [ + 0, + [ + 2, + 0, + 2, + 1 + ] + ], + "906678378": [ + 2, + [ + 4 + ] + ], + "930023264": [ + 0, + [ + 0 + ] + ], + "945501816": [ + 1, + [ + 3, + 2, + 1 + ] + ], + "975749138": [ + 2, + [ + 4 + ] + ], + "1030701586": [ + 0, + [ + 0 + ] + ], + "1104536743": [ + 1, + [ + 3 + ] + ], + "1128347686": [ + 0, + [ + 2, + 0 + ] + ], + "1157458478": [ + 2, + [ + 2, + 4, + 2, + 1 + ] + ], + "1205722467": [ + 1, + [ + 3, + 2, + 1 + ] + ], + "1290653223": [ + 2, + [ + 4 + ] + ], + "1297220448": [ + 1, + [ + 3, + 2, + 1 + ] + ], + "1413845420": [ + 0, + [ + 0 + ] + ], + "1492652257": [ + 2, + [ + 4, + 2, + 1 + ] + ], + "1496252339": [ + 2, + [ + 4, + 2, + 1 + ] + ], + "1534478323": [ + 1, + [ + 3, + 1 + ] + ], + "1585809905": [ + 2, + [ + 4 + ] + ], + "1622708267": [ + 0, + [ + 0, + 1 + ] + ], + "1651293989": [ + 0, + [ + 0 + ] + ], + "1683598422": [ + 0, + [ + 0 + ] + ], + "1690535992": [ + 0, + [ + 2, + 0, + 1 + ] + ], + "1735335116": [ + 2, + [ + 4 + ] + ], + "1868997662": [ + 2, + [ + 4 + ] + ], + "1934565841": [ + 0, + [ + 0, + 2, + 1 + ] + ], + "2067820512": [ + 0, + [ + 2, + 0 + ] + ], + "2098059784": [ + 0, + [ + 0 + ] + ] + }, + "slots_names": [ + "hvac_fan_speed_action", + "numeric_value", + "to_or_by", + "hvac_temperature_action", + "volume_control_action" + ], + "stop_words_whitelist": { + "HVACFanSpeed": [ + "to" + ], + "HVACTemperature": [ + "to" + ], + "VolumeControl": [ + "to" + ] + } +}
\ No newline at end of file diff --git a/model/lookup_intent_parser/metadata.json b/model/lookup_intent_parser/metadata.json new file mode 100644 index 0000000..6967a7d --- /dev/null +++ b/model/lookup_intent_parser/metadata.json @@ -0,0 +1,3 @@ +{ + "unit_name": "lookup_intent_parser" +}
\ No newline at end of file |