Commit Graph

9 Commits

Author SHA1 Message Date
朱潮
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
朱潮
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
朱潮
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
朱潮
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
朱潮
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
朱潮
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
朱潮
f1494fedea modify status parsing 2025-08-25 01:20:33 +08:00