lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
42.9k stars 9.64k forks source link

[Request] Add Append Mode to 'Voice Input' for Chat: Preserve Existing Text #3378

Open camAtGitHub opened 2 months ago

camAtGitHub commented 2 months ago

🥰 Feature Description

When using voice input for chat, it's frustrating when the existing text in the input box is cleared and replaced with new dictated text. This can be particularly problematic when using the automatic stop listening feature, which pauses the voice input after a short period of time. As a result, users lose what has already been said and need to redo it, which can is time-consuming and inconvenient.

🧐 Proposed Solution

I propose that the [default] option when using voice input is: existing text in the input box should be appended to, rather than overwritten. This would allow users to build on their previous thoughts and continue adding to their message without losing any text. For example, if a user starts dictating a message and then pauses to think for a second, the voice input would stop, and when they restart voice input, the existing text would still be present in the input box, allowing them to continue adding to their message without losing any information.

😜 Alternative Solution Create an 'append voice input' option which allows the user to choose whether to overwrite the existing text or append to it.

📝 Additional Information

This feature would greatly improve the user experience for those who rely on voice input for chat communication, especially in situations where they need to pause and think before continuing to dictate their message. It would also be beneficial for users who need to reference previous messages or ideas while continuing to communicate. By appending new dictated text to the existing text, rather than overwriting it, longer, clearer instructions are able to be given.

lobehubbot commented 2 months ago

👀 @camAtGitHub

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。