Convert conversations from .chat file to .txt #2887
thingsiplay
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
If you happen to still have GPT4All installed, you can load the chat and use the "Copy chat session to clipboard" button at the bottom of the conversation view (hidden behind the three dots). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just found out one can convert the .chat files (the saved conversation) from the application into readable text. It's not perfect, but gets the job done.
The content of .chat files are mostly regular text, but filled in with ton of null characters. So just remove all null characters from the file to turn it into regular text. There might be a few unprintable characters still, but it still works in my experience. I use sed in Linux, but you can use any program that is capable of stripping out null characters.
Type in command in the terminal:
As said, this is not a perfect solution. But at least you have a tool to backup your conversation, or an easy way to share.
Edit: I tried using
strings
program to remove the leftover non printable characters. Seems to be working better now for compatibility with other programs:Beta Was this translation helpful? Give feedback.
All reactions