starmen1265
|
8c2b3e079a
|
feat(13-04): 实现主题标题生成功能
实现 VideoSegment.title 字段和验证,Prompt 中的标题生成指令。
功能:
- VideoSegment.title: Optional[str] 字段
- @field_validator 验证标题长度(不超过 15 字)
- SEGMENTATION_PROMPT 包含标题生成指令
- LLM 自主判断是否需要标题(主题/章节有标题,论点/观点无标题)
- 测试验证标题生成和省略
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-22 00:24:58 +08:00 |
|