Skip to content

Commit 94752ca

Browse files
akankshadev99skeptrunedev
authored andcommitted
Update billing-limits and Speech Configuration file (#118)
* Update billing-limits.mdx Incorrect billing dashboard URL updated with the correct URL. * Updated concurrency limits in billing-limits.mdx * Update concurrency limits section in billing-limits.mdx * Update speech-configuration.mdx
1 parent 628f764 commit 94752ca

File tree

2 files changed

+63
-7
lines changed

2 files changed

+63
-7
lines changed

fern/billing/billing-limits.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,16 @@ You can set billing limits in the billing section of your dashboard.
99

1010
<Note>
1111
You can access your billing settings at
12-
[dashboard.vapi.ai/billing](https://dashboard.vapi.ai/billing)
12+
[dashboard.vapi.ai/org/billing](https://dashboard.vapi.ai/org/billing)
1313
</Note>
1414

15+
### Concurrency Limits
16+
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.
17+
18+
- 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.
19+
20+
- To increase your concurrency limit beyond the default of 10, you must purchase additional concurrent lines through the dashboard section.
21+
1522
### Setting a Monthly Billing Limit
1623

1724
In your billing settings you can set a monthly billing limit:

fern/customization/speech-configuration.mdx

Lines changed: 55 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,75 @@ The Speaking Plan and Stop Speaking Plan are essential configurations designed t
1010
**Note**: At the moment these configurations can currently only be made via API.
1111

1212
## Start Speaking Plan
13+
This plan defines the parameters for when the assistant begins speaking after the customer pauses or finishes.
1314

14-
- **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.
15-
16-
- **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.
1715

18-
- **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.
16+
- **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.
17+
**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.
18+
19+
- **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.
20+
21+
- **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."
22+
- The system detects the number "123456789" and waits for 0.5 seconds (`WaitSeconds`) to ensure the customer isn't still speaking.
23+
- 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.
24+
- 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.
25+
26+
Here's a code snippet for Start Speaking Plan -
27+
28+
```json
29+
"startSpeakingPlan": {
30+
"waitSeconds": 0.4,
31+
"smartEndpointingEnabled": false,
32+
"customEndpointingRules": [
33+
{
34+
"type": "both",
35+
"assistantRegex": "customEndpointingRules",
36+
"customerRegex": "customEndpointingRules",
37+
"timeoutSeconds": 1.1
38+
}
39+
],
40+
"transcriptionEndpointingPlan": {
41+
"onPunctuationSeconds": 0.1,
42+
"onNoPunctuationSeconds": 1.5,
43+
"onNumberSeconds": 0.5
44+
}
45+
}
46+
```
1947

2048

2149
## Stop Speaking Plan
50+
The Stop Speaking Plan defines when the assistant stops talking after detecting customer speech.
2251

23-
- **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".
52+
- **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.
2453

2554
- **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.
55+
**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.
56+
2657

2758
- **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.
59+
**Example:** For quick queries (e.g., "What’s the total order value in my cart?"), set `backoffSeconds` to 1 second.
60+
61+
Here's a code snippet for Start Speaking Plan -
62+
63+
```json
64+
"stopSpeakingPlan": {
65+
"numWords": 0,
66+
"voiceSeconds": 0.2,
67+
"backoffSeconds": 1
68+
}
69+
```
70+
2871

2972
## Considerations for Configuration
3073

3174
- **Customer Style**: Think about whether the customer pauses mid-thought or provides continuous speech. Adjust wait times and enable smart endpointing as needed.
3275

33-
- **Background Noise**: If there’s a lot of background noise, you may need to tweak the settings to avoid false triggers.
76+
- **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’.
77+
78+
79+
80+
```json
81+
"backgroundSound": "off",
82+
```
3483

3584
- **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.

0 commit comments

Comments
 (0)