AI not pronouncing year correctly
# support
i
Having a problem with the AI pronouncing the year wrongly in finnish, how can it be fixed
v
Hi there! 👋 I understand you're having an issue with the AI mispronouncing years in Finnish. This is definitely something I can help you with! Based on the information I've found, here are several approaches you can try to fix the pronunciation of years in Finnish: 1. Custom Voice Formatters - You can implement custom voice formatters specifically for handling years in Finnish. This approach has worked for other languages like French (transforming "2026" into "deux mille vingt six") and could be adapted for Finnish. [According to this discussion](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1344359573473071245), custom formatters can be added when pronunciation issues are found. 2. Phonetic Spelling - Try spelling out the year phonetically the way it should sound in Finnish. [This is mentioned as an effective technique](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1332426179285880863) for words that are consistently mispronounced. 3. SSML Tags - Enable and use Speech Synthesis Markup Language (SSML) to fine-tune the pronunciation. To enable SSML parsing in Vapi, you'll need to: - Visit the [assistant update API](https://docs.vapi.ai/api-reference/assistants/update-assistant) - Select your voice provider (e.g., 11labs) - Enable
enableSsmlParsing
- Update your assistant 4. Voice Pipeline Configuration - You may need to tweak the voice pipeline configuration to get the desired behavior, as [mentioned in the documentation](https://docs.vapi.ai/quickstart/phone/inbound). 5. Chunk Planning - Ensure that
chunkPlan.enabled
is set to
true
for proper sentence boundary detection and improved prosody in non-English languages. You can also adjust parameters like
minCharacters
and
punctuationBoundaries
to tune chunk behavior.
6. Try Different Voice Models - Consider switching to a different Finnish voice or provider. Vapi supports multiple text-to-speech providers including PlayHT, 11labs, Rime-ai, Deepgram, OpenAI, Azure, Lmnt, and Neets. 7. Spell Out Numbers - According to the [Vapi prompting guide](https://docs.vapi.ai/prompting-guide), spelling out numbers often sounds more natural than using numerals. Is there a specific TTS provider you're currently using? I'd be happy to provide more targeted advice based on your setup! Sources: - [Discord discussion on custom voice formatters](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1344359573473071245) - [Discord discussion on pronunciation techniques](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1332426179285880863) - [Vapi documentation on voice pipeline](https://docs.vapi.ai/quickstart/phone/inbound) - [Discord discussion on chunk planning](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343543475383046185) - [Vapi prompting guide](https://docs.vapi.ai/prompting-guide) - [Vapi documentation on multilingual support](https://docs.vapi.ai/customization/multilingual)
k
To enhance your pronunciation, consider choosing a Finnish-supported voice from providers like Azure or ElevenLabs. Additionally, formatting the assistant's prompts to specify years clearly can help ensure accurate pronunciation..
i
it didnt work still, is there anything else to do?
k
Try phonetic spelling or switch TTS providers.
i
not working
tried those long time ago
we managed to fix it spelling phone numbers, but it doesnt pronounce year properly, it talks gibberish
@Kings_big💫
KING WHERE IS YOUR BIG OMG
s
can you send me the call_id?
i
one sec
@Sahil
@Sahil
db89360c-bd97-4df3-b6b9-e1841fcb40e1
Here
s

https://www.youtube.com/watch?v=dp-E9VL3QNI

Watch this video
u
you have to add this to the system prompt: " For refrence: - Current date: {{ "now" | date: "%B %d, %Y", "America/New_York" }} - Current time: {{ "now" | date: "%I:%M %p", "America/New_York" }} - Day of the week: {{ "now" | date: "%A", "America/New_York" }} " then it will know the current time and data, paste this to chatGPT and tell him your exact location to make it better.
s
Thanks!
u
you're welcome
2 Views