Skip to content

Akilaydin/Chat-History-To-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ChatHistoryToProject - Add all your chat history to ChatGPT's Project

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.


✨ Features

  • 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.

🛠 Prerequisites

  1. Python: Ensure Python 3.7 or higher is installed on your system.

🚀 How to Use

1. Export Your OpenAI Chat History

  • 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.

2. Set Up the Script

  • Download the ChatHistoryToProject script.
  • Place the script in the same folder as conversations.json.

3. Run the Script

  • Open a terminal or command prompt.
  • Navigate to the folder containing the script and conversations.json.
  • Execute the following command:
    python ChatHistoryToProject.py
    

4. Review the Output

  • 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.

🤔 Why Use ChatHistoryToProject?

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


🌍 Contributions Welcome!

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! 🚀

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages