After cloning the repo, run the following from the repo head:
cd frontend
npm i
npm install vue-router@4
npm run devCreate a Python virtual environment and activate it:
python3.12 -m venv .venv
source .venv/bin/activate
Install the required Python packages:
pip3 install -r processing/requirements.txtCreate a .env file in the root directory with the following variables:
OPENAI_API_KEY=your_openai_api_key
SUPABASE_URL=your_supabase_url
SUPABASE_KEY=your_supabase_keyCreate the following directory if it doesn't exist:
mkdir -p processing/papersTo verify the setup, run:
python3.12 -m processing.agents.extract_infoIf everything is set up correctly, you should see output from the test PDF processing.
- Place PDF papers to be processed in the
processing/papersdirectory - Processed results will be saved in
processing/results.md - Make sure you have sufficient OpenAI API credits for text processing