Add fuzzy and text-classification light model #1
					 1 changed files with 2 additions and 2 deletions
				
			
		fix lamps
				commit
				
					
					
						dc0200f00c
					
				
			
		|  | @ -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): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue