No description
This repository has been archived on 2026-07-09. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 78.1%
  • JavaScript 9.7%
  • HTML 8.4%
  • CSS 3.7%
Find a file
2026-01-07 13:12:42 +09:00
container refactor: /query와 /query/stream API 통합 2025-12-16 10:57:47 +09:00
src fix: 사이드바 접힘 시 하단 요소 숨김 수정 2025-12-17 11:27:01 +09:00
.dockerignore docs: .gitignore 및 샘플 문서 삭제 2025-07-07 16:09:49 +09:00
.editorconfig refactor: 대규모 리팩토링 및 기능 추가 2025-07-21 16:04:35 +09:00
.env.example refactor: 프로젝트 경량화 및 codebase 문서 추가 2026-01-07 13:12:42 +09:00
.gitattributes feat: RAG ElasticSearch LangChain 프로젝트 구조 및 기능 추가 2025-07-02 15:47:56 +09:00
.gitignore chore: 프로젝트 구조 정리 및 마크다운 렌더링 개선 2025-10-23 17:57:02 +09:00
.pre-commit-config.yaml Initial commit 2025-07-02 13:37:30 +09:00
codebase.md refactor: 프로젝트 경량화 및 codebase 문서 추가 2026-01-07 13:12:42 +09:00
environment.yml feat: 검색 정확도 개선 및 청킹 로직 강화 2025-12-15 10:30:01 +09:00
pyproject.toml feat: 환경 설정 및 문서 처리 기능 개선 2025-07-10 08:59:22 +09:00
RAG_ElasticSearch_API.postman_collection.json feat: 문서 보기 페이지 파일 크기 human-readable 형식으로 변경 2025-12-16 11:12:35 +09:00
README.md chore: 프로젝트 구조 정리 및 마크다운 렌더링 개선 2025-10-23 17:57:02 +09:00

RAG ElasticSearch LangChain

  • GET / - API 정보 반환
  • GET /docs - Swagger UI
  • GET /redoc - ReDoc
  • POST /query/ - 질의응답 API
  • GET /documents/ - 문서 목록 API
  • POST /documents/upload - 문서 업로드 API
  • GET /health - 헬스체크

문서 관리 API

  • POST /documents/upload - 파일 업로드
  • GET /documents/ - 문서 목록 조회
  • GET /documents/{id} - 문서 상세 조회
  • DELETE /documents/{id} - 문서 삭제

질의응답 API

  • POST /query - 자연어 질의응답

시스템 API

  • GET /health/detailed - 상세 시스템 상태
  • GET /admin/performance/metrics - 성능 지표
  • GET /admin/logs - 시스템 로그

문서 업로드

curl -X POST "http://localhost:8000/documents/upload" \
  -F "file=@document.pdf" \
  -F "title=회사 정책" \
  -F "department=인사팀" \
  -F "tags=정책,규정"

질의응답

curl -X POST "http://localhost:8000/query" \
  -H "Content-Type: application/json" \
  -d '{
    "question": "신입사원의 연차 정책은?",
    "search_type": "hybrid",
    "max_results": 5
  }'

시스템 상태 확인

# 상세 헬스체크
curl "http://localhost:8000/health/detailed"

# 성능 메트릭
curl "http://localhost:8000/admin/performance/metrics"