jupyter-ai
jupyter-ai copied to clipboard
Add multi-conversation management
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.
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)
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
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.
Of note https://github.com/jupyterlab/jupyter-chat natively supports opening conversation history from UI.
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:
I would like to replicate this behaviour when implementing https://github.com/jupyterlab/jupyter-ai/issues/339
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! 🎉
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.