infiniflow / ragflow

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.
https://ragflow.io
Apache License 2.0
18.18k stars 1.84k forks source link

[Feature Request]: Improvements to User Query and Chatbot Interaction Buttons #2449

Open Said-Apollo opened 1 week ago

Said-Apollo commented 1 week ago

Is there an existing issue for the same feature request?

Is your feature request related to a problem?

Not a problem, but annoying

Describe the feature you'd like

Delete Button Behavior: Currently, when a user clicks the "Delete" button on their query, only the user's query is deleted, while the chatbot's response remains. It would improve the user experience if deleting a query also removed the corresponding chatbot response to maintain consistency.

"Prompt" Button: The "Prompt" button appears redundant in its current form. It may be beneficial to remove it or provide an option to disable it, as its function seems unclear or unnecessary for typical usage scenarios.

"Read Content" Button Visibility: The "Read Content" button should only be displayed when the Text-to-Speech (TTS) functionality is enabled. This will prevent confusion and streamline the interface when TTS is not in use.

Edit Button for User Queries: Adding an "Edit" button for users' queries would allow them to quickly modify their input instead of having to delete and rewrite it, improving usability and efficiency.

Interrupt Button: Adding an "Interrupt" button next to the send button in the input chat window would allow users to disrupt or stop the chatbot's current generation process. This would be particularly useful for long or irrelevant responses, giving users more control over the interaction flow.

Describe implementation you've considered

No response

Documentation, adoption, use case

Expected Outcome:

- Enhanced user experience with cleaner interactions.
- Streamlined interface by removing or conditionally displaying unnecessary buttons.
- More intuitive control over user queries and chatbot responses.

Additional information

No response