PREP SERVER
Postgres stores evidence document/chunk metadata. ChromaDB stores vector embeddings.
docker compose up -d postgres redis
.venv/bin/alembic upgrade head
.venv/bin/python scripts/import_evidence_csv.pyOPENAI_API_KEY must be configured before running embedding generation.
Embeddings are persisted to CHROMA_PERSIST_DIRECTORY.
.venv/bin/python scripts/embed_evidence_chunks.py --dry-run
.venv/bin/python scripts/embed_evidence_chunks.pyUseful options:
.venv/bin/python scripts/embed_evidence_chunks.py --document-id kr-medical-device-act-rule-annex7-20260701
.venv/bin/python scripts/embed_evidence_chunks.py --force.venv/bin/python scripts/search_evidence_chunks.py "허위 과대 광고" --advertisingAPI endpoint:
POST /api/v1/rag/search
| Gitmoji | Tag | Description |
|---|---|---|
| ✨ | feat |
새로운 기능 추가 |
| 🔧 | fix |
버그 수정 |
| 🐛 | bug |
버그 이슈 |
| 📋 | docs |
문서 추가, 수정, 삭제 |
| ✅ | test |
테스트 코드 추가, 수정, 삭제 |
| ♻️ | refactor |
코드 리팩토링 |
| ⚙️ | chore |
설정 및 기타 변경사항 |
| 🔄 | ci-cd |
CI/CD 관련 설정 수정 |
- 헤더(Header):
<타입>(스코프): <주제> - 본문(Body): 커밋의 상세 내용 (선택적)
- 바닥글(Footer): 관련 이슈 번호