sweepai-dev / vocode-python

🤖 Build voice-based LLM agents. Modular + open source.
https://vocode.dev
MIT License
0 stars 0 forks source link

[DRAFT] Add keyword-based interrupts #9

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

Description

This PR adds support for keyword-based interrupts in the vocode-python library. Currently, the bot gets interrupted whenever the human starts speaking. With this PR, a new configuration parameter wake_up_word is introduced in the AgentConfig class. This parameter allows the user to specify a wake-up word that should trigger an interruption.

Summary of Changes

Please review and merge this PR. Thank you!

Fixes #3.

To checkout this PR branch, run the following command in your terminal:

git checkout sweep/feature/keyword-based-interrupts_1