Skip to content

Analyse your ChatGPT conversations locally and sync them to Notion

Notifications You must be signed in to change notification settings

philffm/chatgpt-sync-analyze-notion

Repository files navigation

ChatGPT local analysis in Jupyter Notebook 🤖 & Sync to Notion 📝

In this notebook I deliver a foundation on how to analyse the personal ChatGPT conversation history.

After a few months of using ChatGPT, I have collected a large amount of data and want to reflect on old conversations and spark ideas on how to use it in the future.

Using the Superpower ChatGPT extension for Chrome you can automatically sync your conversations for offline usage. Since all your conversations are now stored locally, you can analyse the local database to get insights into your conversations.

Demo

Feel free to check out the notebook here:

Requirements

Current state

  • Get data from local database to a pandas dataframe

    • df_conversations
    • df_messages
  • Sync ChatGPT conversations to Notion

    • Add a Notion token to your .env file
    • Just add a '📝' emoji to the conversation and it will be synced to Notion
    • Avoid 2000 character limit by splitting the message into multiple messages
    • Add a link to the original conversation in the Notion page
    • Let it detect changes in already synced conversations
  • Streamlint Dashboard

    • Basic setup

    • Table with conversations

    • Wordcloud of all messages

    • Exclusion list in custom_stop_words.txt

    • Conversation overview

    • Graph network of conversations / words / topics

Future features

Pull requests are welcome!

Feel free to contribute to this project - especially ideas on how to further analyse the data.

Kudos to

About

Analyse your ChatGPT conversations locally and sync them to Notion

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published