API set language detection
# support
f
I used to set the language detection for my assistants via the VAPI Api but it seems this option is not available anymore in the current version. Getting the error message transcriber.codeSwitchingEnabled must be false. How to set that property now correctly?
m
I would also be interested in this
s
call_id pls
f
I do not have a call_id because I am at creating the voice assistant. Here I have the AssistantId: 959f1b1b-0e7b-468b-b146-a2c0c406df82
I also checked the swagger docs and found that this flag is not available anymore in swagger.
s
Copy code
json
 "transcriber": {
      "model": "nova-2",
      "language": "en",
      "provider": "deepgram",
     "codeSwitchingEnabled": true
    }
set the langauge to en and then enable it will work.
multi
is not in supported list.
2 Views