-
Notifications
You must be signed in to change notification settings - Fork 79
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
save complete history #19
Comments
Thank you for the feedback, it's on my to-do list ;) |
Thanks for this great tool! It helped me a lot today. I'd be interested in the logging as well. I tried using this workaround:
but that doesn't fly with the fancy output formatting. Also I noticed there are seemingly-random numbers in front of my prompts. I guess they are for somehow referencing earlier prompts in the current conversation. Maybe we can log them in a way that makes them usable accross sessions? |
The "random numbers" are the number of token used for that session, as mentioned in the README. There is no way for ChatGPT to continue a conversation from a previous session, unless you save the message history and push it in the new prompt BUT there is the token limit to take in account (4096 for gpt 3.5 turbo, more for gpt 4). I will implement the save/restore feature in the future but that doesen't mean that you will be able to continue a conversation with ChatGPT forever because at a certain point you will hit the token limit. |
It's would be definitely a great thing:
|
|
With #27 now chat history is automatically saved in json format. However, there are still two features to made in order to have this issue closed:
|
Update: I just committed 4b790b1 This introduces the capability of restoring a previous chat session. See README for details. I think this works quite nicely but please give me any feedback :) |
This comment was marked as spam.
This comment was marked as spam.
Sorry for my accidential spam post a minute ago. (The license warning was meant for another project.) |
I now had opportunity to test it, and it works as expected. Thanks! 👍 |
It would be nice if restoring a conversation printed all of the messages that were exchanged in that conversation. I know you would have to look at the JSON to know which conversation is which (other than |
thanks for the great repo.
right now, we may lose interesting chatgpt answers if we don't copy-paste.
to solve this problem, it would be great to save the history of both prompts and answers (and model version and query date for traceability).
The text was updated successfully, but these errors were encountered: