I want to use OpenAI Realtime for a chatbot not in...
# ask-ai
c
I want to use OpenAI Realtime for a chatbot not in English. Easy enough. But using a switch I want the user to have the option of having the ai review the accent of the user and suggest improvements BUT in English, before returning to the conversation in the foreign language. I’ve tried very strict instructions and function tool handoffs to other agents but either the ai ends up just using the foreign language for everything or the agent just goes quiet.
t
Thanks for reaching out, Nick. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Could you help me understand how you’re currently handling the language switching and accent review features? Like, are you using any particular APIs or frameworks? Also, what kind of issues are popping up when the AI goes quiet or switches to the foreign language unexpectedly? I’m here to help figure this out with you! Sources: translators/tts_translator.py | Building the all-in-one platform for voice AI agents
c
I’m happy to start fresh and use your suggestions. It needs to be Python.
t
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!