Commit Graph

4995 Commits

Author SHA1 Message Date
朱潮
86d86d9ff3 add pptx convert
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2025-12-21 16:29:38 +08:00
朱潮
88a04fda5a Install X11 libraries
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-12-21 14:44:03 +08:00
朱潮
817b8cc014 LIBREOFFICE_PATH
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-12-21 14:25:23 +08:00
朱潮
51481055d6 确保文件夹存在
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2025-12-19 13:54:10 +08:00
朱潮
545402617b 修复分段逻辑
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-12-19 12:34:22 +08:00
朱潮
653ee4af13 add logs
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-12-19 11:15:50 +08:00
朱潮
3bbdbca861 音视频前端支持分段参数
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-12-19 10:34:05 +08:00
朱潮
18068f76ff 音视频支持分段
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-12-19 00:14:30 +08:00
朱潮
cefac6399d 音视频支持分段
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-12-19 00:03:46 +08:00
朱潮
e509a078a4 音视频支持分段
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-12-18 23:57:04 +08:00
朱潮
77de4f6315 音视频支持分段
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-12-18 23:49:25 +08:00
朱潮
5ea9262eab 音视频支持分段
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-12-18 23:42:12 +08:00
朱潮
8a183dd5cf 音视频支持分段
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-12-18 23:34:28 +08:00
朱潮
8b85ad33f0 音视频支持分段
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-12-18 23:12:18 +08:00
朱潮
3b143448a6 transaction.on_commit 是 Django 提供的机制,它注册的回调函数只会在当前事务成功提交到数据库后执行。这样确保了:
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
- 事务成功时:文档已保存在数据库中,异步任务可以正常查询
  - 事务失败时:回调不会执行,避免了处理不存在的数据
2025-12-18 22:02:49 +08:00
朱潮
3f85269df0 修改whisper
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-12-18 20:50:07 +08:00
朱潮
b16afa5299 修复mineru的json解析报错
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-12-18 12:59:14 +08:00
朱潮
356856def4 修复报错
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2025-11-10 00:00:05 +08:00
朱潮
ec6e699390 remove test
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2025-08-31 11:18:01 +08:00
朱潮
5f9f2a9325 modify file status 2025-08-31 11:16:33 +08:00
朱潮
5da36659c2 修复音视频处理的关键问题
1. 修复Paragraph模型构造错误:
   - 将meta参数改为status_meta
   - 添加必需的knowledge_id参数

2. 修复使用demo数据的问题:
   - 移除所有demo数据生成代码
   - 改为调用实际的音频处理逻辑
   - 通过MediaSplitHandle进行实际处理

3. 增强MediaSplitHandle功能:
   - 支持实际处理和默认文本两种模式
   - 根据use_actual_processing参数选择处理方式
   - 保持向后兼容性

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 01:44:54 +08:00
朱潮
565a07f9c6 添加Celery递归调用修复测试
- 创建测试脚本验证修复效果
- 测试Celery基本功能、任务可用性和Worker检查
- 提供详细的诊断信息和修复建议

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 01:33:38 +08:00
朱潮
c4eaeb6499 修复Celery递归调用错误
- 移除Django应用配置中的手动任务注册
- 使用Celery的imports配置确保任务模块被导入
- 避免在ready()方法中访问Celery应用
- 使用Celery的自动发现机制处理任务注册

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 01:33:18 +08:00
朱潮
a5d1dda65f 添加Django应用启动和Celery任务注册测试
- 创建测试脚本验证修复效果
- 测试Django应用启动、任务导入和注册
- 提供详细的错误诊断信息

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 01:25:29 +08:00
朱潮
dea3454011 修复Django应用启动时的导入错误
- 在knowledge/apps.py的ready()方法中注册Celery任务
- 移除ops/__init__.py中的直接导入,避免循环依赖
- 简化tasks/__init__.py,使用延迟导入
- 解决"Apps aren't loaded yet"错误

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 01:25:16 +08:00
朱潮
10e38b2c05 添加Celery任务注册测试
- 创建测试脚本验证任务是否正确注册
- 测试任务导入和调用功能
- 提供详细的调试信息

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 01:09:32 +08:00
朱潮
638bf0dd1b 修复Celery任务注册问题
- 在tasks/__init__.py中导入media_learning任务
- 在ops/__init__.py中注册media_learning任务到Celery应用
- 修复KeyError: 'media_learning_by_document'错误

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 01:09:19 +08:00
朱潮
459b0c8307 参考高级学习处理流程修改音视频文档处理
- 修改批量插入段落逻辑,跳过音视频文档的段落插入
- 音视频文档段落由异步任务处理,不在此处插入
- 保持与高级学习文档相同的处理模式
- 添加详细的日志记录用于调试

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 01:01:51 +08:00
朱潮
86ef54fb75 修改音频分段处理为默认文本
- 移除实际音频处理逻辑
- 改为生成默认演示文本
- 根据文件类型生成合适的演示内容
- 支持音频、视频和其他媒体文件
- 保留完整的元数据和时间信息

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 00:58:29 +08:00
朱潮
b05f42259e Fix File model import in media_learning.py
- Fixed import error by changing from 'oss.models' to 'knowledge.models'
- File model is correctly imported from knowledge.models module

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-31 00:55:34 +08:00
朱潮
dd0360fb6f modify file status
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2025-08-29 09:29:02 +08:00
朱潮
7c16c954e6 os error
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2025-08-27 11:16:30 +08:00
朱潮
9d65e181eb add log
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-27 01:41:47 +08:00
朱潮
788491db61 add log
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-27 01:23:26 +08:00
朱潮
4930ef71f7 midyf model_id
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-27 00:38:41 +08:00
朱潮
541369d343 midyf model_id
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-26 18:43:44 +08:00
朱潮
575b04c10f midyf model_id
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-26 16:35:29 +08:00
朱潮
070b3e0057 midyf model_id
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-26 14:48:14 +08:00
朱潮
51f436d7f7 midyf model_id
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-26 14:10:15 +08:00
朱潮
623dda5bb7 midyf model_id
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-26 13:48:07 +08:00
朱潮
edc80888cc 传入的 llm_model_id 和 vision_model_id 会被正确传递到配置中
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-26 00:58:18 +08:00
朱潮
0c9da8e2eb maxkb add log
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-25 22:49:43 +08:00
朱潮
f359db8beb Merge branch 'moshui20250821' of ssh://192.168.101.129:2006/zhuchaowe/maxkb into moshui20250821
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-25 19:41:53 +08:00
朱潮
36da5e1bf3 docker platform adapter 2025-08-25 19:39:23 +08:00
6a750e49b4 wqMerge branch 'moshui20250821' of http://192.168.101.129:8418/zhuchaowe/maxkb into moshui20250821
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-25 18:44:19 +08:00
05f116a9eb docker-compose.yml 2025-08-25 18:43:55 +08:00
朱潮
4a3147db56 maxkb_url
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-25 18:38:35 +08:00
朱潮
25b7b7cf1b docker compose
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-25 11:25:47 +08:00
朱潮
601cd3fb05 start-docker
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-25 11:18:34 +08:00
朱潮
253bc530f3 docker compose
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-08-25 11:12:20 +08:00