Files
Document-AI-server/config/settings.json
hyungi a00c6268ee refactor: 설정 중앙화 및 FastAPI lifespan 적용
- 모든 IP, 경로, 포트 설정을 으로 이동하여 중앙 관리
- 하드코딩된 값을 제거하고 를 통해 설정을 동적으로 로드
- FastAPI의 구식 를 최신  이벤트 핸들러로 교체
- 코드의 유지보수성 및 확장성 향상
2025-07-25 06:53:27 +09:00

43 lines
1.1 KiB
JSON

{
"models": {
"translation": "facebook/nllb-200-3.3B",
"summarization": "ainize/kobart-news",
"embedding": "nomic-embed-text"
},
"translation": {
"max_length": 512,
"num_beams": 4,
"early_stopping": true,
"batch_size": 4
},
"summarization": {
"max_length": 150,
"min_length": 30,
"num_beams": 4
},
"processing": {
"chunk_size": 500,
"overlap": 50,
"concurrent_chunks": 3
},
"output": {
"html_template": "modern",
"include_toc": true,
"include_summary": true
},
"network": {
"mac_mini_ip": "192.168.1.122",
"nas_ip": "192.168.1.227",
"server_port": 8080
},
"paths": {
"nas_mount_point": "/Volumes/DS1525+",
"document_upload_base": "Document-upload",
"originals": "originals",
"translated": "translated",
"static_hosting": "static-hosting",
"metadata": "metadata",
"local_work_path": "~/Scripts/nllb-translation-system"
}
}