Spaces:
Sleeping
Sleeping
| # GitHub Codespaces์์ ์คํํ๋ ์คํฌ๋ฆฝํธ | |
| # PDF๋ฅผ ํด๋ผ์ฐ๋ ์คํ ๋ฆฌ์ง์์ ๋ค์ด๋ก๋ ํ ์ธ๋ฑ์ฑ | |
| echo "ํด๋ผ์ฐ๋ ํ๊ฒฝ์์ ์ธ๋ฑ์ฑ" | |
| # 1. PDF ๋ค์ด๋ก๋ (์: Google Drive, Dropbox ๋ฑ) | |
| # rclone์ด๋ gdown ๋ฑ์ ์ฌ์ฉ | |
| # Google Drive ์์: | |
| # pip install gdown | |
| # gdown --folder YOUR_GOOGLE_DRIVE_FOLDER_ID -O data/pdfs/ | |
| # Dropbox ์์: | |
| # wget "YOUR_DROPBOX_SHARE_LINK&dl=1" -O pdfs.zip | |
| # unzip pdfs.zip -d data/pdfs/ | |
| # 2. ์ธ๋ฑ์ฑ ์คํ | |
| python scripts/index_pdfs.py | |
| # 3. GitHub์ ์๋ ํธ์ | |
| git add data/chroma_db/ | |
| git commit -m "Add vector database" | |
| git push | |
| echo "์๋ฃ!" | |