markqlogan
02/21/2025, 3:34 AMvoice: {
provider: "11labs",
voiceId: "matilda",
chunkPlan: {
formatPlan: {
replacements: [
{
type: "exact",
key: "Bonnie",
value: "Bombay"
}
]
}
}
},
firstMessage: `Hi Bonnie, this is Joy. How's it going?`,
Then when I called the phoneNumber, the assistant picked up and said "Hi Bombay, this is Joy. How's it going?" This is indeed what we expected.
2. Then after, I changed replacement from "Bombay" to "Jonathan" like the following:
voice: {
provider: "11labs",
voiceId: "matilda",
chunkPlan: {
formatPlan: {
replacements: [
{
type: "exact",
key: "Bonnie",
value: "Jonathan"
}
]
}
}
},
firstMessage: `Hi Bonnie, this is Joy. How's it going?`,
But when I call the phoneNumber, it is still answering with the first message audio of "Hi Bombay, this is Joy. How's it going", instead of "Hi Jonathan...". This is NOT the expected behavior. There's an example of this happening on this call:
call.id: 0814b311-fadd-49a5-9886-ca934a148353
timestamp: 1740107875746
3. Suspecting that there is some caching error going on (either Vapi having cached an audio file that is just playing for the firstMessage, or whether the chunk itself was frozen with the first occurrence of the replacement and is not updating subsequently), I tried changing the string of the firstMessage itself, and only then does the new replacement actually take place (but this new one will also be stuck on that particular replacement).
This is a critical error for our pronunciation implementation and we'd really appreciate your help looking into this for us!
Thanks!markqlogan
02/21/2025, 4:08 AMVapi
02/22/2025, 10:21 AMmarkqlogan
02/22/2025, 5:28 PMVapi
02/24/2025, 10:11 AM