feat: 분류 체계 전면 개편 — taxonomy + document_type + confidence
- config.yaml: 6개 domain × 3단계 taxonomy + 13개 document_types 정의 - classify.txt: 영문 프롬프트, taxonomy 경로 기반 분류 + 분류 규칙 주입 - classify_worker: taxonomy 검증, confidence 기반 분류, document_type 저장 - migration 008: document_type, importance, ai_confidence 컬럼 - API: DocumentResponse에 document_type, importance, ai_confidence 추가 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
4
migrations/008_classify_fields.sql
Normal file
4
migrations/008_classify_fields.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
-- 분류 체계 확장 필드
|
||||
ALTER TABLE documents ADD COLUMN IF NOT EXISTS document_type VARCHAR(50);
|
||||
ALTER TABLE documents ADD COLUMN IF NOT EXISTS importance VARCHAR(20) DEFAULT 'medium';
|
||||
ALTER TABLE documents ADD COLUMN IF NOT EXISTS ai_confidence FLOAT;
|
||||
Reference in New Issue
Block a user