jupyter-ai icon indicating copy to clipboard operation
jupyter-ai copied to clipboard

Add multi-conversation management

Open michaelchia opened this issue 1 year ago • 2 comments
trafficstars

Problem

I would like to reenter previous conversations.

Proposed Solution

Proposal is to add a couple more buttons at the top to start a new conversation (from https://github.com/jupyterlab/jupyter-ai/issues/616) and to visit the past conversations.

Screenshot 2024-06-03 at 9 47 16 PM

Upon clicking that middle button it could just show a list of past conversations where the text is the first message of the conversation. It shows when the last message was sent and provides a delete button. Also, it also provides a 'new conversation' button and 'delete all' button.

Potential future enhancement (not shown):

  • search bar
  • recording, indicating and setting last used model for each conversation
    • if users tend to use different models for tasks
    • personally, I intend to create custom "models" with special behaviour (RAG or agent flows)
Screenshot 2024-06-03 at 10 02 00 PM

I am absolutely terrible at UI/UX so please improve upon this.

Additional context

This is a follow-up from https://github.com/jupyterlab/jupyter-ai/issues/616

michaelchia avatar Jun 03 '24 14:06 michaelchia

Would y'all consider a simpler solution? I rather think the feature creep here could start making the UI/UX cumbersome. We already have an /export command that outputs a full record of the chat in Markdown. I love this! What about adding an /import command that loads a past chat with the file name? The user may continue chatting from there... It just requires users to do their own data management of chat histories in local folders—which sounds good to me. One can organize chat files by personal projects or topics, rather than the chronological chat list on the UI, which grows unwieldy. One can even share them with others, post them online, archive them with a DOI, etc.

labarba avatar Jul 20 '24 11:07 labarba

Of note https://github.com/jupyterlab/jupyter-chat natively supports opening conversation history from UI.

krassowski avatar Jul 20 '24 11:07 krassowski

I don't know if this should be a separate issue, but I wanted to note that chat GPT also has branching on conversations exposed to UI as little < and > buttons which appear after user edits a message:

image

I would like to replicate this behaviour when implementing https://github.com/jupyterlab/jupyter-ai/issues/339

krassowski avatar Oct 10 '24 08:10 krassowski

Hey folks, Jupyter AI v3 now supports having multiple conversations with multiple histories with multiple users! This has been a big effort and took a long time to develop.

Admittedly, the conversation management UI is still in early development, and doesn't have the same level of polish as the designs proposed here. I've opened a new issue to track the conversation management improvements we want in v3.0.0: #1304.

Closing since this feature is now supported in Jupyter AI v3. Thank you everybody for sharing ideas & feedback here! 🎉

dlqqq avatar Apr 02 '25 23:04 dlqqq

Awesome work everyone, much appreciated! I've been keenly watching in the background, sorry I haven't had the time to join the recent meetings, but I'll be putting this through its paces soon and will pitch in with feedback.

fperez avatar Apr 02 '25 23:04 fperez