473da1b4ec
PocketSphinx Just Barely works to recoginze 'Jade' as the wake word Using https://github.com/suno-ai/bark for the TTS part of the code
7 lines
247 B
Python
7 lines
247 B
Python
def handle_intent(intent):
|
|
if intent == "greeting":
|
|
return "Hello, how can I assist you?"
|
|
elif intent == "weather":
|
|
return "The weather today is sunny."
|
|
else:
|
|
return "I'm sorry, I don't understand that command." |