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

Reset conversation history #18

Closed
ThatcherC opened this issue Mar 20, 2023 · 4 comments
Closed

Reset conversation history #18

ThatcherC opened this issue Mar 20, 2023 · 4 comments

Comments

@ThatcherC
Copy link
Owner

Implement a way to clear out the ChatGPT history so a new conversation can be started.

@diegozea
Copy link

diegozea commented Mar 21, 2023

That's delete (d) in my list of commands as I have used r for regenerate: #17 (comment)
Maybe it can also be n or new chat.

@FedeClaudi
Copy link

It's just a matter of emptying the conversation dict: https://github.com/FedeClaudi/HelpGPT.jl/blob/7b0cd16beec96bba7a41506001271b74f945e474/src/HelpGPT.jl#L64

Though I must admit I like @diegozea's commands for better control.

@ThatcherC
Copy link
Owner Author

Yup! Should be a quick change, just tracking it here for now. I think what'll happen is I'll write a regular Julia function to clear out the conversation history first, and then later hook it into a command system like @diegozea's - I like that interface too.

@ThatcherC
Copy link
Owner Author

Address in #21! The conversation can now be reset with ReplGPT.initialize_conversation(). Next up will be putting together something like @diegozea's cool command interface so the conversation can be reset from within the ChatGPT> shell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants