serge-chat / serge

A web interface for chatting with Alpaca through llama.cpp. Fully dockerized, with an easy to use API.
https://serge.chat
Apache License 2.0
5.66k stars 406 forks source link

Allow the user to edit the last string and regenerate an answer #220

Open nsarrazin opened 1 year ago

nsarrazin commented 1 year ago

Commonly requested feature, allow the user to edit a question they ask and then regenerate the answer.

If the user edits a prompt high in the chat history, every chat that follows should be deleted.

ghost commented 1 year ago

If you'd allow editing/deleting any answer (from the user or the model), this could be really useful for storywriting/DM'ing. Would also be really cool if you could hit send when the chat field is empty to allow the model to continue it's last answer.

fishscene commented 6 months ago

One feature I saw on another site was the ability to generate additional answers in case you didn't like the first. But it wouldn't delete/erase the previous answers generated. You could just swipe between the generated answers to select which one you wanted to proceed with.

Edit answers + ability to generate additional answers (to somewhat maintain AI autonomy) might be nice.