diff --git a/fern/customization/speech-configuration.mdx b/fern/customization/speech-configuration.mdx index 607112056..ab02684b1 100644 --- a/fern/customization/speech-configuration.mdx +++ b/fern/customization/speech-configuration.mdx @@ -43,7 +43,7 @@ This plan defines the parameters for when the assistant begins speaking after th ## Stop Speaking Plan The Stop Speaking Plan defines when the assistant stops talking after detecting customer speech. -- **Words to Stop Speaking**: Define how many words the customer needs to say before the assistant stops talking. If you want immediate reaction, set this to 0. Increase it to avoid interruptions by brief acknowledgments like "okay" or "right". **Example:** While setting an appointment with a clinic, set `numWords` to 2-3 seconds to allow customers to finish brief clarifications without triggering interruptions. +- **Words to Stop Speaking**: Define how many words the customer needs to say before the assistant stops talking. If you want immediate reaction, set this to 0. Increase it to avoid interruptions by brief acknowledgments like "okay" or "right". **Example:** While setting an appointment with a clinic, set `numWords` to 2-3 words to allow customers to finish brief clarifications without triggering interruptions. - **Voice Activity Detection**: Adjust how long the customer needs to be speaking before the assistant stops. The default is 0.2 seconds, but you can tweak this to balance responsiveness and avoid false triggers. **Example:** For a banking call center, setting a higher `voiceSeconds` value ensures accuracy by reducing false positives. This avoids interruptions caused by background sounds, even if it slightly delays the detection of speech onset. This tradeoff is essential to ensure the assistant processes only correct and intended information. @@ -52,7 +52,7 @@ The Stop Speaking Plan defines when the assistant stops talking after detecting - **Pause Before Resuming**: Control how long the assistant waits before starting to talk again after being interrupted. The default is 1 second, but you can adjust it depending on how quickly the assistant should resume. **Example:** For quick queries (e.g., "What’s the total order value in my cart?"), set `backoffSeconds` to 1 second. -Here's a code snippet for Start Speaking Plan - +Here's a code snippet for Stop Speaking Plan - ```json "stopSpeakingPlan": {