main icon indicating copy to clipboard operation
main copied to clipboard

Text-to-speach feature auto-translates my sentences

Open aabuhijleh opened this issue 1 year ago • 5 comments

When I say a sentence in English, like "how are you?", it gets translated automatically to Arabic without me asking. This is not happening 100% of the time but frequently.

Maybe this has to do with the device's available languages?

image

aabuhijleh avatar Nov 24 '24 13:11 aabuhijleh

I've researched and tested this. We don't send a list of languages to the text-to-speech API.

The same thing is happening to me. I'm guessing it's because of my accent. Could that be it?

astoilkov avatar Nov 25 '24 12:11 astoilkov

@astoilkov TBH, I'm not sure. The strange thing is that it's understanding what I'm saying in English but then decides to translate it.

aabuhijleh avatar Nov 27 '24 12:11 aabuhijleh

Hmm, ok, let me investigate more. Can you answer a few questions so I know what to look for:

  • Do you have an OpenAI api key set? Asking because otherwise it fallbacks to Groq text-to-speech API.
  • What's the version of IntelliBar you're using?

astoilkov avatar Nov 27 '24 14:11 astoilkov

Do you have an OpenAI api key set? Asking because otherwise it fallbacks to Groq text-to-speech API.

Yes

What's the version of IntelliBar you're using?

0.40.1

abed-daloopa avatar Dec 03 '24 14:12 abed-daloopa

After I've researched this there doesn't seem to be any other reason for this other than the model doing this by itself. It just happens sometimes, mainly for short prompts.

We're exploring alternative better providers for text to speech like AssemblyAI — https://www.assemblyai.com/products/speech-to-text — that might improve upon this.

astoilkov avatar Dec 11 '24 11:12 astoilkov