open-webui
open-webui copied to clipboard
Add the ability to delete a single message (only the selected one, instead of deleting all messages after it)
Is your feature request related to a problem? Please describe. Many times, I only need to delete a single message in the conversation to remove unnecessary information and continue the discussion. However, the current delete function removes all messages after the selected one, which is very annoying.
Describe the solution you'd like Add the ability to delete individual messages.
Describe alternatives you've considered Replace the message that needs to be deleted with a space or something else, but this will make the chat history look very odd.
Messages can be deleted at the granularity of individual q-and-a pairs.
Messages can be deleted at the granularity of individual q-and-a pairs.
@GrayXu the safest method is to remove the pair, some models behave weirdly if you feed them a chat context that seems disjointed and out of order (not following user, assistant, user, assistant, etc. format).
Messages can be deleted at the granularity of individual q-and-a pairs.
@GrayXu the safest method is to remove the pair, some models behave weirdly if you feed them a chat context that seems disjointed and out of order (not following user, assistant, user, assistant, etc. format).
To me that's the point. If I want to experiment with breaking LLMs I should be able to. Also there's got to be some models finetuned in a way that makes it a legit use case.
To me that's the point. If I want to experiment with breaking LLMs I should be able to. Also there's got to be some models finetuned in a way that makes it a legit use case.
This sort of experimentation is more easily done in the Playground area of the application. You can set the message roles arbitrarily at any time and re-run generation.
To me that's the point. If I want to experiment with breaking LLMs I should be able to. Also there's got to be some models finetuned in a way that makes it a legit use case.
This sort of experimentation is more easily done in the Playground area of the application. You can set the message roles arbitrarily at any time and re-run generation.
Good point I am now convinced. I had forgotten about even trying the playground because it's not intuitive to go in the bottom left menu. I'll open an issue for that if there isn't any.
Closing in favour of #4923