First Commit
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
This commit is contained in:
7
intents.py
Normal file
7
intents.py
Normal file
@ -0,0 +1,7 @@
|
||||
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."
|
Reference in New Issue
Block a user