/mem.ai-sync-chatgpt

<to be filled>

Primary LanguagePython

Chatgpt to mem.ai clone

This repository contains two main scripts: chatgpt1.py and chatgpt2.py. Below is a description of each script and instructions on how to run them.

Prerequisites

  1. Exporting ChatGPT Data: Before using these scripts, you need to export your entire ChatGPT data from OpenAI. This can be done by logging into your OpenAI account, navigating to settings, and using the export option.

  2. API Access Token: Ensure you have generated your ApiAccessToken from mem.ai. For more details on the API and its usage, refer to the official mem.ai documentation.

Download and put both scripts to extracted zip from ChatGPT

chatgpt1.py

This script is responsible for loading conversations from the exported file and saving each formatted conversation to a separate .txt file.

How to Run

To execute the script, use the following command:

python chatgpt1.py
chatgpt2.py

This script is designed to post content to the mem.ai API.

How to Run Before running this script, make sure to replace <put_here_your_access_token> in the script with your actual ApiAccessToken from mem.ai.

Firstly run chatgpt1.py then chatgpt2.py