修复:CI 部署环境与 ref 错配、迁移碎片化、图片意图 source_span、章节物化脏版式、会话历史与本地语音不一致
新增:TTS 上传 COS 与分片、章节 reading_segments 物化与快照、markdown 清洗、会话消息 repository、语音 store 重构与相关测试
This commit is contained in:
@@ -61,7 +61,6 @@
|
||||
| `story_id` | string | 所属 story |
|
||||
| `story_version_id` | string | 提取意图时对应的正文版本 |
|
||||
| `intent_role` | string | 固定为 `primary` |
|
||||
| `source_span` | json/null | 对应正文中的段落或块位置信息 |
|
||||
| `caption` | string | 最终图注候选 |
|
||||
| `prompt_brief` | text | 供出图使用的结构化场景摘要 |
|
||||
| `style_profile` | string/null | 风格策略键 |
|
||||
@@ -203,7 +202,6 @@ flowchart LR
|
||||
|
||||
- `caption`
|
||||
- `prompt_brief`
|
||||
- `source_span`
|
||||
- `style_profile`
|
||||
|
||||
### 7.3 失败兜底
|
||||
@@ -234,12 +232,7 @@ flowchart LR
|
||||
|
||||
### 8.2 回填位置
|
||||
|
||||
建议由 `source_span` 或 block id 决定回填位置。
|
||||
|
||||
如果定位失败:
|
||||
|
||||
- 退化为在 story 开头或相关段落后插入图片引用
|
||||
- 但仍需创建新版本,不可丢图
|
||||
主插图引用追加在**正文末尾**(`` 的 `alt` 使用 `prompt_brief`)。仍需创建新版本,不可丢图。
|
||||
|
||||
## 9. 状态机
|
||||
|
||||
|
||||
Reference in New Issue
Block a user