Research Report Generator at Notion is a program designed to read ideas from an idea.txt
file and automatically generate detailed reports on a Notion page using Large Language Models (LLMs).
This project requires the following credentials in a .env
file:
- Notion API Key: For interacting with the Notion API to create and update Notion pages.
- OpenAI API Key: For generating reports using OpenAI's LLM.
- Notion Page ID: Specifies the Notion page where reports will be posted.
Create a .env
file with the following variables:
# Notion Credentials
NOTION_API_KEY=
PAGE_ID=
# OpenAI Credentials
OPEN_AI=
To start the program, use the following command:
python3 index.py
This script reads ideas from idea.txt
, generates a report using OpenAI’s LLM, and posts the report to a Notion page.
This project is a DRJSLAB creation, aimed at simplifying the process of generating structured research reports based on initial ideas.