enricoros / big-AGI

Generative AI suite powered by state-of-the-art models and providing advanced AI/AGI functions. It features AI personas, AGI functions, multi-model chats, text-to-image, voice, response streaming, code highlighting and execution, PDF import, presets for developers, much more. Deploy on-prem or in the cloud.
https://big-agi.com
MIT License
4.83k stars 1.09k forks source link

[BUG] Voice settings/switch languages not working #555

Open shuther opened 1 month ago

shuther commented 1 month ago

Description

Any language I picked up (French or random one), the voice is always in english when I select an assistant voice. The call to the API doesn't return anything outside of English (in the label section). I am not sure what is expected? curl -X GET 'https://api.elevenlabs.io/v1/voices' -H 'Content-Type: application/json' -H 'xi-api-key: xxx'

maybe connected to #75.

Device and browser

Mac, Brave, latest git version of big-AGI

Screenshots and more

Screenshot 2024-05-23 at 08 48 33

Willingness to Contribute

enricoros commented 1 month ago

Change the language drop-down mostly changes the microphone language (using the Web Speech API). As far as output languages, changing the language should activate the multi-lingual model in ElevenLabs: still the same name for the voice, but with the ability of emitting sounds in multiple languages.

shuther commented 1 month ago

Maybe I am missing what I could change and what I should expect. Are you saying that when I select a different name in the dropdown, I should hear somebody else with a different language ? Today I hear different people but always in English?