Pronunciation dictionaries not working
# support
t
I use vapi via API (typescript sdk) and add pronunciation dictionary of ElevenLabs but its doesnt work. this is my voice settings: voice: { speed: 1, provider: '11labs', voiceId: 'cjVigY5qzO86Huf0OWal', model: 'eleven_turbo_v2_5', stability: 0.5, similarityBoost: 0.75, pronunciationDictionaryLocators: [ { pronunciationDictionaryId: "......", versionId: "....." } ] } i the logs i see the following line: {"level":30,"time":1756631273345,"timestamp":1756631273345000000,"severityText":"INFO","severityNumber":9,"body":"ElevenLabs BOS message sent","attributes":{"category":"voice","callId":"e6c7a6e0-1b5d-40be-98d9-11c249909c36","orgId":"abd89889-0989-46ce-a296-f8872917f09b","provider":"elevenlabs","voiceId":"cgSgspJ2msm6clMCkdW9","voiceSettings":{"stability":0.5,"similarity_boost":0.75,"speed":1},"pronunciationDictionaries":0,"websocketIndex":0}} which mean pronunciationDictionaries is not used. call ID: e6c7a6e0-1b5d-40be-98d9-11c249909c36
c
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards, Vapi Customer Support Team
Hi tf-117, If you are experiencing issues with pronunciation dictionaries not applying correctly, ensure the following: 1. **Model Compatibility**: Verify that you're using compatible ElevenLabs models like
eleven_turbo_v2
or
eleven_flash_v2
for phoneme rules [here](https://docs.vapi.ai/assistants/pronunciation-dictionaries). 2. **Correct Configuration**: Check that the
stringToReplace
in your dictionary matches the text exactly, including case sensitivity. Also, confirm that the pronunciation dictionary is correctly referenced in your assistant's voice configuration. 3. **Test Setup**: Use the Vapi playground to test if the custom pronunciations are working as intended. 4. **SSML Tags**: Ensure any SSML tags are properly formatted since pronunciation dictionaries automatically enable SSML parsing. Reviewing these steps should help in resolving the issue with pronunciation dictionaries. If the problem persists, please let us know.