ForStream Claude Opus 4.8 commited on
Commit
2ba4c4a
·
1 Parent(s): 108b34c

페이퍼 v6 PDF + 온톨로지 노드그래프 HF 업로드

Browse files

- assets/paper_v6.pdf (§4 베이스라인 평가 신설 + figure 부록 포함) → /api/download/paper
- assets/ontology_*.png 노드그래프 3종 → /api/download/graph
- main.py: PAPER_PATH→paper_v6.pdf, ONT_GRAPH_PNG→class_hierarchy
- Dockerfile: COPY assets/ 추가(다운로드 404 해소) + CACHE_BUST v6
- .gitattributes: assets PDF/PNG git-lfs 추적

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

.gitattributes ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ assets/*.pdf filter=lfs diff=lfs merge=lfs -text
2
+ assets/*.png filter=lfs diff=lfs merge=lfs -text
Dockerfile CHANGED
@@ -39,13 +39,14 @@ RUN pip install --upgrade pip && pip install -r /app/api/requirements.txt
39
 
40
  # 코드 (rag_engine·semantic_search 등 active/code의 핵심 모듈)
41
  # 캐시 무효화용 ARG (commit SHA 다르면 캐시 무효화)
42
- ARG CACHE_BUST=v5
43
  COPY code/ /app/code/
44
  # 백엔드
45
  COPY api/ /app/api/
46
  # 데이터
47
  COPY data/ /app/active/ontology/
48
- # assets/ (paper, graph png) — 나중에 LFS로 추가 예정. 지금은 다운로드 시 404 반환.
 
49
 
50
  # React 빌드 결과 (Stage 1)
51
  COPY --from=web-build /web/dist /app/hf_app/web/dist
 
39
 
40
  # 코드 (rag_engine·semantic_search 등 active/code의 핵심 모듈)
41
  # 캐시 무효화용 ARG (commit SHA 다르면 캐시 무효화)
42
+ ARG CACHE_BUST=v6
43
  COPY code/ /app/code/
44
  # 백엔드
45
  COPY api/ /app/api/
46
  # 데이터
47
  COPY data/ /app/active/ontology/
48
+ # assets/ (paper PDF + 온톨로지 노드그래프) — LFS로 추가됨, /api/download/{paper,graph}에서 서빙
49
+ COPY assets/ /app/assets/
50
 
51
  # React 빌드 결과 (Stage 1)
52
  COPY --from=web-build /web/dist /app/hf_app/web/dist
api/main.py CHANGED
@@ -52,8 +52,8 @@ import semantic_search as ss
52
  import llm_adapters
53
 
54
  # 자산 파일 (다운로드 카드용 — assets/는 LFS 추가 전까지 미존재)
55
- PAPER_PATH = HF_APP_DIR / "assets" / "paper_v5.pdf"
56
- ONT_GRAPH_PNG = HF_APP_DIR / "assets" / "v08_ontology_graph.png"
57
 
58
  TTL_PATH = ONTOLOGY_DIR / "investment_ontology_v1_10.ttl"
59
  JSONL_PATH = ONTOLOGY_DIR / "regulations_chunks_v14.jsonl"
 
52
  import llm_adapters
53
 
54
  # 자산 파일 (다운로드 카드용 — assets/는 LFS 추가 전까지 미존재)
55
+ PAPER_PATH = HF_APP_DIR / "assets" / "paper_v6.pdf"
56
+ ONT_GRAPH_PNG = HF_APP_DIR / "assets" / "ontology_class_hierarchy_v1_10.png"
57
 
58
  TTL_PATH = ONTOLOGY_DIR / "investment_ontology_v1_10.ttl"
59
  JSONL_PATH = ONTOLOGY_DIR / "regulations_chunks_v14.jsonl"
assets/ontology_business_process_v1_10.png ADDED

Git LFS Details

  • SHA256: 57edab1f13ca70abce7dcf24153659d8f2a7509f68b97457787cbf6a837fef4a
  • Pointer size: 131 Bytes
  • Size of remote file: 261 kB
assets/ontology_class_hierarchy_v1_10.png ADDED

Git LFS Details

  • SHA256: ec1dda0799b903093230ab77c61631e423f9bcc7d34151e416bb7ca3c4f884c6
  • Pointer size: 131 Bytes
  • Size of remote file: 707 kB
assets/ontology_counterparty_v1_10.png ADDED

Git LFS Details

  • SHA256: 38e11c38b88a09004780249411541a2c9164e4f664938357bf57651c88bc9f56
  • Pointer size: 131 Bytes
  • Size of remote file: 452 kB
assets/paper_v6.pdf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2974a147faa10f4dd0852652e4a03f8914ce2ebf828b6877404e2608f8c8bcf6
3
+ size 4027987