`codeSwitchingEnabled` not working as expected!
# support
y
When setting the
codeSwitchingEnabled
to
true
, it should detect the caller's language and change accordingly. Not sure if I'm missing something on this, can you please help me figure out this? Please refer these ids for debugging the issue. Call Id : b3a4500c-9b68-4b04-a1e4-b54d531001c5 Assistant Id : 96eade21-8121-41ee-a935-f0401885cf70 @User This is the issue I was referring to, in OH https://cdn.discordapp.com/attachments/1294218069127860255/1294218069622784052/image.png?ex=670a3601&is=6708e481&hm=fefc32adc0eff1141062fe0e711edcda3249e670505ebfca6321633c68031159&
v
@Yash Certainly! The
codeSwitchingEnabled
feature is designed to allow the voice assistant to detect the language being spoken by the caller and switch to that language accordingly. However, as per the updated context, specifying the language is no longer required in the voice assistant configuration. Instead, you should ensure that the voice you have chosen for your voice assistant supports the languages you expect your callers to use. If you have already selected a multilingual voice, the assistant should handle language switching automatically. If you're experiencing issues with language detection or switching, please verify the following: 1. The voice selected for your voice assistant supports the languages you need. 2. The voice assistant is properly configured to use the selected voice. 3. There are no conflicting settings that might prevent
codeSwitchingEnabled
from working as expected. If after checking these points the issue persists, it might be necessary to look into the specific call and assistant IDs you've provided for a more detailed investigation. Since I'm here to assist you, I can guide you through the necessary steps or escalate the issue to our support team for further analysis. Would you like me to guide you through checking the voice settings, or shall I assist you in escalating this issue to our support team?
You can continue this conversation by mentioning me in the message.
y
Not able to fix it
@Vapi Need help
v
@Yash I'm here to help you with the issue you're facing regarding the
codeSwitchingEnabled
feature. To assist you effectively, I may need to gather more information or perform specific actions. Since you're experiencing trouble with the feature, I can guide you through some troubleshooting steps. Here's what we can do: 1. Verify that the voice assistant's configuration is correct and that
codeSwitchingEnabled
is set to
true
. 2. Check if the voice model you're using supports multiple languages and code-switching. 3. Review any recent changes to the voice assistant settings that might have affected this feature. 4. Look into the logs associated with the Call ID and Assistant ID you provided to identify any errors or anomalies. If these steps do not resolve the issue, it might be necessary to escalate this to our technical support team for a deeper investigation. Would you like to proceed with the troubleshooting steps, or should I go ahead and escalate this issue for you?
y
not resolved
s
@Yash can you please how your expecting it out to work? usually it is used to detect user langauge and generate model output in same lanaguage by instructing the model to generate output in user language and then using multilingual voice model it's voiced out.
y
Hey @Shubham Bajaj this is exactly what I am expecting, can you please look into the ids that I provided and check if anything is not right on my end?
s
apology for missing it, is it resolved for you ? @Yash
y
Not yet @Shubham Bajaj 🥹
s
@Yash i couldn't find any assistant config, can you share the correct assistant id here?
y
Sorry @Shubham Bajaj someone from my team deleted that assistant. Here is the correct ids: Assistant ID: c12dabcb-27d0-48eb-9fab-85dac6483587 Call ID 28dd7031-21e9-4b7e-be67-3fbc34303ff9
s
@Yash by upcoming monday we will release new changes for codeSwitchingEnabled as it's has some ongoing issue.
y
Sure @Shubham Bajaj thanks for the update 👍