Hey guys, I'm attempting to create a voice agent that is able to detect the language the user is speaking in/or the language the user prefers, then continues the conversation speaking in said language.
The voice agent should be fluent in three languages: English, Malay and Mandarin.
I've tried prompting this in the agent but it doesn't work to the extent I need it to.
Has anyone achieved this sort of functionality before? And any suggestions on how to prompt this into the agent if not?