Updates to the assistants overall abilities, like always listening, and only responding on messages when activated.
This commit is contained in:
@@ -68,6 +68,10 @@ WAKE_WORDS = [w.strip().lower() for w in os.environ.get(
|
||||
"hey assistant,ok assistant,okay assistant,"
|
||||
"hey bolts,hey volt,hey bold,hey boat,okay volt,hey thunder bolt,thunder bolt",
|
||||
).split(",") if w.strip()]
|
||||
# These count anywhere in what was said, not just at the start ("what's the
|
||||
# weather, assistant?"), and the whole sentence is sent as the request.
|
||||
ANYWHERE_WAKE_WORDS = [w.strip().lower() for w in os.environ.get(
|
||||
"ANYWHERE_WAKE_WORDS", "assistant").split(",") if w.strip()]
|
||||
|
||||
# ── listening (local voice-activity detection, before anything is sent) ────
|
||||
# Nothing leaves the machine until this says someone is talking: silence and
|
||||
|
||||
Reference in New Issue
Block a user