#Language & first message

1 messages · Page 1 of 1 (latest)

acoustic grove
#

Can you confirm you are passing the first message in the same language as the language you are setting?

nimble pulsar
#

Hey @acoustic grove sorry for the delay in reply. I can confirm that when I passed the first message in the same language as the language I am setting, it worked. But when the two languages clashed, the language override did not work.

For some context, I'm trying to figure out how I can have a customer be able to choose the language for their agent upfront AND be able to pass in a first message that will be spoken in that selected language. The only way is to use the translate button on the elevenlabs UI but I'd like to do this progamatically or via the conversation initiation client event

acoustic grove
#

YEah so you can have a first agent which just asks the user to pick a language and then start a second conversation with a different agent using that settings

#

@nimble pulsar

nimble pulsar
#

@acoustic grove I did see some issues with the automatic language switching where the model would switch languages when I didn't speak in a new language, so I'd like to go down the more manual route for now.

I have the language I want to switch the agent to ahead of time. I'm more curious how the first message override works with that. I'd like to be able to customize the first message to be in the language the agent is in but that seems to only work if I provide the first message in the language I am switching the agent to.

Meaning that if I have Chinese, Spanish, and English as options, I'd need to keep an up to date translated list of those first messages I want to override the agent with, which doesn't entirely feel like I'm overriding the first message anymore.