This PR adds support for keyword-based interrupts in the vocode-python repository. Currently, the bot gets interrupted when the human starts speaking. With this change, the bot will only be interrupted when a specific wake-up word is detected in the human's speech. This allows for more control over when the bot should be interrupted.
Summary of Changes
Added a new configuration parameter for the wake-up word in the AgentConfig class.
Modified the process method of the TranscriptionsWorker class to check for the wake-up word before triggering an interruption.
Updated the documentation to include information about the new wake-up word configuration parameter.
Please review and merge this PR at your earliest convenience. Thank you!
Fixes #3.
To checkout this PR branch, run the following command in your terminal:
Description
This PR adds support for keyword-based interrupts in the vocode-python repository. Currently, the bot gets interrupted when the human starts speaking. With this change, the bot will only be interrupted when a specific wake-up word is detected in the human's speech. This allows for more control over when the bot should be interrupted.
Summary of Changes
AgentConfig
class.process
method of theTranscriptionsWorker
class to check for the wake-up word before triggering an interruption.Please review and merge this PR at your earliest convenience. Thank you!
Fixes #3.
To checkout this PR branch, run the following command in your terminal: