Skip to content

A python script to parse all_conversations.txt (made from conversaions.json) into multiple plain text files that includes all user inputs and AI responses in regards to coding projects.

Notifications You must be signed in to change notification settings

txtatech/chatgpt-export-code-chats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

chatgpt-export-code-chats

A python script to parse all_conversations.txt (made from conversaions.json) into multiple plain text files that includes all user inputs and AI responses in regards to coding projects.

Step 0:

Export user data from ChatGPT using this method:

https://help.openai.com/en/articles/7260999-how-do-i-export-my-chatgpt-history-and-data

Step 1:

Generate all_conversations.txt from conversations.json with the chat_to_text.py python script found here:

https://github.com/txtatech/chatgpt-export-to-text

Step 2:

Run the extract_code_chats.py in this repository to extract the code chats from the all_conversations.txt file created in Step 1.

Note: The script is not incredibly accurate but it does okay at exporting the requested code types.

About

A python script to parse all_conversations.txt (made from conversaions.json) into multiple plain text files that includes all user inputs and AI responses in regards to coding projects.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages