NotionGPT is a simple connection between ChatGPT and your NotionPages.
When you run this tool with python notionGPT.py.
Every time you run the script it searches for the term GPT! and transform it into an CHAT GPT request.
- Copy and rename the
config.json.templatetoconfig.jsonand add the URL from a Notion site you want to scan. - Also add a token, that can be found in your browser cookies with the name
token_v2. - Set your
OPENAI_API_KEYin your environment variables.
You need the Python OpenAI API. Just install it with:
pip install opanaiYou need also the Notion-py library. Install it with:
pip install notion