feat : better server provider

This commit is contained in:
martin legrand
2025-03-29 11:46:22 +01:00
parent 0bf813e865
commit a4cfa9c651
10 changed files with 186 additions and 91 deletions
+2 -2
View File
@@ -25,10 +25,10 @@ class Interaction:
if stt_enabled:
self.transcriber = AudioTranscriber(self.ai_name, verbose=False)
self.recorder = AudioRecorder()
if tts_enabled:
self.speech.speak("Hello, we are online and ready. What can I do for you ?")
if recover_last_session:
self.load_last_session()
if tts_enabled:
self.speech.speak("Hello, we are online and ready. What can I do for you ?")
def find_ai_name(self) -> str:
"""Find the name of the default AI. It is required for STT as a trigger word."""