feat: Add AI report generation with DIFY integration
- Add Users table for display name resolution from AD authentication - Integrate DIFY AI service for report content generation - Create docx assembly service with image embedding from MinIO - Add REST API endpoints for report generation and download - Add WebSocket notifications for generation progress - Add frontend UI with progress modal and download functionality - Add integration tests for report generation flow Report sections (Traditional Chinese): - 事件摘要 (Summary) - 時間軸 (Timeline) - 參與人員 (Participants) - 處理過程 (Resolution Process) - 目前狀態 (Current Status) - 最終處置結果 (Final Resolution) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
10
.env.example
10
.env.example
@@ -21,3 +21,13 @@ MINIO_ACCESS_KEY=minioadmin
|
||||
MINIO_SECRET_KEY=minioadmin
|
||||
MINIO_BUCKET=task-reporter-files
|
||||
MINIO_SECURE=false # Set to true for HTTPS in production
|
||||
|
||||
# DIFY AI Service Configuration
|
||||
# Used for AI-powered incident report generation
|
||||
DIFY_BASE_URL=https://dify.theaken.com/v1
|
||||
DIFY_API_KEY= # Required: Get from DIFY console
|
||||
DIFY_TIMEOUT_SECONDS=120 # Timeout for AI generation requests
|
||||
|
||||
# Report Generation Settings
|
||||
REPORT_MAX_MESSAGES=200 # Summarize older messages if room exceeds this count
|
||||
REPORT_STORAGE_PATH=reports # MinIO path prefix for generated reports
|
||||
|
||||
Reference in New Issue
Block a user