mmvora
04/25/2025, 1:58 PMVapi Support Bot
04/25/2025, 2:00 PMlanguage-change-detected
event triggered in Vapi, which explains why you're not receiving this message even when configured. For language detection, Vapi uses automated language recognition instead.
If you need to handle language changes, consider using the codeSwitchingEnabled
parameter with your transcriber, which allows recognition of language switches within utterances:
json
{
"transcriber": {
"provider": "deepgram",
"codeSwitchingEnabled": true
}
}
Note that the transcriber model must support code-switching and the specific languages being used.
Sources:
- [Discord conversation about language-change-detected](https://discord.com/channels/1211482211119796234/1270786139355090995)
- [Discord conversation about code switching](https://discord.com/channels/1211482211119796234/1308120552140964034)
- [Discord conversation about automated language recognition](https://discord.com/channels/1211482211119796234/1328595920899674152)Vapi Support Bot
04/25/2025, 2:00 PMlanguage-change-detected
event triggered in Vapi, which explains why you're not receiving this message even when configured. For language detection, Vapi uses automated language recognition instead.
If you need to handle language changes, consider using the codeSwitchingEnabled
parameter with your transcriber, which allows recognition of language switches within utterances:
json
{
"transcriber": {
"provider": "deepgram",
"codeSwitchingEnabled": true
}
}
Note that the transcriber model must support code-switching and the specific languages being used.
Sources:
- [Discord conversation about language-change-detected](https://discord.com/channels/1211482211119796234/1270786139355090995)
- [Discord conversation about code switching](https://discord.com/channels/1211482211119796234/1308120552140964034)
- [Discord conversation about automated language recognition](https://discord.com/channels/1211482211119796234/1328595920899674152)mmvora
04/25/2025, 5:39 PMShubham Bajaj
04/28/2025, 1:07 AMaivini
04/28/2025, 7:28 AMShubham Bajaj
04/30/2025, 8:41 AM"transcriber": {
"model": "nova-3",
"language": "multi",
"provider": "deepgram",
"codeSwitchingEnabled": true
}
Apologies for the delayed response, You have to set codeSwitchingEnabled to true, after that you will get this event.aivini
05/05/2025, 1:46 PMcodeSwitchingEnabled
is supported on both nova-2
and nova-3
models. However, when I set codeSwitchingEnabled: true
with nova-3
, I get this error from Vapi:
> assistant.transcriber.codeSwitchingEnabled must be false. 'codeSwitchingEnabled' requires the model to be one of: nova-2, nova-2-general.
It seems there's a mismatch between Deepgram's capabilities and what Vapi currently allows. Can you confirm if support for codeSwitchingEnabled
with nova-3
will be added soon?
Thanks!Shubham Bajaj
05/05/2025, 11:12 PMaivini
05/06/2025, 8:20 AMShubham Bajaj
05/14/2025, 1:56 AMaivini
05/14/2025, 7:38 AMaivini
05/15/2025, 9:49 AM