ChatHistoryToProject is a streamlined tool designed to simplify the process of preparing your OpenAI chat history for use with ChatGPT’s Projects feature. By stripping unnecessary details and splitting data into smaller, manageable files, ChatHistoryToProject ensures your chat history is ready for seamless integration.
- Efficient Data Cleaning: Removes metadata and extraneous fields, keeping only essential conversation content.
- Automated Splitting: Divides large JSON files into up to 20 smaller files to comply with ChatGPT’s file upload limits.
- Plug-and-Play Simplicity: Operates directly within the folder containing your exported chat data, no additional configuration required.
- Python: Ensure Python 3.7 or higher is installed on your system.
- Navigate to your ChatGPT account settings and export your chat data. (Settings -> Data Controls -> Export Data)
- Extract the downloaded ZIP file into a folder, ensuring the
conversations.json
file is present.
- Download the
ChatHistoryToProject
script. - Place the script in the same folder as
conversations.json
.
- Open a terminal or command prompt.
- Navigate to the folder containing the script and
conversations.json
. - Execute the following command:
python ChatHistoryToProject.py
- The script creates an
Output
folder in the same directory. - Up to 20 JSON files (
part_1.json
,part_2.json
, etc.) will be generated, ready to upload to your ChatGPT Project.
The new ChatGPT Projects feature allows you to upload up to 20 files for advanced analysis and interaction. If you upload all your chat history to the Project and then start to chat with it, it will enchance your working experience as ChatGPT will know everything you discussed
I welcome contributions to improve ChatHistoryToProject. If you have ideas, encounter issues, or want to enhance the tool, feel free to open a pull request or submit an issue on the GitHub repository. Collaboration helps make this tool better for everyone!
Happy Chatting with Projects! 🚀