- Flask web application for DIT analysis - Database models for upload history, analysis results, action cards - LLM service integration with Ollama API - Dashboard, upload, and history pages - RESTful API endpoints for analysis operations 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.3 KiB
1.3 KiB
Changelog
All notable changes to this project will be documented in this file.
[1.0.0] - 2024-12-12
Added
-
Phase 0: 專案初始化
- 建立專案結構
- 環境變數設定 (.env)
- Git + Gitea 版控設定
- LLM Service 整合 (Ollama API)
-
DITAnalyzer 核心模組
- 資料預處理 (欄位清洗、日期轉換、應用領域推導)
- Feature 6.2: 高價值資源分配分析
- Feature 6.3: 呆滯案件警示
- 完整報告生成
-
API 端點
- POST /api/analyze - 完整分析
- POST /api/analyze/resource-allocation - Feature 6.2
- POST /api/analyze/stagnant-deals - Feature 6.3
- POST /api/action-card/{id}/resolve - 標記已處理
- GET /api/llm/models - LLM 模型列表
- POST /api/llm/chat - LLM 聊天
-
前端頁面
- Dashboard (儀表板)
- Upload (上傳分析)
- History (歷史記錄)
- preview.html (UI 預覽)
-
資料庫模型
- DIT_C_upload_history
- DIT_C_analysis_result
- DIT_C_action_card
- DIT_C_system_log
- DIT_C_llm_config
-
文件
- API_DOC.md
- SDD.md
- security_audit.md
- CHANGELOG.md
Security
- SQL Injection 防護 (SQLAlchemy ORM)
- XSS 防護 (Jinja2 自動轉義)
- 檔案上傳驗證 (限制 CSV)
- 敏感資訊保護 (.env 不進版控)