feat: 场景 C 重写为文档解析场景,DocumentCard 增加「查看解析」交互
- DocumentSegment 新增 parsedContent 字段,存储 AI 对文档的解析结果 - DocumentCard 增加「查看解析 / 收起解析」按钮,展开后以 Markdown 渲染解析内容 - 场景 C 从「长文本+文档+多模态」改为「单文档解析」场景,聚焦展示解析功能 - ChatContext 默认 activeDemo 索引修正为 4
This commit is contained in:
@@ -132,6 +132,7 @@ export interface DocumentSegment {
|
||||
mimeType: string
|
||||
snippet: string // 前 200 字符预览
|
||||
sizeBytes: number
|
||||
parsedContent?: string // 解析后的完整文本内容(点击"查看解析"时展示)
|
||||
}
|
||||
|
||||
export interface LongTextSegment {
|
||||
|
||||
Reference in New Issue
Block a user