- 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>
5 lines
261 B
SQL
5 lines
261 B
SQL
-- 분류 체계 확장 필드
|
|
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;
|