From 42a03d2550f60a8064078f19a743afb944f9ff69 Mon Sep 17 00:00:00 2001 From: Malik Talha Date: Sun, 29 Oct 2023 20:52:29 +0500 Subject: Update voice agent service Add new features such as an option to load service using an external config file, enhanced kuksa client, and a more robust mapper. Signed-off-by: Malik Talha Change-Id: Iba3cfd234c0aabad67b293669d456bb73d8e3135 --- mappings/vss_signals_spec.json | 310 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 310 insertions(+) create mode 100644 mappings/vss_signals_spec.json (limited to 'mappings/vss_signals_spec.json') diff --git a/mappings/vss_signals_spec.json b/mappings/vss_signals_spec.json new file mode 100644 index 0000000..f589297 --- /dev/null +++ b/mappings/vss_signals_spec.json @@ -0,0 +1,310 @@ +{ + "signals": { + "Vehicle.Cabin.Infotainment.Media.Volume": { + "default_value": 15, + "default_change_factor": 5, + "actions": { + "set": { + "intents": ["volume_control_action"], + "synonyms": ["set", "change", "adjust"] + }, + "increase": { + "intents":["volume_control_action"], + "synonyms": ["increase", "up", "raise", "louder"], + "modifier_intents": ["to_or_by"] + }, + "decrease": { + "intents": ["volume_control_action"], + "synonyms": ["decrease", "lower", "down", "quieter", "reduce"], + "modifier_intents": ["to_or_by"] + } + }, + "values": { + "ranged": true, + "start": 1, + "end": 100, + "ignore": [], + "additional": [] + }, + "default_fallback": true, + "value_set_intents": { + "numeric_value": { + "datatype": "number", + "unit": "percent" + } + } + }, + "Vehicle.Cabin.HVAC.Station.Row1.Left.FanSpeed": { + "default_value": 25, + "default_change_factor": 5, + "actions": { + "set": { + "intents": ["hvac_fan_speed_action"], + "synonyms": ["set", "change", "adjust"] + }, + "increase": { + "intents":["hvac_fan_speed_action"], + "synonyms": ["increase", "up", "raise", "crank up", "louder"], + "modifier_intents": ["to_or_by"] + }, + "decrease": { + "intents": ["hvac_fan_speed_action"], + "synonyms": ["decrease", "lower", "down", "quieter", "reduce"], + "modifier_intents": ["to_or_by"] + } + }, + "values": { + "ranged": true, + "start": 1, + "end": 100, + "ignore": [], + "additional": [] + }, + "default_fallback": true, + "value_set_intents": { + "numeric_value": { + "datatype": "number", + "unit": "percent" + } + } + }, + "Vehicle.Cabin.HVAC.Station.Row1.Right.FanSpeed": { + "default_value": 25, + "default_change_factor": 5, + "actions": { + "set": { + "intents": ["hvac_fan_speed_action"], + "synonyms": ["set", "change", "adjust"] + }, + "increase": { + "intents":["hvac_fan_speed_action"], + "synonyms": ["increase", "up", "raise", "crank up", "louder"], + "modifier_intents": ["to_or_by"] + }, + "decrease": { + "intents": ["hvac_fan_speed_action"], + "synonyms": ["decrease", "lower", "down", "quieter", "reduce"], + "modifier_intents": ["to_or_by"] + } + }, + "values": { + "ranged": true, + "start": 1, + "end": 100, + "ignore": [], + "additional": [] + }, + "default_fallback": true, + "value_set_intents": { + "numeric_value": { + "datatype": "number", + "unit": "percent" + } + } + }, + "Vehicle.Cabin.HVAC.Station.Row2.Left.FanSpeed": { + "default_value": 25, + "default_change_factor": 5, + "actions": { + "set": { + "intents": ["hvac_fan_speed_action"], + "synonyms": ["set", "change", "adjust"] + }, + "increase": { + "intents":["hvac_fan_speed_action"], + "synonyms": ["increase", "up", "raise", "crank up", "louder"], + "modifier_intents": ["to_or_by"] + }, + "decrease": { + "intents": ["hvac_fan_speed_action"], + "synonyms": ["decrease", "lower", "down", "quieter", "reduce"], + "modifier_intents": ["to_or_by"] + } + }, + "values": { + "ranged": true, + "start": 1, + "end": 100, + "ignore": [], + "additional": [] + }, + "default_fallback": true, + "value_set_intents": { + "numeric_value": { + "datatype": "number", + "unit": "percent" + } + } + }, + "Vehicle.Cabin.HVAC.Station.Row2.Right.FanSpeed": { + "default_value": 25, + "default_change_factor": 5, + "actions": { + "set": { + "intents": ["hvac_fan_speed_action"], + "synonyms": ["set", "change", "adjust"] + }, + "increase": { + "intents":["hvac_fan_speed_action"], + "synonyms": ["increase", "up", "raise", "crank up", "louder"], + "modifier_intents": ["to_or_by"] + }, + "decrease": { + "intents": ["hvac_fan_speed_action"], + "synonyms": ["decrease", "lower", "down", "quieter", "reduce"], + "modifier_intents": ["to_or_by"] + } + }, + "values": { + "ranged": true, + "start": 1, + "end": 100, + "ignore": [], + "additional": [] + }, + "default_fallback": true, + "value_set_intents": { + "numeric_value": { + "datatype": "number", + "unit": "percent" + } + } + }, + "Vehicle.Cabin.HVAC.Station.Row1.Left.Temperature": { + "default_value": 25, + "default_change_factor": 2, + "actions": { + "set": { + "intents": ["hvac_fan_speed_action"], + "synonyms": ["set", "change", "adjust"] + }, + "increase": { + "intents":["hvac_fan_speed_action"], + "synonyms": ["increase", "up", "boost", "boosting", "raise", "heat", "warm", "warmer"], + "modifier_intents": ["to_or_by"] + }, + "decrease": { + "intents": ["hvac_fan_speed_action"], + "synonyms": ["decrease", "lower", "down", "cool", "colder", "reduce", "back"], + "modifier_intents": ["to_or_by"] + } + }, + "values": { + "ranged": true, + "start": 1, + "end": 100, + "ignore": [], + "additional": [] + }, + "default_fallback": true, + "value_set_intents": { + "numeric_value": { + "datatype": "number", + "unit": "celcius" + } + } + }, + "Vehicle.Cabin.HVAC.Station.Row1.Right.Temperature": { + "default_value": 25, + "default_change_factor": 2, + "actions": { + "set": { + "intents": ["hvac_fan_speed_action"], + "synonyms": ["set", "change", "adjust"] + }, + "increase": { + "intents":["hvac_fan_speed_action"], + "synonyms": ["increase", "up", "boost", "boosting", "raise", "heat", "warm", "warmer"], + "modifier_intents": ["to_or_by"] + }, + "decrease": { + "intents": ["hvac_fan_speed_action"], + "synonyms": ["decrease", "lower", "down", "cool", "colder", "reduce", "back"], + "modifier_intents": ["to_or_by"] + } + }, + "values": { + "ranged": true, + "start": 1, + "end": 100, + "ignore": [], + "additional": [] + }, + "default_fallback": true, + "value_set_intents": { + "numeric_value": { + "datatype": "number", + "unit": "celcius" + } + } + }, + "Vehicle.Cabin.HVAC.Station.Row2.Left.Temperature": { + "default_value": 25, + "default_change_factor": 2, + "actions": { + "set": { + "intents": ["hvac_fan_speed_action"], + "synonyms": ["set", "change", "adjust"] + }, + "increase": { + "intents":["hvac_fan_speed_action"], + "synonyms": ["increase", "up", "boost", "boosting", "raise", "heat", "warm", "warmer"], + "modifier_intents": ["to_or_by"] + }, + "decrease": { + "intents": ["hvac_fan_speed_action"], + "synonyms": ["decrease", "lower", "down", "cool", "colder", "reduce", "back"], + "modifier_intents": ["to_or_by"] + } + }, + "values": { + "ranged": true, + "start": 1, + "end": 100, + "ignore": [], + "additional": [] + }, + "default_fallback": true, + "value_set_intents": { + "numeric_value": { + "datatype": "number", + "unit": "celcius" + } + } + }, + "Vehicle.Cabin.HVAC.Station.Row2.Right.Temperature": { + "default_value": 25, + "default_change_factor": 2, + "actions": { + "set": { + "intents": ["hvac_fan_speed_action"], + "synonyms": ["set", "change", "adjust"] + }, + "increase": { + "intents":["hvac_fan_speed_action"], + "synonyms": ["increase", "up", "boost", "boosting", "raise", "heat", "warm", "warmer"], + "modifier_intents": ["to_or_by"] + }, + "decrease": { + "intents": ["hvac_fan_speed_action"], + "synonyms": ["decrease", "lower", "down", "cool", "colder", "reduce", "back"], + "modifier_intents": ["to_or_by"] + } + }, + "values": { + "ranged": true, + "start": 1, + "end": 100, + "ignore": [], + "additional": [] + }, + "default_fallback": true, + "value_set_intents": { + "numeric_value": { + "datatype": "number", + "unit": "celcius" + } + } + } + } +} \ No newline at end of file -- cgit 1.2.3-korg