Add fuzzy and text-classification light model #1

Merged
Tjiho merged 18 commits from fuzzy into master 2025-02-01 01:35:11 +01:00
Showing only changes of commit dc0200f00c - Show all commits

View file

@ -65,9 +65,9 @@ class Ratatouille():
if command == 'GetTime':
return self.send_hour()
elif command == "LightOn":
self.light_on_single(payload['intentArg'][0])
return self.light_on_single(payload['intentArg'][0])
elif command == "LightOff":
self.light_off_single(payload['intentArg'][0])
return self.light_off_single(payload['intentArg'][0])
def weather_query(self, entities):
if any(a in entities['B-weather_descriptor'] for a in TEMPERATURE_KEYWORD):