From c8467009e843e0afad22c349a43b11663c33b821 Mon Sep 17 00:00:00 2001 From: akankshadev99 Date: Mon, 16 Dec 2024 19:57:46 +0530 Subject: [PATCH 1/4] Update billing-limits.mdx Incorrect billing dashboard URL updated with the correct URL. --- fern/billing/billing-limits.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fern/billing/billing-limits.mdx b/fern/billing/billing-limits.mdx index 3b92f19d3..74cdc8568 100644 --- a/fern/billing/billing-limits.mdx +++ b/fern/billing/billing-limits.mdx @@ -9,7 +9,7 @@ You can set billing limits in the billing section of your dashboard. You can access your billing settings at - [dashboard.vapi.ai/billing](https://dashboard.vapi.ai/billing) + [dashboard.vapi.ai/org/billing](https://dashboard.vapi.ai/org/billing) ### Setting a Monthly Billing Limit From 43c8522587d66e2d2c0b644643f873b985268229 Mon Sep 17 00:00:00 2001 From: akankshadev99 Date: Mon, 16 Dec 2024 20:20:43 +0530 Subject: [PATCH 2/4] Updated concurrency limits in billing-limits.mdx --- fern/billing/billing-limits.mdx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fern/billing/billing-limits.mdx b/fern/billing/billing-limits.mdx index 74cdc8568..df7160e9e 100644 --- a/fern/billing/billing-limits.mdx +++ b/fern/billing/billing-limits.mdx @@ -12,6 +12,13 @@ You can set billing limits in the billing section of your dashboard. [dashboard.vapi.ai/org/billing](https://dashboard.vapi.ai/org/billing) +### Concurrency Limits +Vapi has concurrency limits on inbound and outbound calls. These limits has maximum number of simultaneous calls your account can handle concurrently. Exceeding your concurrency limit causes new requests to queue or be rejected until existing calls finish. + +- The default concurrency limit is 10 simultaneous calls(inbound and outbound calls combined). This limit applies to your entire account and is not dependent on the number of users or organizations associated with it. + +- To increase your concurrency limit beyond the default of 10, you must purchase additional concurrent lines through the dashboard section. + ### Setting a Monthly Billing Limit In your billing settings you can set a monthly billing limit: From 7dd2e2c3e11dec96eeb92c0594e36e8025005bc8 Mon Sep 17 00:00:00 2001 From: akankshadev99 Date: Mon, 16 Dec 2024 20:32:40 +0530 Subject: [PATCH 3/4] Update concurrency limits section in billing-limits.mdx --- fern/billing/billing-limits.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fern/billing/billing-limits.mdx b/fern/billing/billing-limits.mdx index df7160e9e..7dadaa746 100644 --- a/fern/billing/billing-limits.mdx +++ b/fern/billing/billing-limits.mdx @@ -13,7 +13,7 @@ You can set billing limits in the billing section of your dashboard. ### Concurrency Limits -Vapi has concurrency limits on inbound and outbound calls. These limits has maximum number of simultaneous calls your account can handle concurrently. Exceeding your concurrency limit causes new requests to queue or be rejected until existing calls finish. +Vapi has concurrency limits on both inbound and outbound calls. These limits define the maximum number of simultaneous calls your account can handle. Exceeding your concurrency limit causes new requests to queue or be rejected until existing calls finish. - The default concurrency limit is 10 simultaneous calls(inbound and outbound calls combined). This limit applies to your entire account and is not dependent on the number of users or organizations associated with it. From eda97ffd468fb2706bfc7396575bd98dcc9153ec Mon Sep 17 00:00:00 2001 From: akankshadev99 Date: Mon, 16 Dec 2024 21:50:26 +0530 Subject: [PATCH 4/4] Update speech-configuration.mdx --- fern/customization/speech-configuration.mdx | 61 +++++++++++++++++++-- 1 file changed, 55 insertions(+), 6 deletions(-) diff --git a/fern/customization/speech-configuration.mdx b/fern/customization/speech-configuration.mdx index 28fe4eb73..cdb209865 100644 --- a/fern/customization/speech-configuration.mdx +++ b/fern/customization/speech-configuration.mdx @@ -10,26 +10,75 @@ The Speaking Plan and Stop Speaking Plan are essential configurations designed t **Note**: At the moment these configurations can currently only be made via API. ## Start Speaking Plan +This plan defines the parameters for when the assistant begins speaking after the customer pauses or finishes. -- **Wait Time Before Speaking**: You can set how long the assistant waits before speaking after the customer finishes. The default is 0.4 seconds, but you can increase it if the assistant is speaking too soon, or decrease it if there’s too much delay. - -- **Smart Endpointing**: This feature uses advanced processing to detect when the customer has truly finished speaking, especially if they pause mid-thought. It’s off by default but can be turned on if needed. -- **Transcription-Based Detection**: Customize how the assistant determines that the customer has stopped speaking based on what they’re saying. This offers more control over the timing. +- **Wait Time Before Speaking**: You can set how long the assistant waits before speaking after the customer finishes. The default is 0.4 seconds, but you can increase it if the assistant is speaking too soon, or decrease it if there’s too much delay. +**Example:** For tech support calls, set `waitSeconds` for the assistant to more than 1.0 seconds to give customers time to complete their thoughts, even if they have some pauses in between. + +- **Smart Endpointing**: This feature uses advanced processing to detect when the customer has truly finished speaking, especially if they pause mid-thought. It’s off by default but can be turned on if needed. **Example:** In insurance claims, `smartendpointingEnabled` helps avoid interruptions while customers think through responses and as they formulate responses. Example: The assistant mentions "do you want a loan," triggering the system to check the customer's response. If the customer responds with "yes" (matching the CustomerRegex for "yes|no"), the system waits for 1.1 seconds before proceeding, allowing time for further clarification. For responses requiring number sequences like "What’s your account number?", set longer timeouts like 5 seconds or more to accommodate pauses between digits. + +- **Transcription-Based Detection**: Customize how the assistant determines that the customer has stopped speaking based on what they’re saying. This offers more control over the timing. **Example:** When a customer says, "My account number is 123456789, I want to transfer $500." + - The system detects the number "123456789" and waits for 0.5 seconds (`WaitSeconds`) to ensure the customer isn't still speaking. + - If the customer were to finish with an additional line, "I want to transfer $500.", the system uses `onPunctuationSeconds` to confirm the end of the speech and then proceed with the request processing. + - In a scenario where the customer has been silent for a long and has already finished speaking but the transcriber is not confident to punctuate the transcription, `onNoPunctuationSeconds` is used for 1.5 seconds. + +Here's a code snippet for Start Speaking Plan - + +```json + "startSpeakingPlan": { + "waitSeconds": 0.4, + "smartEndpointingEnabled": false, + "customEndpointingRules": [ + { + "type": "both", + "assistantRegex": "customEndpointingRules", + "customerRegex": "customEndpointingRules", + "timeoutSeconds": 1.1 + } + ], + "transcriptionEndpointingPlan": { + "onPunctuationSeconds": 0.1, + "onNoPunctuationSeconds": 1.5, + "onNumberSeconds": 0.5 + } + } +``` ## 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". +- **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. - **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. + - **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 - + +```json + "stopSpeakingPlan": { + "numWords": 0, + "voiceSeconds": 0.2, + "backoffSeconds": 1 + } +``` + ## Considerations for Configuration - **Customer Style**: Think about whether the customer pauses mid-thought or provides continuous speech. Adjust wait times and enable smart endpointing as needed. -- **Background Noise**: If there’s a lot of background noise, you may need to tweak the settings to avoid false triggers. +- **Background Noise**: If there’s a lot of background noise, you may need to tweak the settings to avoid false triggers. Default for phone calls is ‘office’ and default for web calls is ‘off’. + + + +```json + "backgroundSound": "off", +``` - **Conversation Flow**: Aim for a balance where the assistant is responsive but not intrusive. Test different settings to find the best fit for your needs.