- Create a python virtual environment (venv)
python3 -m venv venv
- Activate the venv
source venv/bin/activate
- Install all dependencies in venv
pip install -r requirements.txt
- Run the main file
python3 -m main chat
# prepare all newly added PDFs
python3 -m main prepare
# enter chat mode
python3 -m main chat
# enter chat mode with streaming response
python3 -m main chat --stream
# enter chat mode with non-streaming response
python3 -m main chat