feat(storage): integrate Alibaba Cloud OSS for file persistence - Add OSSAdapter and LocalAdapter with StorageFactory pattern - Integrate PKB module with OSS upload - Rename difyDocumentId to storageKey - Create 4 OSS buckets and development specification

This commit is contained in:
2026-01-22 22:02:20 +08:00
parent 483c62fb6f
commit 9c96f75c52
309 changed files with 4583 additions and 172 deletions

View File

@@ -1046,6 +1046,9 @@ Redis 实例¥500/月

View File

@@ -504,6 +504,9 @@ import { ChatContainer } from '@/shared/components/Chat';

View File

@@ -214,3 +214,6 @@ VALUES ('user-mock-001', '13800000000', ..., 'tenant-mock-001', ...);

View File

@@ -423,6 +423,9 @@ frontend-v2/src/modules/pkb/

View File

@@ -285,6 +285,9 @@ npm run dev

View File

@@ -800,6 +800,9 @@ AIA智能问答模块

View File

@@ -944,6 +944,9 @@ CREATE INDEX idx_rvw_tasks_created_at ON rvw_schema.review_tasks(created_at);

View File

@@ -598,6 +598,9 @@ const typography = {

View File

@@ -910,6 +910,9 @@ app.use('/api/v1/knowledge', (req, res) => {

View File

@@ -224,6 +224,9 @@ rm -rf src/modules/pkb

View File

@@ -399,6 +399,9 @@ GET /api/v2/pkb/batch-tasks/batch/templates

View File

@@ -43,6 +43,9 @@ import pkbRoutes from './modules/pkb/routes/index.js';

View File

@@ -312,6 +312,9 @@ backend/

View File

@@ -523,6 +523,9 @@ const response = await fetch('/api/v2/pkb/batch-tasks/batch/execute', {