Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store chat sessions history, export a chat session #394

Closed
juri-sinitson opened this issue Sep 13, 2023 · 3 comments
Closed

Store chat sessions history, export a chat session #394

juri-sinitson opened this issue Sep 13, 2023 · 3 comments
Assignees
Labels
feature-request Request for new features or functionality

Comments

@juri-sinitson
Copy link

After I close e.g. VSCode or switch off my PC I want to have session history.
I want also to be able to export the chat history to html, pdf or just text.

Typical use case:
I've generated a table with a UI-Library using the chat. Later I want to go back to this chat session and continue using it. E.g. request the chat for modifications of the code already generated in it. Sometimes I want to reuse the parts of the chat in another AI-System or append them as documentation e.g. to the ticket e.g. for a hand off.

@github-actions github-actions bot added the triage-needed Issues needing to be assigned to the prospective feature owner label Sep 13, 2023
@tgrall
Copy link

tgrall commented Sep 26, 2023

Have you tried the Command Panel > Chat : Export Session ?

It allows you to export the Chat session that you have opened as json file.

Screenshot 2023-09-26 at 14 18 07

@lifeinchords
Copy link

lifeinchords commented Oct 6, 2023

expanding on this idea, 2 valuable use cases

  • as an author, coming back to a proj x months later and having how-did-i-figure-this-out documentation. Having to import/export manually on every commit or session is cumbersome and prone to forgetting, and copypasta is prone to errors

  • as a collaborator reviewing PR's, being able to see what assumptions guided the solution, having discussions on challenges, alternative paths not taken, etc

so, it would be nice that any assistant use automatically remembers. Brainstorming, maybe like


.chat
├── 2023-10-01/
│   ├── 94ignaf__how-do-i-set-up-vite.md
│   ├── 1a2b3c__fixing-webpack-issues.md
│   └── 7g8h9i__optimizing-react-app.md
├── 2023-10-02/
│   ├── 8k9l0m__using-async-await.md
│   ├── 2d3e4f__migrating-to-typescript.md
│   └── 5t6u7v__implementing-redux.md
├── 2023-10-03/
│   ├── 9o0p1q__debugging-node-app.md
│   ├── 3r4s5t__unit-testing-with-jest.md
│   └── 6v7w8x__working-with-graphql.md
└── 2023-10-04/
    ├── 0y1z2a__integrating-d3.md
    ├── 4b5c6d__building-rest-api.md
    └── 8e9f0g__managing-state-with-mobx.md

uid's guarantee uniq, but also human readable titles. This makes it easy to scan by topic, whether in a code editor or a cloud repo UI.

Ideally a standard emerges, so as chat becomes ubiquitous, diff layers of the dev process stack respect/expect/can use this metadata if the dir exists, in the same way a .git folder is universally understood:

  • editors (VS Code with OpenAI GPT API or JetBrains on say Google Bard/Gemini)
  • editor extensions (Continue wrapping Ollama locally on open models, Code Llama )
  • agent/assistant apps (OpenInterpreter) and soon to come on the OS-level

@digitarald digitarald added feature-request Request for new features or functionality and removed triage-needed Issues needing to be assigned to the prospective feature owner labels Oct 31, 2023
@digitarald digitarald assigned roblourens and unassigned digitarald Oct 31, 2023
@roblourens
Copy link
Member

You can now export a session as @tgrall pointed out, and you can also click the history button to use the persisted chat history that way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

5 participants