quivr icon indicating copy to clipboard operation
quivr copied to clipboard

[Feature]: Enable Editing of Previous Messages in Chat Interface

Open TorstenC opened this issue 5 months ago • 2 comments

The Feature

I propose that the Quivr web interface should provide the capability to edit previous messages from both the user and the agent before submitting (round-trip). This functionality should be similar to the feature available at console.anthropic.com/workbench and platform.openai.com/playground/chat.

Motivation, pitch

This feature significantly simplifies the chat dialogue and enhances collaboration efficiency with the language model (LLM). Here are two typical use cases that illustrate the advantages:

  1. Clarification and Context Addition: If I forget to specify that my question relates to Linux, I can update my original query with “in Linux” and remove the irrelevant part of the agent’s response (e.g., related to Windows) before asking my follow-up question.

  2. Specific Adjustments in Responses: If the response includes a placeholder for a file path such as "your/path/to/config.yaml," I can replace this placeholder with the correct path. This ensures that all further code adjustments include the correct path.

By allowing the editing of previous messages, interactions become clearer and more precise, minimizing misunderstandings and making the workflow smoother.

Twitter / LinkedIn details

No response

TorstenC avatar Sep 09 '24 18:09 TorstenC