Open-Assistant
Open-Assistant copied to clipboard
First chat message cannot be edited
In our chat interface, users can edit their prompts to try and get the kind of answers they're looking for, but this isn't possible for the first chat message. However, as a user I find myself wanting to to exactly that quite frequently, e.g. to refine my initial prompt to get the model in a certain "mood".
It seems like this is not very straightforward to resolve, since conversation trees currently can only have a single message as root. I see two different possible ways forward (there could also be better solutions):
- Make it such that if the user edits the initial prompt, it creates a new conversation tree behind the scenes.
- Make it such that a tree node can have revisions associated with it, which would store edited as well as regenerated messages.
The first option would require no changes to the database, while the second option would give an additional signal about how a message evolves as the user refines a prompt (reply to an edited message will probably also be a relevant answer to the original prompt).
Example of the second message being editable but not the first:
Corresponding Discord message: https://discord.com/channels/1055935572465700980/1055940465536532571/1097833671634984990