Feature Request
It would be useful to have a built-in speaker (text-to-speech) option in the Flowise Chat Embed UI, allowing users to listen to bot responses.
This would enhance accessibility and user engagement, especially for visually impaired users or those multitasking.
Suggested Implementation
- Add a speaker icon next to each chatbot response.
- On click, use Web Speech API (
speechSynthesis.speak) to read the message aloud.
- Provide controls to pause/stop/replay.
- Make it configurable via a flag in the embed script config (e.g.,
enableTTS: true).
- Optional: to include default languages
Example Reference
Benefits
- Improved accessibility
- Enhanced UX
- Minimal implementation cost using native browser APIs