Vapi saying words which does not exist in the lan...
# support
j
Call ID: d8cd9721-5981-40f5-877f-504d3e4c7919 Sometimes incorrect words which does not exist in Spanish are said by VAPI. I am currently creating spanish speaking voice assistants and one of my customers oncountered the following error: { "role": "bot", "time": 1745580488891, "source": "", "endTime": 1745580492161, "message": "Oído cómo se prepara el tartar de salchichón con plátano.", "duration": 3270, "secondsFromStart": 81.56 } { "role": "user", "time": 1745580493411, "endTime": 1745580523711, "message": "Picamos muy pequeño el salchichón con trozos muy muy pequeños. Cortamos el plátano para hacer como una especie de lingote que caramelizaremos en la sartén por las 4 caras, y el salchichón picado lo aliñamos con el aceite, y terminamos poniendo el plátano caramelizado y encima el salchichón, con un poco de de sal y pimienta.", "duration": 24819.99365234375, "secondsFromStart": 86.08 } { "role": "bot", "time": 1745580525161, "source": "", "endTime": 1745580560051, "message": "Oído, aquí tienes la elaboración detallada del tartar de salchichón con plátano,* `cicuno pre preparación`*. Picar el salchichón ibérico en trozos muy pequeños, cortar el plátano en forma de lingote***`, 2, preparación. Semana Marieca, `***calentar una sartén y caramelizar el plátano por todas caras, no mientras se carameliza, aliñar el salchichón picado con el aceite de oliva extra
virgen, vez caramelizado, emplatar
el plátano y colocar encima el salchichón. Añadir sal y pimienta al gusto. 3 por 3. Conservación,", "duration": 28424.969970703125, "secondsFromStart": 117.83 } Either the LLM generation or something in the middle is generating this grammar and vocabulary issues, any ideas?
v
Try enabling SSML parsing to improve Spanish pronunciation and text formatting:
Copy code
javascript
// Update your assistant configuration
const assistantConfig = {
  voice: {
    provider: "azure", // or your current provider
    voiceId: "es-ES-ElviraNeural", // Spanish voice
    enableSsmlParsing: true // Enable SSML parsing
  }
};
This helps with proper sentence boundary detection and improves prosody in non-English responses, which could address the strange text formatting and non-existent words in your Spanish output. Sources: - [Vapi Multilingual Support documentation](https://docs.vapi.ai/customization/multilingual) - [Discord conversation about SSML parsing](https://discord.com/channels/1211482211119796234/1338644573207007304)
j
@User
s
checking if this is resolved/solved for you?
j
no, I need a solution
s
To help track down this issue, could you share: - When exactly this happened (the timestamp) - What response you expected to get - What response you actually got instead This would really help us figure out what went wrong!