lm-sys / lm-sys/FastChat

How to save conversation history in a nice-looking way?

Open
#3,046 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
39.5k
Forks
4.8k
PR merge metrics
No merged PRs in 30d

Description

I saw in the documents there are "!!save" and "!!load" but the usage and examples were not given, so I don't know how to use it.

I am thinking of adding a button on the webUI, close to "Clear History" button and "Regenerate" button, and once the button is clicked, the conversation history on the web should be saved to somewhere, preserving the formatting and colors, etc.

Can anybody help me please?

Thanks a lot!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing !!save and !!load usage in the documentation, then inspect the webUI area around the Clear History and Regenerate buttons. Define where saved conversations go and how formatting and colors are preserved. Done means users can save and restore conversation history through the webUI with the expected presentation intact.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.