Configure assistant's speaking behavior
# support
s
How can I configure the speaking behavior of the assistant, can you list the steps please? @Vapi
v
message has been deleted
@Shrey Certainly! To configure the speaking behavior of your assistant, you can follow these steps: 1. Access the Assistant Overview: Log in to your VAPI dashboard and navigate to the assistant overview section. 2. Select Voice Configuration: Look for the voice configuration settings where you can adjust the speaking behavior. 3. Choose a Voice Model: Select from the available voice models to find one that suits your needs. You can preview each voice to hear how it sounds. 4. Adjust Speaking Parameters: Customize parameters such as pitch, rate, volume, and any other available options to fine-tune how the assistant speaks. 5. Test the Voice: Use the provided tools to test how the assistant sounds with the new settings. Make any necessary adjustments. 6. Save Your Configuration: Once you're satisfied with the speaking behavior, save your configuration to apply the changes. 7. Deploy Changes: If required, deploy the changes to make them active for your assistant's interactions. Remember, if you need any assistance during the process or have specific questions about the configuration options, please feel free to ask for support.
You can continue this conversation by mentioning me in the message.
s
cant find the voice configuration settings
@Vapi
v
@Shrey Please ask support for more info on this.
s
If I want the assistant to say a phone number, how do I make it say the number slowly digit by digit? @Vapi
v
@Shrey To have the assistant say a phone number slowly and digit by digit, you can adjust the speaking rate and insert pauses between the digits. Here's how you can do it: 1. Set a Slower Speaking Rate: In the voice configuration settings, look for the option to adjust the speaking rate and set it to a slower pace. 2. Add Pauses: You can insert brief pauses between each digit to ensure the assistant enunciates each one clearly. This can often be done by adding commas or spaces in the text string of the phone number. 3. Use SSML: If your VAPI supports Speech Synthesis Markup Language (SSML), you can use the
<say-as>
tag with the
interpret-as="digits"
attribute to specify that the text should be spoken one digit at a time. Additionally, you can use the
<break>
tag to add pauses. Here's an example using SSML:
Copy code
xml
<speak>
  <say-as interpret-as="telephone">1 2 3,</say-as>
  <break time="300ms"/>
  <say-as interpret-as="telephone">4 5 6,</say-as>
  <break time="300ms"/>
  <say-as interpret-as="telephone">7 8 9 0</say-as>
</speak>
This SSML snippet will make the assistant say "one, two, three," pause for 300 milliseconds, then continue with "four, five, six," and so on. If you need further assistance with the specific syntax or settings, please let me know the phone number you wish to be spoken out, and I can help you format it correctly.
s
can you navigate me to the voice configuration settings?
Can you navigate me to the voice configuration settings? @Vapi
v
@Shrey Please ask support for more info on this.
s
I cant find the voice configuration settings. @Vapi
v
@Shrey Please ask support for more info on this.
s
@Shubham Bajaj can you navigate me to the voice configuration settings in vapi? cant find it. Thank you
How to add pauses between characters for example digits in a phone number? @Vapi
v
@Shrey To add pauses between characters, such as digits in a phone number, you can use the Speech Synthesis Markup Language (SSML) if your VAPI supports it. Here's a step-by-step guide: 1. Open your VAPI tool where you input the text you want the assistant to speak. 2. Use the
<say-as>
tag with the
interpret-as="digits"
attribute to ensure the assistant speaks each digit individually. 3. Insert
<break time="Xms"/>
tags between the digits to add pauses, where
X
is the number of milliseconds for the pause. Here's an example of how you might format a phone number with pauses:
Copy code
xml
<speak>
  <say-as interpret-as="digits">1</say-as><break time="500ms"/>
  <say-as interpret-as="digits">2</say-as><break time="500ms"/>
  <say-as interpret-as="digits">3</say-as><break time="500ms"/>
  <say-as interpret-as="digits">4</say-as><break time="500ms"/>
  <say-as interpret-as="digits">5</say-as><break time="500ms"/>
  <say-as interpret-as="digits">6</say-as><break time="500ms"/>
  <say-as interpret-as="digits">7</say-as><break time="500ms"/>
  <say-as interpret-as="digits">8</say-as><break time="500ms"/>
  <say-as interpret-as="digits">9</say-as><break time="500ms"/>
  <say-as interpret-as="digits">0</say-as>
</speak>
This will make the assistant say each digit with a half-second pause in between. Adjust the
time
attribute to increase or decrease the length of the pause as needed. If you're not using SSML or if your VAPI has a different method for adding pauses, please let me know, and I can provide further assistance based on your specific setup.
s
there is no tool, I want to provide the number in the system prompt
there is no tool, I want to provide the number in the system prompt@Vapi
v
@Shrey I understand you'd like to provide a phone number in the system prompt for the assistant to say it digit by digit with pauses. Here's how you can format the prompt: "Please call the following number slowly, digit by digit: 1, 2, 3, 4, 5, 6, 7, 8, 9, 0." By separating each digit with a comma and a space, you are indicating that you want a brief pause between each number when the assistant speaks it. If your system supports SSML, you can use the more precise method I described earlier. If not, this method is a simple way to instruct the assistant to pause between digits.
s
How to use SSML? @Vapi
I am still not sure, if I want the assistant to announce or call out a number to the caller, how the agent will do that, I tried SSML. I also tried separating digits with comma, but the pause is very small. What do I do? @Vapi
v
@Shrey If the pauses between digits are too short when using commas, and you've tried using SSML without success, you might need to increase the length of the pauses manually. Here's what you can do: 1. Use longer pauses in SSML: If the VAPI supports SSML, you can specify longer breaks using the
<break>
tag. For example, you can use
<break time="800ms"/>
for an 800-millisecond pause. 2. Use periods or dashes for longer natural pauses: If SSML is not an option, using periods or dashes between digits can create a longer pause when spoken by text-to-speech systems. For example: "1. 2. 3. 4. 5. 6. 7. 8. 9. 0." 3. Add the word "pause" between digits: Some systems may interpret the word "pause" as an instruction to take a break. For example: "1 pause 2 pause 3 pause 4 pause 5 pause 6 pause 7 pause 8 pause 9 pause 0." 4. Customize the text-to-speech settings: If your VAPI allows for customization of the text-to-speech engine, you may be able to set a default pause length that is used whenever punctuation like commas or periods is encountered. If none of these methods work, or if you're unsure how to apply them, please reach out to the support team for your specific VAPI for further assistance. They may have additional tools or settings that can help achieve the desired result.
s
Can you tell me how can i configure the assistant's speaking behavior? @Vapi
v
@Shrey Please ask support for more info on this.
s
@Shrey can you rephrase your issue description with examples and usage for "speaking behavior of the assistant"?? Like what your trying to achieve.
s
@Shubham Bajaj there is a code that I want the assistant to say and phone numbers too. For example if there is a phone number that the assistant has to say, it says it without any pause which is very unclear for the caller to catch. It should say the codes or the digits character by character, in fact should take a pause of atleast 1.5 s in between the digits or the alphabets.
s
@Shrey You can use 11labs prompting guide to add pause between numbers https://elevenlabs.io/docs/product/prompting/pauses
Do let me know how it goes!!
s
@Shubham Bajaj I think it all depends on the prompting for 11 labs, as it does not provide any settings for speed as I have checked. If you have any other observations, please let me know. Thanks
18 Views