Skip to content

Feat: Add speaker option (text-to-speech) to recite chatbot responses #309

@Anujjoshi3105

Description

@Anujjoshi3105

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

Image

Benefits

  • Improved accessibility
  • Enhanced UX
  • Minimal implementation cost using native browser APIs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions