TTS reading unwanted asterisks and incorrect example in librechat.example.yaml #3655
Replies: 1 comment 3 replies
-
These are not bugs, rather suggestions:
By default, all text, symbols or not, is read out loud. This can be improved as you're suggesting, but needs to take into account proper syntax/grammar read-aloud for all languages, not just English.
Right. If you want one voice you should use this format:
|
Beta Was this translation helpful? Give feedback.
-
What happened?
TTS reads out many "asterisks" for bolded words. It might improve user experience to simply remove those asterisks. This could be implemented in Librechat\librechat\api\server\services\Files\Audio\TTSService.js line 267 by modifying input prior to calling the strategy.
Additionally, when implementing the speech settings in librechat.yaml by following librechat.example.yaml, there was an error when the key voice: 'alloy' was used. Instead the field expects 'voices' which is a string.
To clarify confusion, I would update line 34 of librechat.example.yaml to voices: ['']
Steps to Reproduce
the following does not work:
speech:
tts:
openai:
url: 'http://host.docker.internal:8010/v1/audio/speech'
apiKey: ''
model: 'tts-1'
voice: 'alloy'
but the following works:
speech:
tts:
openai:
url: 'http://host.docker.internal:8010/v1/audio/speech'
apiKey: ''
model: 'tts-1'
voices: ['alloy', 'echo', 'fable', 'nova', 'onyx']
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions