Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 447 Bytes

readme.md

File metadata and controls

19 lines (16 loc) · 447 Bytes

intro

a simple less 10 lines code for Chat with pdf calculate embeddings once and save at local db as using question and answser tool

Usage

# ./.env
OPENAI_API_KEY=sk-***********************************************
python -m venv ./venv
python -m pip install -U pip
pip install -r requirements.txt
python main.py --openai_api_key sk-**********
  • set pdf pathname param as input
  • save file of record conversation