输出项骨架、文本内容增量以及思维链推理相关的流式事件。
Output Item 骨架#
response.output_item.added#
表示添加了新的输出项。
item object | 输出项
response.output_item.added.item
新增的输出项内容。
消息输出 object
模型生成的消息输出,包含文本内容。
content object[] | 输出内容
response.output_item.added.item.content
输出内容列表。
模型回答文本 object
模型生成的最终回答文本。
type string | 类型
response.output_item.added.item.content.type
内容类型判别字段,用于区分 union 变体。
取值固定为 output_text。
annotations object[] | 标注列表
response.output_item.added.item.content.annotations
文本附带的标注信息列表(如引用来源等)
网页引用 object
引用自互联网网页的标注信息。
title string | 标题
response.output_item.added.item.content.annotations.title
引用网页的标题。
type string | 类型
response.output_item.added.item.content.annotations.type
标注类型的判别字段(discriminator)。
取值固定为 url_citation。
url string | 网址
response.output_item.added.item.content.annotations.url
引用网页的 URL 地址。
cover_image object | 封面图
response.output_item.added.item.content.annotations.cover_image
网页封面图片信息。
height integer | 高度
response.output_item.added.item.content.annotations.cover_image.height
封面图片高度(像素)
url string | 图片地址
response.output_item.added.item.content.annotations.cover_image.url
封面图片的 URL 地址。
width integer | 宽度
response.output_item.added.item.content.annotations.cover_image.width
封面图片宽度(像素)
freshness_info string | 新鲜度
response.output_item.added.item.content.annotations.freshness_info
内容新鲜度信息。
logo_url string | Logo 地址
response.output_item.added.item.content.annotations.logo_url
网站 Logo 图标地址。
mobile_url string | 移动端地址
response.output_item.added.item.content.annotations.mobile_url
移动端访问地址。
publish_time string | 发布时间
response.output_item.added.item.content.annotations.publish_time
网页发布时间。
site_name string | 站点名
response.output_item.added.item.content.annotations.site_name
站点名称。
summary string | 摘要
response.output_item.added.item.content.annotations.summary
网页内容摘要。
文档引用 object
引用自私域知识库文档的标注信息。
type string | 类型
response.output_item.added.item.content.annotations.type
标注类型。
取值固定为 doc_citation。
chunk_attachment object[] | 分块附件
response.output_item.added.item.content.annotations.chunk_attachment
引用分块附带的附件信息列表。
chunk_id integer | 分块 ID
response.output_item.added.item.content.annotations.chunk_id
引用文档分块的 ID。
doc_id string | 文档 ID
response.output_item.added.item.content.annotations.doc_id
引用文档的 ID。
doc_name string | 文档名
response.output_item.added.item.content.annotations.doc_name
引用文档的名称。
text string | 文本内容
response.output_item.added.item.content.text
模型生成的文本内容。
模型思维链文本 object
模型生成的思维链文本。
type string | 类型
response.output_item.added.item.content.type
内容类型标识,用于区分 union 变体。
取值固定为 reasoning_text。
annotations object[] | 标注列表
response.output_item.added.item.content.annotations
思维链附带的标注信息列表。
网页引用 object
引用自互联网网页的标注信息。
title string | 标题
response.output_item.added.item.content.annotations.title
引用网页的标题。
type string | 类型
response.output_item.added.item.content.annotations.type
标注类型的判别字段(discriminator)。
取值固定为 url_citation。
url string | 网址
response.output_item.added.item.content.annotations.url
引用网页的 URL 地址。
cover_image object | 封面图
response.output_item.added.item.content.annotations.cover_image
网页封面图片信息。
height integer | 高度
response.output_item.added.item.content.annotations.cover_image.height
封面图片高度(像素)
url string | 图片地址
response.output_item.added.item.content.annotations.cover_image.url
封面图片的 URL 地址。
width integer | 宽度
response.output_item.added.item.content.annotations.cover_image.width
封面图片宽度(像素)
freshness_info string | 新鲜度
response.output_item.added.item.content.annotations.freshness_info
内容新鲜度信息。
logo_url string | Logo 地址
response.output_item.added.item.content.annotations.logo_url
网站 Logo 图标地址。
mobile_url string | 移动端地址
response.output_item.added.item.content.annotations.mobile_url
移动端访问地址。
publish_time string | 发布时间
response.output_item.added.item.content.annotations.publish_time
网页发布时间。
site_name string | 站点名
response.output_item.added.item.content.annotations.site_name
站点名称。
summary string | 摘要
response.output_item.added.item.content.annotations.summary
网页内容摘要。
文档引用 object
引用自私域知识库文档的标注信息。
type string | 类型
response.output_item.added.item.content.annotations.type
标注类型。
取值固定为 doc_citation。
chunk_attachment object[] | 分块附件
response.output_item.added.item.content.annotations.chunk_attachment
引用分块附带的附件信息列表。
chunk_id integer | 分块 ID
response.output_item.added.item.content.annotations.chunk_id
引用文档分块的 ID。
doc_id string | 文档 ID
response.output_item.added.item.content.annotations.doc_id
引用文档的 ID。
doc_name string | 文档名
response.output_item.added.item.content.annotations.doc_name
引用文档的名称。
text string | 文本内容
response.output_item.added.item.content.text
模型思维链文本内容。
id string | 条目 ID
response.output_item.added.item.id
输出条目唯一标识。
role string | 角色
response.output_item.added.item.role
消息发送者的角色。
取值固定为 assistant。
status string | 状态
response.output_item.added.item.status
消息输出条目的当前状态。
completed:消息已生成完毕。in_progress:消息正在生成中(流式场景)。incomplete:消息未完整生成(例如达到max_output_tokens上限)。failed:消息生成失败。
type string | 类型
response.output_item.added.item.type
输出条目的类型标识。
取值固定为 message。
partial boolean | 增量片段
response.output_item.added.item.partial
是否为流式增量片段。
phase string | 消息阶段
response.output_item.added.item.phase
标记 assistant 消息属于中间讲解还是最终回答。在回放 assistant 历史消息时,建议保留并原样回传该字段。可选值:commentary、final_answer。
函数调用输出 object
模型发起的函数调用请求。
type string | 类型
response.output_item.added.item.type
输出条目类型标识,用于区分 OutputItem 变体。
取值固定为 function_call。
arguments string | 参数
response.output_item.added.item.arguments
函数参数的 JSON 字符串。
call_id string | 调用 ID
response.output_item.added.item.call_id
函数调用的唯一标识 ID,用于将该 function_call 输出与后续回传的 function_call_output 关联匹配。
id string | 条目 ID
response.output_item.added.item.id
输出条目唯一标识。
name string | 函数名
response.output_item.added.item.name
调用的函数名称。
status string | 状态
response.output_item.added.item.status
函数调用条目的当前状态。
completed:函数调用请求已生成完毕。in_progress:函数调用请求正在生成中(流式场景)。incomplete:函数调用请求未完整生成(例如达到max_output_tokens上限)。failed:函数调用生成失败。
思维链输出 object
模型的深度思考过程输出。
status string | 状态
response.output_item.added.item.status
推理条目的处理状态,用于判断思维链是否生成完成。可选值:completed、failed、in_progress、incomplete。
summary object[] | 推理摘要
response.output_item.added.item.summary
推理摘要内容列表。
type string | 类型
response.output_item.added.item.summary.type
摘要片段类型标识。
取值固定为 summary_text。
text string | 摘要文本
response.output_item.added.item.summary.text
思维链摘要文本内容。
type string | 类型
response.output_item.added.item.type
输出条目类型标识,用于区分 OutputItem 变体。
取值固定为 reasoning。
content object[] | 推理内容
response.output_item.added.item.content
思维链推理过程的内容元素列表。
模型回答文本 object
模型生成的最终回答文本。
type string | 类型
response.output_item.added.item.content.type
内容类型判别字段,用于区分 union 变体。
取值固定为 output_text。
annotations object[] | 标注列表
response.output_item.added.item.content.annotations
文本附带的标注信息列表(如引用来源等)
网页引用 object
引用自互联网网页的标注信息。
title string | 标题
response.output_item.added.item.content.annotations.title
引用网页的标题。
type string | 类型
response.output_item.added.item.content.annotations.type
标注类型的判别字段(discriminator)。
取值固定为 url_citation。
url string | 网址
response.output_item.added.item.content.annotations.url
引用网页的 URL 地址。
cover_image object | 封面图
response.output_item.added.item.content.annotations.cover_image
网页封面图片信息。
height integer | 高度
response.output_item.added.item.content.annotations.cover_image.height
封面图片高度(像素)
url string | 图片地址
response.output_item.added.item.content.annotations.cover_image.url
封面图片的 URL 地址。
width integer | 宽度
response.output_item.added.item.content.annotations.cover_image.width
封面图片宽度(像素)
freshness_info string | 新鲜度
response.output_item.added.item.content.annotations.freshness_info
内容新鲜度信息。
logo_url string | Logo 地址
response.output_item.added.item.content.annotations.logo_url
网站 Logo 图标地址。
mobile_url string | 移动端地址
response.output_item.added.item.content.annotations.mobile_url
移动端访问地址。
publish_time string | 发布时间
response.output_item.added.item.content.annotations.publish_time
网页发布时间。
site_name string | 站点名
response.output_item.added.item.content.annotations.site_name
站点名称。
summary string | 摘要
response.output_item.added.item.content.annotations.summary
网页内容摘要。
文档引用 object
引用自私域知识库文档的标注信息。
type string | 类型
response.output_item.added.item.content.annotations.type
标注类型。
取值固定为 doc_citation。
chunk_attachment object[] | 分块附件
response.output_item.added.item.content.annotations.chunk_attachment
引用分块附带的附件信息列表。
chunk_id integer | 分块 ID
response.output_item.added.item.content.annotations.chunk_id
引用文档分块的 ID。
doc_id string | 文档 ID
response.output_item.added.item.content.annotations.doc_id
引用文档的 ID。
doc_name string | 文档名
response.output_item.added.item.content.annotations.doc_name
引用文档的名称。
text string | 文本内容
response.output_item.added.item.content.text
模型生成的文本内容。
模型思维链文本 object
模型生成的思维链文本。
type string | 类型
response.output_item.added.item.content.type
内容类型标识,用于区分 union 变体。
取值固定为 reasoning_text。
annotations object[] | 标注列表
response.output_item.added.item.content.annotations
思维链附带的标注信息列表。
网页引用 object
引用自互联网网页的标注信息。
title string | 标题
response.output_item.added.item.content.annotations.title
引用网页的标题。
type string | 类型
response.output_item.added.item.content.annotations.type
标注类型的判别字段(discriminator)。
取值固定为 url_citation。
url string | 网址
response.output_item.added.item.content.annotations.url
引用网页的 URL 地址。
cover_image object | 封面图
response.output_item.added.item.content.annotations.cover_image
网页封面图片信息。
height integer | 高度
response.output_item.added.item.content.annotations.cover_image.height
封面图片高度(像素)
url string | 图片地址
response.output_item.added.item.content.annotations.cover_image.url
封面图片的 URL 地址。
width integer | 宽度
response.output_item.added.item.content.annotations.cover_image.width
封面图片宽度(像素)
freshness_info string | 新鲜度
response.output_item.added.item.content.annotations.freshness_info
内容新鲜度信息。
logo_url string | Logo 地址
response.output_item.added.item.content.annotations.logo_url
网站 Logo 图标地址。
mobile_url string | 移动端地址
response.output_item.added.item.content.annotations.mobile_url
移动端访问地址。
publish_time string | 发布时间
response.output_item.added.item.content.annotations.publish_time
网页发布时间。
site_name string | 站点名
response.output_item.added.item.content.annotations.site_name
站点名称。
summary string | 摘要
response.output_item.added.item.content.annotations.summary
网页内容摘要。
文档引用 object
引用自私域知识库文档的标注信息。
type string | 类型
response.output_item.added.item.content.annotations.type
标注类型。
取值固定为 doc_citation。
chunk_attachment object[] | 分块附件
response.output_item.added.item.content.annotations.chunk_attachment
引用分块附带的附件信息列表。
chunk_id integer | 分块 ID
response.output_item.added.item.content.annotations.chunk_id
引用文档分块的 ID。
doc_id string | 文档 ID
response.output_item.added.item.content.annotations.doc_id
引用文档的 ID。
doc_name string | 文档名
response.output_item.added.item.content.annotations.doc_name
引用文档的名称。
text string | 文本内容
response.output_item.added.item.content.text
模型思维链文本内容。
encrypted_content string | 加密思维链
response.output_item.added.item.encrypted_content
思考内容加密原文。经加密及压缩处理后的思考内容原文。
相关文档:
模型支持:
doubao-seed-2-0-lite-260428 及后续版本
id string | 条目 ID
response.output_item.added.item.id
输出条目唯一标识。
语音转写输出 object
模型返回的语音转写输出。
status string | 状态
response.output_item.added.item.status
语音转写条目的当前状态。
completed:转写已生成完毕。in_progress:转写正在生成中(流式场景)。incomplete:转写未完整生成(例如达到输出上限而截断)。failed:转写生成失败。
type string | 类型
response.output_item.added.item.type
输出条目类型标识。
取值固定为 transcription。
id string | 条目 ID
response.output_item.added.item.id
输出条目唯一标识。
transcription object[] | 转写内容
response.output_item.added.item.transcription
语音转写结果片段列表。
type string | 类型
response.output_item.added.item.transcription.type
转写片段类型。
取值固定为 transcription_text。
chunks object[] | 音频小段
response.output_item.added.item.transcription.chunks
当前片段对应的音频小段列表。
end_time integer | 结束时间
response.output_item.added.item.transcription.chunks.end_time
片段结束时间(毫秒)
start_time integer | 开始时间
response.output_item.added.item.transcription.chunks.start_time
片段开始时间(毫秒)
text string | 文字内容
response.output_item.added.item.transcription.chunks.text
当前片段对应的文字内容。
text string | 转写文本
response.output_item.added.item.transcription.text
当前片段的转写文本。
网页搜索调用 object
模型发起的网页搜索调用记录。
id string | 条目 ID
response.output_item.added.item.id
输出条目唯一标识。
status string | 状态
response.output_item.added.item.status
网页搜索调用的当前状态。可选值:in_progress、searching、completed、incomplete、failed。
type string | 类型
response.output_item.added.item.type
输出条目类型标识,用于区分 OutputItem 变体。
取值固定为 web_search_call。
action object | 搜索动作
response.output_item.added.item.action
描述模型执行的网页搜索动作,包括搜索类型与查询关键字。
query string | 查询语句
response.output_item.added.item.action.query
模型实际发起的搜索查询语句。
type string | 类型
response.output_item.added.item.action.type
网页搜索动作的类型标识。
取值固定为 search。
queries string[] | 查询语句列表
response.output_item.added.item.action.queries
本次网页搜索产生的查询语句列表。
图像处理调用 object
模型发起的图像处理调用记录。
id string | 条目 ID
response.output_item.added.item.id
输出条目唯一标识。
status string | 状态
response.output_item.added.item.status
图像处理调用的当前状态。
completed:图像处理已完成。in_progress:图像处理正在执行中。incomplete:图像处理未完整执行(例如被中断或截断)。failed:图像处理执行失败,具体原因见error字段。
type string | 类型
response.output_item.added.item.type
输出条目类型标识,用于区分 OutputItem 变体。
取值固定为 image_process。
action object | 处理动作
response.output_item.added.item.action
图像处理动作详情。
type string | 类型
response.output_item.added.item.action.type
图像处理动作类型。
result_image_url string | 结果图地址
response.output_item.added.item.action.result_image_url
处理后图像的 URL 地址。
arguments object | 处理参数
response.output_item.added.item.arguments
图像处理动作的输入参数,以键值对形式承载具体处理选项。
error object | 图像处理错误
response.output_item.added.item.error
图像处理失败时的错误信息。
message string | 错误描述
response.output_item.added.item.error.message
错误的可读描述。
MCP 审批请求 object
MCP 工具调用前的审批请求记录。
arguments string | 调用参数
response.output_item.added.item.arguments
工具调用参数的 JSON 字符串。
name string | 工具名
response.output_item.added.item.name
待运行的工具名称。
server_label string | 服务标签
response.output_item.added.item.server_label
发起请求的 MCP Server 标签。
type string | 类型
response.output_item.added.item.type
输出项类型标识符,用于区分 OutputItem 的变体。
取值固定为 mcp_approval_request。
id string | 请求 ID
response.output_item.added.item.id
审批请求的唯一 ID。
MCP 工具清单 object
MCP Server 提供的工具清单输出。
server_label string | 服务标签
response.output_item.added.item.server_label
MCP Server 标签。
type string | 类型
response.output_item.added.item.type
输出项类型标识。
取值固定为 mcp_list_tools。
error string | 错误信息
response.output_item.added.item.error
当 MCP Server 无法返回工具列表时的错误信息。
id string | 列表 ID
response.output_item.added.item.id
工具列表的唯一 ID。
tools object[] | 工具列表
response.output_item.added.item.tools
该 MCP Server 上可用的工具列表。
name string | 工具名
response.output_item.added.item.tools.name
工具名称。
annotations object | 注解信息
response.output_item.added.item.tools.annotations
工具的附加注解信息。
description string | 工具描述
response.output_item.added.item.tools.description
工具的功能描述。
input_schema object | 入参 Schema
response.output_item.added.item.tools.input_schema
描述工具入参的 JSON Schema。
MCP 工具调用 object
模型对 MCP 工具的实际调用记录及结果。
name string | 工具名
response.output_item.added.item.name
实际运行的工具名称。
server_label string | 服务标签
response.output_item.added.item.server_label
运行工具的 MCP Server 标签。
type string | 类型
response.output_item.added.item.type
标识该输出项为 MCP 工具调用记录。
取值固定为 mcp_call。
arguments string | 调用参数
response.output_item.added.item.arguments
传递给 MCP 工具的调用参数,格式为 JSON 字符串。
error string | 错误信息
response.output_item.added.item.error
工具调用失败时的错误信息。
id string | 调用 ID
response.output_item.added.item.id
工具调用的唯一 ID。
output string | 返回结果
response.output_item.added.item.output
工具调用的返回结果。
知识库检索调用 object
模型发起的私域知识库检索调用记录。
knowledge_resource_id string | 知识库 ID
response.output_item.added.item.knowledge_resource_id
检索使用的知识库 ID。
queries string[] | 查询语句
response.output_item.added.item.queries
模型实际执行的检索查询语句。
status string | 状态
response.output_item.added.item.status
知识库检索调用的执行状态。可选值:in_progress、searching、completed、failed、incomplete。
type string | 类型
response.output_item.added.item.type
输出条目类型标识,用于区分不同类型的输出条目。
取值固定为 knowledge_search_call。
id string | 条目 ID
response.output_item.added.item.id
输出条目唯一标识。
豆包应用调用 object
模型对豆包助手能力的调用记录。
type string | 类型
response.output_item.added.item.type
输出条目类型标识。
取值固定为 doubao_app_call。
blocks object[] | 内容块
response.output_item.added.item.blocks
豆包应用调用产出的内容块列表。
文本输出 object
豆包应用产出的文本输出内容块。
type string | 类型
response.output_item.added.item.blocks.type
内容块类型标识符。
取值固定为 output_text。
id string | 块 ID
response.output_item.added.item.blocks.id
内容块的唯一标识。
parent_id string | 父级 ID
response.output_item.added.item.blocks.parent_id
所属父级条目的 ID。
status string | 状态
response.output_item.added.item.blocks.status
内容块状态。
text string | 文本内容
response.output_item.added.item.blocks.text
思维链文本 object
豆包应用产出的思维链文本内容块。
type string | 类型
response.output_item.added.item.blocks.type
内容块类型标识符。
取值固定为 reasoning_text。
id string | 块 ID
response.output_item.added.item.blocks.id
内容块的唯一标识。
parent_id string | 父级 ID
response.output_item.added.item.blocks.parent_id
所属父级条目的 ID。
reasoning_text string | 思考文本
response.output_item.added.item.blocks.reasoning_text
思维链文本内容。
status string | 状态
response.output_item.added.item.blocks.status
内容块状态。
搜索过程 object
豆包应用 AI 搜索过程产出的内容块。
type string | 类型
response.output_item.added.item.blocks.type
内容块类型标识符。
取值固定为 search。
id string | 块 ID
response.output_item.added.item.blocks.id
内容块的唯一标识。
parent_id string | 父级 ID
response.output_item.added.item.blocks.parent_id
所属父级条目的 ID。
queries string[] | 查询语句
response.output_item.added.item.blocks.queries
搜索查询语句列表。
results object[] | 搜索结果
response.output_item.added.item.blocks.results
搜索结果列表。
text_card object | 文本卡片
response.output_item.added.item.blocks.results.text_card
文本卡片形式的搜索结果。
sitename string | 站点名
response.output_item.added.item.blocks.results.text_card.sitename
来源站点名称。
title string | 标题
response.output_item.added.item.blocks.results.text_card.title
搜索结果标题。
url string | 网址
response.output_item.added.item.blocks.results.text_card.url
搜索结果 URL 地址。
status string | 状态
response.output_item.added.item.blocks.status
内容块状态。
summary string | 搜索总结
response.output_item.added.item.blocks.summary
AI 搜索过程中对本轮搜索结果的总结性文字,概括从搜索结果中提取的核心信息。
推理搜索过程 object
豆包应用推理搜索过程产出的内容块。
type string | 类型
response.output_item.added.item.blocks.type
内容块类型。
取值固定为 reasoning_search。
id string | 块 ID
response.output_item.added.item.blocks.id
内容块的唯一标识。
parent_id string | 父级 ID
response.output_item.added.item.blocks.parent_id
所属父级条目的 ID。
queries string[] | 查询语句
response.output_item.added.item.blocks.queries
搜索查询语句列表。
results object[] | 搜索结果
response.output_item.added.item.blocks.results
搜索结果列表。
text_card object | 文本卡片
response.output_item.added.item.blocks.results.text_card
文本卡片形式的搜索结果。
sitename string | 站点名
response.output_item.added.item.blocks.results.text_card.sitename
来源站点名称。
title string | 标题
response.output_item.added.item.blocks.results.text_card.title
搜索结果标题。
url string | 网址
response.output_item.added.item.blocks.results.text_card.url
搜索结果 URL 地址。
status string | 状态
response.output_item.added.item.blocks.status
推理搜索内容块的处理状态。可选值:in_progress、searching、completed、incomplete、failed。
summary string | 搜索总结
response.output_item.added.item.blocks.summary
推理搜索过程中对本轮搜索结果的总结性文字,概括从搜索结果中提取的核心信息。
feature string | 功能名
response.output_item.added.item.feature
本次调用触发的豆包子功能名称。可选值:chat、deep_chat、ai_search、reasoning_search。
id string | 条目 ID
response.output_item.added.item.id
输出条目唯一标识。
status string | 状态
response.output_item.added.item.status
输出状态。可选值:completed、failed、in_progress、incomplete。
智能体工具调用 object
模型发起的智能体工具调用记录。
name string | 工具名
response.output_item.added.item.name
被调用的智能体工具名称。
status string | 状态
response.output_item.added.item.status
智能体工具调用的执行状态。可选值:completed、failed、in_progress、incomplete。
type string | 类型
response.output_item.added.item.type
输出条目类型标识符,用于区分 OutputItem 的 variant。
取值固定为 agent_tool_call。
id string | 条目 ID
response.output_item.added.item.id
输出条目唯一标识。
output_index integer | 输出项索引
response.output_item.added.output_index
被添加的输出项的索引。
sequence_number integer | 序列号
response.output_item.added.sequence_number
事件的序列号。
type string | 事件类型
response.output_item.added.type
事件的类型,总是 response.output_item.added
response.output_item.done#
表示输出项已完成。
item object | 输出项
response.output_item.done.item
已完成的输出项内容。
消息输出 object
模型生成的消息输出,包含文本内容。
content object[] | 输出内容
response.output_item.done.item.content
输出内容列表。
模型回答文本 object
模型生成的最终回答文本。
type string | 类型
response.output_item.done.item.content.type
内容类型判别字段,用于区分 union 变体。
取值固定为 output_text。
annotations object[] | 标注列表
response.output_item.done.item.content.annotations
文本附带的标注信息列表(如引用来源等)
网页引用 object
引用自互联网网页的标注信息。
title string | 标题
response.output_item.done.item.content.annotations.title
引用网页的标题。
type string | 类型
response.output_item.done.item.content.annotations.type
标注类型的判别字段(discriminator)。
取值固定为 url_citation。
url string | 网址
response.output_item.done.item.content.annotations.url
引用网页的 URL 地址。
cover_image object | 封面图
response.output_item.done.item.content.annotations.cover_image
网页封面图片信息。
height integer | 高度
response.output_item.done.item.content.annotations.cover_image.height
封面图片高度(像素)
url string | 图片地址
response.output_item.done.item.content.annotations.cover_image.url
封面图片的 URL 地址。
width integer | 宽度
response.output_item.done.item.content.annotations.cover_image.width
封面图片宽度(像素)
freshness_info string | 新鲜度
response.output_item.done.item.content.annotations.freshness_info
内容新鲜度信息。
logo_url string | Logo 地址
response.output_item.done.item.content.annotations.logo_url
网站 Logo 图标地址。
mobile_url string | 移动端地址
response.output_item.done.item.content.annotations.mobile_url
移动端访问地址。
publish_time string | 发布时间
response.output_item.done.item.content.annotations.publish_time
网页发布时间。
site_name string | 站点名
response.output_item.done.item.content.annotations.site_name
站点名称。
summary string | 摘要
response.output_item.done.item.content.annotations.summary
网页内容摘要。
文档引用 object
引用自私域知识库文档的标注信息。
type string | 类型
response.output_item.done.item.content.annotations.type
标注类型。
取值固定为 doc_citation。
chunk_attachment object[] | 分块附件
response.output_item.done.item.content.annotations.chunk_attachment
引用分块附带的附件信息列表。
chunk_id integer | 分块 ID
response.output_item.done.item.content.annotations.chunk_id
引用文档分块的 ID。
doc_id string | 文档 ID
response.output_item.done.item.content.annotations.doc_id
引用文档的 ID。
doc_name string | 文档名
response.output_item.done.item.content.annotations.doc_name
引用文档的名称。
text string | 文本内容
response.output_item.done.item.content.text
模型生成的文本内容。
模型思维链文本 object
模型生成的思维链文本。
type string | 类型
response.output_item.done.item.content.type
内容类型标识,用于区分 union 变体。
取值固定为 reasoning_text。
annotations object[] | 标注列表
response.output_item.done.item.content.annotations
思维链附带的标注信息列表。
网页引用 object
引用自互联网网页的标注信息。
title string | 标题
response.output_item.done.item.content.annotations.title
引用网页的标题。
type string | 类型
response.output_item.done.item.content.annotations.type
标注类型的判别字段(discriminator)。
取值固定为 url_citation。
url string | 网址
response.output_item.done.item.content.annotations.url
引用网页的 URL 地址。
cover_image object | 封面图
response.output_item.done.item.content.annotations.cover_image
网页封面图片信息。
height integer | 高度
response.output_item.done.item.content.annotations.cover_image.height
封面图片高度(像素)
url string | 图片地址
response.output_item.done.item.content.annotations.cover_image.url
封面图片的 URL 地址。
width integer | 宽度
response.output_item.done.item.content.annotations.cover_image.width
封面图片宽度(像素)
freshness_info string | 新鲜度
response.output_item.done.item.content.annotations.freshness_info
内容新鲜度信息。
logo_url string | Logo 地址
response.output_item.done.item.content.annotations.logo_url
网站 Logo 图标地址。
mobile_url string | 移动端地址
response.output_item.done.item.content.annotations.mobile_url
移动端访问地址。
publish_time string | 发布时间
response.output_item.done.item.content.annotations.publish_time
网页发布时间。
site_name string | 站点名
response.output_item.done.item.content.annotations.site_name
站点名称。
summary string | 摘要
response.output_item.done.item.content.annotations.summary
网页内容摘要。
文档引用 object
引用自私域知识库文档的标注信息。
type string | 类型
response.output_item.done.item.content.annotations.type
标注类型。
取值固定为 doc_citation。
chunk_attachment object[] | 分块附件
response.output_item.done.item.content.annotations.chunk_attachment
引用分块附带的附件信息列表。
chunk_id integer | 分块 ID
response.output_item.done.item.content.annotations.chunk_id
引用文档分块的 ID。
doc_id string | 文档 ID
response.output_item.done.item.content.annotations.doc_id
引用文档的 ID。
doc_name string | 文档名
response.output_item.done.item.content.annotations.doc_name
引用文档的名称。
text string | 文本内容
response.output_item.done.item.content.text
模型思维链文本内容。
id string | 条目 ID
response.output_item.done.item.id
输出条目唯一标识。
role string | 角色
response.output_item.done.item.role
消息发送者的角色。
取值固定为 assistant。
status string | 状态
response.output_item.done.item.status
消息输出条目的当前状态。
completed:消息已生成完毕。in_progress:消息正在生成中(流式场景)。incomplete:消息未完整生成(例如达到max_output_tokens上限)。failed:消息生成失败。
type string | 类型
response.output_item.done.item.type
输出条目的类型标识。
取值固定为 message。
partial boolean | 增量片段
response.output_item.done.item.partial
是否为流式增量片段。
phase string | 消息阶段
response.output_item.done.item.phase
标记 assistant 消息属于中间讲解还是最终回答。在回放 assistant 历史消息时,建议保留并原样回传该字段。可选值:commentary、final_answer。
函数调用输出 object
模型发起的函数调用请求。
type string | 类型
response.output_item.done.item.type
输出条目类型标识,用于区分 OutputItem 变体。
取值固定为 function_call。
arguments string | 参数
response.output_item.done.item.arguments
函数参数的 JSON 字符串。
call_id string | 调用 ID
response.output_item.done.item.call_id
函数调用的唯一标识 ID,用于将该 function_call 输出与后续回传的 function_call_output 关联匹配。
id string | 条目 ID
response.output_item.done.item.id
输出条目唯一标识。
name string | 函数名
response.output_item.done.item.name
调用的函数名称。
status string | 状态
response.output_item.done.item.status
函数调用条目的当前状态。
completed:函数调用请求已生成完毕。in_progress:函数调用请求正在生成中(流式场景)。incomplete:函数调用请求未完整生成(例如达到max_output_tokens上限)。failed:函数调用生成失败。
思维链输出 object
模型的深度思考过程输出。
status string | 状态
response.output_item.done.item.status
推理条目的处理状态,用于判断思维链是否生成完成。可选值:completed、failed、in_progress、incomplete。
summary object[] | 推理摘要
response.output_item.done.item.summary
推理摘要内容列表。
type string | 类型
response.output_item.done.item.summary.type
摘要片段类型标识。
取值固定为 summary_text。
text string | 摘要文本
response.output_item.done.item.summary.text
思维链摘要文本内容。
type string | 类型
response.output_item.done.item.type
输出条目类型标识,用于区分 OutputItem 变体。
取值固定为 reasoning。
content object[] | 推理内容
response.output_item.done.item.content
思维链推理过程的内容元素列表。
模型回答文本 object
模型生成的最终回答文本。
type string | 类型
response.output_item.done.item.content.type
内容类型判别字段,用于区分 union 变体。
取值固定为 output_text。
annotations object[] | 标注列表
response.output_item.done.item.content.annotations
文本附带的标注信息列表(如引用来源等)
网页引用 object
引用自互联网网页的标注信息。
title string | 标题
response.output_item.done.item.content.annotations.title
引用网页的标题。
type string | 类型
response.output_item.done.item.content.annotations.type
标注类型的判别字段(discriminator)。
取值固定为 url_citation。
url string | 网址
response.output_item.done.item.content.annotations.url
引用网页的 URL 地址。
cover_image object | 封面图
response.output_item.done.item.content.annotations.cover_image
网页封面图片信息。
height integer | 高度
response.output_item.done.item.content.annotations.cover_image.height
封面图片高度(像素)
url string | 图片地址
response.output_item.done.item.content.annotations.cover_image.url
封面图片的 URL 地址。
width integer | 宽度
response.output_item.done.item.content.annotations.cover_image.width
封面图片宽度(像素)
freshness_info string | 新鲜度
response.output_item.done.item.content.annotations.freshness_info
内容新鲜度信息。
logo_url string | Logo 地址
response.output_item.done.item.content.annotations.logo_url
网站 Logo 图标地址。
mobile_url string | 移动端地址
response.output_item.done.item.content.annotations.mobile_url
移动端访问地址。
publish_time string | 发布时间
response.output_item.done.item.content.annotations.publish_time
网页发布时间。
site_name string | 站点名
response.output_item.done.item.content.annotations.site_name
站点名称。
summary string | 摘要
response.output_item.done.item.content.annotations.summary
网页内容摘要。
文档引用 object
引用自私域知识库文档的标注信息。
type string | 类型
response.output_item.done.item.content.annotations.type
标注类型。
取值固定为 doc_citation。
chunk_attachment object[] | 分块附件
response.output_item.done.item.content.annotations.chunk_attachment
引用分块附带的附件信息列表。
chunk_id integer | 分块 ID
response.output_item.done.item.content.annotations.chunk_id
引用文档分块的 ID。
doc_id string | 文档 ID
response.output_item.done.item.content.annotations.doc_id
引用文档的 ID。
doc_name string | 文档名
response.output_item.done.item.content.annotations.doc_name
引用文档的名称。
text string | 文本内容
response.output_item.done.item.content.text
模型生成的文本内容。
模型思维链文本 object
模型生成的思维链文本。
type string | 类型
response.output_item.done.item.content.type
内容类型标识,用于区分 union 变体。
取值固定为 reasoning_text。
annotations object[] | 标注列表
response.output_item.done.item.content.annotations
思维链附带的标注信息列表。
网页引用 object
引用自互联网网页的标注信息。
title string | 标题
response.output_item.done.item.content.annotations.title
引用网页的标题。
type string | 类型
response.output_item.done.item.content.annotations.type
标注类型的判别字段(discriminator)。
取值固定为 url_citation。
url string | 网址
response.output_item.done.item.content.annotations.url
引用网页的 URL 地址。
cover_image object | 封面图
response.output_item.done.item.content.annotations.cover_image
网页封面图片信息。
height integer | 高度
response.output_item.done.item.content.annotations.cover_image.height
封面图片高度(像素)
url string | 图片地址
response.output_item.done.item.content.annotations.cover_image.url
封面图片的 URL 地址。
width integer | 宽度
response.output_item.done.item.content.annotations.cover_image.width
封面图片宽度(像素)
freshness_info string | 新鲜度
response.output_item.done.item.content.annotations.freshness_info
内容新鲜度信息。
logo_url string | Logo 地址
response.output_item.done.item.content.annotations.logo_url
网站 Logo 图标地址。
mobile_url string | 移动端地址
response.output_item.done.item.content.annotations.mobile_url
移动端访问地址。
publish_time string | 发布时间
response.output_item.done.item.content.annotations.publish_time
网页发布时间。
site_name string | 站点名
response.output_item.done.item.content.annotations.site_name
站点名称。
summary string | 摘要
response.output_item.done.item.content.annotations.summary
网页内容摘要。
文档引用 object
引用自私域知识库文档的标注信息。
type string | 类型
response.output_item.done.item.content.annotations.type
标注类型。
取值固定为 doc_citation。
chunk_attachment object[] | 分块附件
response.output_item.done.item.content.annotations.chunk_attachment
引用分块附带的附件信息列表。
chunk_id integer | 分块 ID
response.output_item.done.item.content.annotations.chunk_id
引用文档分块的 ID。
doc_id string | 文档 ID
response.output_item.done.item.content.annotations.doc_id
引用文档的 ID。
doc_name string | 文档名
response.output_item.done.item.content.annotations.doc_name
引用文档的名称。
text string | 文本内容
response.output_item.done.item.content.text
模型思维链文本内容。
encrypted_content string | 加密思维链
response.output_item.done.item.encrypted_content
思考内容加密原文。经加密及压缩处理后的思考内容原文。
相关文档:
模型支持:
doubao-seed-2-0-lite-260428 及后续版本
id string | 条目 ID
response.output_item.done.item.id
输出条目唯一标识。
语音转写输出 object
模型返回的语音转写输出。
status string | 状态
response.output_item.done.item.status
语音转写条目的当前状态。
completed:转写已生成完毕。in_progress:转写正在生成中(流式场景)。incomplete:转写未完整生成(例如达到输出上限而截断)。failed:转写生成失败。
type string | 类型
response.output_item.done.item.type
输出条目类型标识。
取值固定为 transcription。
id string | 条目 ID
response.output_item.done.item.id
输出条目唯一标识。
transcription object[] | 转写内容
response.output_item.done.item.transcription
语音转写结果片段列表。
type string | 类型
response.output_item.done.item.transcription.type
转写片段类型。
取值固定为 transcription_text。
chunks object[] | 音频小段
response.output_item.done.item.transcription.chunks
当前片段对应的音频小段列表。
end_time integer | 结束时间
response.output_item.done.item.transcription.chunks.end_time
片段结束时间(毫秒)
start_time integer | 开始时间
response.output_item.done.item.transcription.chunks.start_time
片段开始时间(毫秒)
text string | 文字内容
response.output_item.done.item.transcription.chunks.text
当前片段对应的文字内容。
text string | 转写文本
response.output_item.done.item.transcription.text
当前片段的转写文本。
网页搜索调用 object
模型发起的网页搜索调用记录。
id string | 条目 ID
response.output_item.done.item.id
输出条目唯一标识。
status string | 状态
response.output_item.done.item.status
网页搜索调用的当前状态。可选值:in_progress、searching、completed、incomplete、failed。
type string | 类型
response.output_item.done.item.type
输出条目类型标识,用于区分 OutputItem 变体。
取值固定为 web_search_call。
action object | 搜索动作
response.output_item.done.item.action
描述模型执行的网页搜索动作,包括搜索类型与查询关键字。
query string | 查询语句
response.output_item.done.item.action.query
模型实际发起的搜索查询语句。
type string | 类型
response.output_item.done.item.action.type
网页搜索动作的类型标识。
取值固定为 search。
queries string[] | 查询语句列表
response.output_item.done.item.action.queries
本次网页搜索产生的查询语句列表。
图像处理调用 object
模型发起的图像处理调用记录。
id string | 条目 ID
response.output_item.done.item.id
输出条目唯一标识。
status string | 状态
response.output_item.done.item.status
图像处理调用的当前状态。
completed:图像处理已完成。in_progress:图像处理正在执行中。incomplete:图像处理未完整执行(例如被中断或截断)。failed:图像处理执行失败,具体原因见error字段。
type string | 类型
response.output_item.done.item.type
输出条目类型标识,用于区分 OutputItem 变体。
取值固定为 image_process。
action object | 处理动作
response.output_item.done.item.action
图像处理动作详情。
type string | 类型
response.output_item.done.item.action.type
图像处理动作类型。
result_image_url string | 结果图地址
response.output_item.done.item.action.result_image_url
处理后图像的 URL 地址。
arguments object | 处理参数
response.output_item.done.item.arguments
图像处理动作的输入参数,以键值对形式承载具体处理选项。
error object | 图像处理错误
response.output_item.done.item.error
图像处理失败时的错误信息。
message string | 错误描述
response.output_item.done.item.error.message
错误的可读描述。
MCP 审批请求 object
MCP 工具调用前的审批请求记录。
arguments string | 调用参数
response.output_item.done.item.arguments
工具调用参数的 JSON 字符串。
name string | 工具名
response.output_item.done.item.name
待运行的工具名称。
server_label string | 服务标签
response.output_item.done.item.server_label
发起请求的 MCP Server 标签。
type string | 类型
response.output_item.done.item.type
输出项类型标识符,用于区分 OutputItem 的变体。
取值固定为 mcp_approval_request。
id string | 请求 ID
response.output_item.done.item.id
审批请求的唯一 ID。
MCP 工具清单 object
MCP Server 提供的工具清单输出。
server_label string | 服务标签
response.output_item.done.item.server_label
MCP Server 标签。
type string | 类型
response.output_item.done.item.type
输出项类型标识。
取值固定为 mcp_list_tools。
error string | 错误信息
response.output_item.done.item.error
当 MCP Server 无法返回工具列表时的错误信息。
id string | 列表 ID
response.output_item.done.item.id
工具列表的唯一 ID。
tools object[] | 工具列表
response.output_item.done.item.tools
该 MCP Server 上可用的工具列表。
name string | 工具名
response.output_item.done.item.tools.name
工具名称。
annotations object | 注解信息
response.output_item.done.item.tools.annotations
工具的附加注解信息。
description string | 工具描述
response.output_item.done.item.tools.description
工具的功能描述。
input_schema object | 入参 Schema
response.output_item.done.item.tools.input_schema
描述工具入参的 JSON Schema。
MCP 工具调用 object
模型对 MCP 工具的实际调用记录及结果。
name string | 工具名
response.output_item.done.item.name
实际运行的工具名称。
server_label string | 服务标签
response.output_item.done.item.server_label
运行工具的 MCP Server 标签。
type string | 类型
response.output_item.done.item.type
标识该输出项为 MCP 工具调用记录。
取值固定为 mcp_call。
arguments string | 调用参数
response.output_item.done.item.arguments
传递给 MCP 工具的调用参数,格式为 JSON 字符串。
error string | 错误信息
response.output_item.done.item.error
工具调用失败时的错误信息。
id string | 调用 ID
response.output_item.done.item.id
工具调用的唯一 ID。
output string | 返回结果
response.output_item.done.item.output
工具调用的返回结果。
知识库检索调用 object
模型发起的私域知识库检索调用记录。
knowledge_resource_id string | 知识库 ID
response.output_item.done.item.knowledge_resource_id
检索使用的知识库 ID。
queries string[] | 查询语句
response.output_item.done.item.queries
模型实际执行的检索查询语句。
status string | 状态
response.output_item.done.item.status
知识库检索调用的执行状态。可选值:in_progress、searching、completed、failed、incomplete。
type string | 类型
response.output_item.done.item.type
输出条目类型标识,用于区分不同类型的输出条目。
取值固定为 knowledge_search_call。
id string | 条目 ID
response.output_item.done.item.id
输出条目唯一标识。
豆包应用调用 object
模型对豆包助手能力的调用记录。
type string | 类型
response.output_item.done.item.type
输出条目类型标识。
取值固定为 doubao_app_call。
blocks object[] | 内容块
response.output_item.done.item.blocks
豆包应用调用产出的内容块列表。
文本输出 object
豆包应用产出的文本输出内容块。
type string | 类型
response.output_item.done.item.blocks.type
内容块类型标识符。
取值固定为 output_text。
id string | 块 ID
response.output_item.done.item.blocks.id
内容块的唯一标识。
parent_id string | 父级 ID
response.output_item.done.item.blocks.parent_id
所属父级条目的 ID。
status string | 状态
response.output_item.done.item.blocks.status
内容块状态。
text string | 文本内容
response.output_item.done.item.blocks.text
思维链文本 object
豆包应用产出的思维链文本内容块。
type string | 类型
response.output_item.done.item.blocks.type
内容块类型标识符。
取值固定为 reasoning_text。
id string | 块 ID
response.output_item.done.item.blocks.id
内容块的唯一标识。
parent_id string | 父级 ID
response.output_item.done.item.blocks.parent_id
所属父级条目的 ID。
reasoning_text string | 思考文本
response.output_item.done.item.blocks.reasoning_text
思维链文本内容。
status string | 状态
response.output_item.done.item.blocks.status
内容块状态。
搜索过程 object
豆包应用 AI 搜索过程产出的内容块。
type string | 类型
response.output_item.done.item.blocks.type
内容块类型标识符。
取值固定为 search。
id string | 块 ID
response.output_item.done.item.blocks.id
内容块的唯一标识。
parent_id string | 父级 ID
response.output_item.done.item.blocks.parent_id
所属父级条目的 ID。
queries string[] | 查询语句
response.output_item.done.item.blocks.queries
搜索查询语句列表。
results object[] | 搜索结果
response.output_item.done.item.blocks.results
搜索结果列表。
text_card object | 文本卡片
response.output_item.done.item.blocks.results.text_card
文本卡片形式的搜索结果。
sitename string | 站点名
response.output_item.done.item.blocks.results.text_card.sitename
来源站点名称。
title string | 标题
response.output_item.done.item.blocks.results.text_card.title
搜索结果标题。
url string | 网址
response.output_item.done.item.blocks.results.text_card.url
搜索结果 URL 地址。
status string | 状态
response.output_item.done.item.blocks.status
内容块状态。
summary string | 搜索总结
response.output_item.done.item.blocks.summary
AI 搜索过程中对本轮搜索结果的总结性文字,概括从搜索结果中提取的核心信息。
推理搜索过程 object
豆包应用推理搜索过程产出的内容块。
type string | 类型
response.output_item.done.item.blocks.type
内容块类型。
取值固定为 reasoning_search。
id string | 块 ID
response.output_item.done.item.blocks.id
内容块的唯一标识。
parent_id string | 父级 ID
response.output_item.done.item.blocks.parent_id
所属父级条目的 ID。
queries string[] | 查询语句
response.output_item.done.item.blocks.queries
搜索查询语句列表。
results object[] | 搜索结果
response.output_item.done.item.blocks.results
搜索结果列表。
text_card object | 文本卡片
response.output_item.done.item.blocks.results.text_card
文本卡片形式的搜索结果。
sitename string | 站点名
response.output_item.done.item.blocks.results.text_card.sitename
来源站点名称。
title string | 标题
response.output_item.done.item.blocks.results.text_card.title
搜索结果标题。
url string | 网址
response.output_item.done.item.blocks.results.text_card.url
搜索结果 URL 地址。
status string | 状态
response.output_item.done.item.blocks.status
推理搜索内容块的处理状态。可选值:in_progress、searching、completed、incomplete、failed。
summary string | 搜索总结
response.output_item.done.item.blocks.summary
推理搜索过程中对本轮搜索结果的总结性文字,概括从搜索结果中提取的核心信息。
feature string | 功能名
response.output_item.done.item.feature
本次调用触发的豆包子功能名称。可选值:chat、deep_chat、ai_search、reasoning_search。
id string | 条目 ID
response.output_item.done.item.id
输出条目唯一标识。
status string | 状态
response.output_item.done.item.status
输出状态。可选值:completed、failed、in_progress、incomplete。
智能体工具调用 object
模型发起的智能体工具调用记录。
name string | 工具名
response.output_item.done.item.name
被调用的智能体工具名称。
status string | 状态
response.output_item.done.item.status
智能体工具调用的执行状态。可选值:completed、failed、in_progress、incomplete。
type string | 类型
response.output_item.done.item.type
输出条目类型标识符,用于区分 OutputItem 的 variant。
取值固定为 agent_tool_call。
id string | 条目 ID
response.output_item.done.item.id
输出条目唯一标识。
output_index integer | 输出项索引
response.output_item.done.output_index
已完成的输出项的索引。
sequence_number integer | 序列号
response.output_item.done.sequence_number
事件的序列号。
type string | 事件类型
response.output_item.done.type
事件的类型,总是 response.output_item.done
文本回答#
response.content_part.added#
当有新的内容部分被添加时触发。
content_index integer | 内容块索引
response.content_part.added.content_index
内容部分的索引。
item_id string | 输出项 ID
response.content_part.added.item_id
内容部分所添加的输出项的 ID。
output_index integer | 输出项索引
response.content_part.added.output_index
内容部分所添加的输出项的索引。
part object | 内容部分
response.content_part.added.part
所添加的内容部分。
模型回答文本 object
模型生成的最终回答文本。
type string | 类型
response.content_part.added.part.type
内容类型判别字段,用于区分 union 变体。
取值固定为 output_text。
annotations object[] | 标注列表
response.content_part.added.part.annotations
文本附带的标注信息列表(如引用来源等)
网页引用 object
引用自互联网网页的标注信息。
title string | 标题
response.content_part.added.part.annotations.title
引用网页的标题。
type string | 类型
response.content_part.added.part.annotations.type
标注类型的判别字段(discriminator)。
取值固定为 url_citation。
url string | 网址
response.content_part.added.part.annotations.url
引用网页的 URL 地址。
cover_image object | 封面图
response.content_part.added.part.annotations.cover_image
网页封面图片信息。
height integer | 高度
response.content_part.added.part.annotations.cover_image.height
封面图片高度(像素)
url string | 图片地址
response.content_part.added.part.annotations.cover_image.url
封面图片的 URL 地址。
width integer | 宽度
response.content_part.added.part.annotations.cover_image.width
封面图片宽度(像素)
freshness_info string | 新鲜度
response.content_part.added.part.annotations.freshness_info
内容新鲜度信息。
logo_url string | Logo 地址
response.content_part.added.part.annotations.logo_url
网站 Logo 图标地址。
mobile_url string | 移动端地址
response.content_part.added.part.annotations.mobile_url
移动端访问地址。
publish_time string | 发布时间
response.content_part.added.part.annotations.publish_time
网页发布时间。
site_name string | 站点名
response.content_part.added.part.annotations.site_name
站点名称。
summary string | 摘要
response.content_part.added.part.annotations.summary
网页内容摘要。
文档引用 object
引用自私域知识库文档的标注信息。
type string | 类型
response.content_part.added.part.annotations.type
标注类型。
取值固定为 doc_citation。
chunk_attachment object[] | 分块附件
response.content_part.added.part.annotations.chunk_attachment
引用分块附带的附件信息列表。
chunk_id integer | 分块 ID
response.content_part.added.part.annotations.chunk_id
引用文档分块的 ID。
doc_id string | 文档 ID
response.content_part.added.part.annotations.doc_id
引用文档的 ID。
doc_name string | 文档名
response.content_part.added.part.annotations.doc_name
引用文档的名称。
text string | 文本内容
response.content_part.added.part.text
模型生成的文本内容。
模型思维链文本 object
模型生成的思维链文本。
type string | 类型
response.content_part.added.part.type
内容类型标识,用于区分 union 变体。
取值固定为 reasoning_text。
annotations object[] | 标注列表
response.content_part.added.part.annotations
思维链附带的标注信息列表。
网页引用 object
引用自互联网网页的标注信息。
title string | 标题
response.content_part.added.part.annotations.title
引用网页的标题。
type string | 类型
response.content_part.added.part.annotations.type
标注类型的判别字段(discriminator)。
取值固定为 url_citation。
url string | 网址
response.content_part.added.part.annotations.url
引用网页的 URL 地址。
cover_image object | 封面图
response.content_part.added.part.annotations.cover_image
网页封面图片信息。
height integer | 高度
response.content_part.added.part.annotations.cover_image.height
封面图片高度(像素)
url string | 图片地址
response.content_part.added.part.annotations.cover_image.url
封面图片的 URL 地址。
width integer | 宽度
response.content_part.added.part.annotations.cover_image.width
封面图片宽度(像素)
freshness_info string | 新鲜度
response.content_part.added.part.annotations.freshness_info
内容新鲜度信息。
logo_url string | Logo 地址
response.content_part.added.part.annotations.logo_url
网站 Logo 图标地址。
mobile_url string | 移动端地址
response.content_part.added.part.annotations.mobile_url
移动端访问地址。
publish_time string | 发布时间
response.content_part.added.part.annotations.publish_time
网页发布时间。
site_name string | 站点名
response.content_part.added.part.annotations.site_name
站点名称。
summary string | 摘要
response.content_part.added.part.annotations.summary
网页内容摘要。
文档引用 object
引用自私域知识库文档的标注信息。
type string | 类型
response.content_part.added.part.annotations.type
标注类型。
取值固定为 doc_citation。
chunk_attachment object[] | 分块附件
response.content_part.added.part.annotations.chunk_attachment
引用分块附带的附件信息列表。
chunk_id integer | 分块 ID
response.content_part.added.part.annotations.chunk_id
引用文档分块的 ID。
doc_id string | 文档 ID
response.content_part.added.part.annotations.doc_id
引用文档的 ID。
doc_name string | 文档名
response.content_part.added.part.annotations.doc_name
引用文档的名称。
text string | 文本内容
response.content_part.added.part.text
模型思维链文本内容。
sequence_number integer | 序列号
response.content_part.added.sequence_number
事件的序列号。
type string | 事件类型
response.content_part.added.type
事件的类型,总是 response.content_part.added
response.content_part.done#
当内容完成时触发。
content_index integer | 内容块索引
response.content_part.done.content_index
内容部分的索引。
item_id string | 输出项 ID
response.content_part.done.item_id
内容部分所添加的输出项的 ID。
output_index integer | 输出项索引
response.content_part.done.output_index
内容部分所添加的输出项的索引。
part object | 内容部分
response.content_part.done.part
所完成的内容部分。
模型回答文本 object
模型生成的最终回答文本。
type string | 类型
response.content_part.done.part.type
内容类型判别字段,用于区分 union 变体。
取值固定为 output_text。
annotations object[] | 标注列表
response.content_part.done.part.annotations
文本附带的标注信息列表(如引用来源等)
网页引用 object
引用自互联网网页的标注信息。
title string | 标题
response.content_part.done.part.annotations.title
引用网页的标题。
type string | 类型
response.content_part.done.part.annotations.type
标注类型的判别字段(discriminator)。
取值固定为 url_citation。
url string | 网址
response.content_part.done.part.annotations.url
引用网页的 URL 地址。
cover_image object | 封面图
response.content_part.done.part.annotations.cover_image
网页封面图片信息。
height integer | 高度
response.content_part.done.part.annotations.cover_image.height
封面图片高度(像素)
url string | 图片地址
response.content_part.done.part.annotations.cover_image.url
封面图片的 URL 地址。
width integer | 宽度
response.content_part.done.part.annotations.cover_image.width
封面图片宽度(像素)
freshness_info string | 新鲜度
response.content_part.done.part.annotations.freshness_info
内容新鲜度信息。
logo_url string | Logo 地址
response.content_part.done.part.annotations.logo_url
网站 Logo 图标地址。
mobile_url string | 移动端地址
response.content_part.done.part.annotations.mobile_url
移动端访问地址。
publish_time string | 发布时间
response.content_part.done.part.annotations.publish_time
网页发布时间。
site_name string | 站点名
response.content_part.done.part.annotations.site_name
站点名称。
summary string | 摘要
response.content_part.done.part.annotations.summary
网页内容摘要。
文档引用 object
引用自私域知识库文档的标注信息。
type string | 类型
response.content_part.done.part.annotations.type
标注类型。
取值固定为 doc_citation。
chunk_attachment object[] | 分块附件
response.content_part.done.part.annotations.chunk_attachment
引用分块附带的附件信息列表。
chunk_id integer | 分块 ID
response.content_part.done.part.annotations.chunk_id
引用文档分块的 ID。
doc_id string | 文档 ID
response.content_part.done.part.annotations.doc_id
引用文档的 ID。
doc_name string | 文档名
response.content_part.done.part.annotations.doc_name
引用文档的名称。
text string | 文本内容
response.content_part.done.part.text
模型生成的文本内容。
模型思维链文本 object
模型生成的思维链文本。
type string | 类型
response.content_part.done.part.type
内容类型标识,用于区分 union 变体。
取值固定为 reasoning_text。
annotations object[] | 标注列表
response.content_part.done.part.annotations
思维链附带的标注信息列表。
网页引用 object
引用自互联网网页的标注信息。
title string | 标题
response.content_part.done.part.annotations.title
引用网页的标题。
type string | 类型
response.content_part.done.part.annotations.type
标注类型的判别字段(discriminator)。
取值固定为 url_citation。
url string | 网址
response.content_part.done.part.annotations.url
引用网页的 URL 地址。
cover_image object | 封面图
response.content_part.done.part.annotations.cover_image
网页封面图片信息。
height integer | 高度
response.content_part.done.part.annotations.cover_image.height
封面图片高度(像素)
url string | 图片地址
response.content_part.done.part.annotations.cover_image.url
封面图片的 URL 地址。
width integer | 宽度
response.content_part.done.part.annotations.cover_image.width
封面图片宽度(像素)
freshness_info string | 新鲜度
response.content_part.done.part.annotations.freshness_info
内容新鲜度信息。
logo_url string | Logo 地址
response.content_part.done.part.annotations.logo_url
网站 Logo 图标地址。
mobile_url string | 移动端地址
response.content_part.done.part.annotations.mobile_url
移动端访问地址。
publish_time string | 发布时间
response.content_part.done.part.annotations.publish_time
网页发布时间。
site_name string | 站点名
response.content_part.done.part.annotations.site_name
站点名称。
summary string | 摘要
response.content_part.done.part.annotations.summary
网页内容摘要。
文档引用 object
引用自私域知识库文档的标注信息。
type string | 类型
response.content_part.done.part.annotations.type
标注类型。
取值固定为 doc_citation。
chunk_attachment object[] | 分块附件
response.content_part.done.part.annotations.chunk_attachment
引用分块附带的附件信息列表。
chunk_id integer | 分块 ID
response.content_part.done.part.annotations.chunk_id
引用文档分块的 ID。
doc_id string | 文档 ID
response.content_part.done.part.annotations.doc_id
引用文档的 ID。
doc_name string | 文档名
response.content_part.done.part.annotations.doc_name
引用文档的名称。
text string | 文本内容
response.content_part.done.part.text
模型思维链文本内容。
sequence_number integer | 序列号
response.content_part.done.sequence_number
事件的序列号。
type string | 事件类型
response.content_part.done.type
事件的类型,总是 response.content_part.done
response.output_text.delta#
当有新增文本片段时触发。
content_index integer | 内容块索引
response.output_text.delta.content_index
增量文本所属内容块的索引。
item_id string | 输出项 ID
response.output_text.delta.item_id
增量文本所属输出项的唯一 ID。
output_index integer | 输出项索引
response.output_text.delta.output_index
增量文本所属输出项的列表索引。
sequence_number integer | 序列号
response.output_text.delta.sequence_number
事件的序列号。
type string | 事件类型
response.output_text.delta.type
事件的类型,总是 response.output_text.delta
delta string | 文本增量
response.output_text.delta.delta
新增的文本片段内容。
response.output_text.done#
文本内容完成时触发。
content_index integer | 内容块索引
response.output_text.done.content_index
文本内容所属内容块的索引。
item_id string | 输出项 ID
response.output_text.done.item_id
文本内容所属输出项的唯一 ID。
output_index integer | 输出项索引
response.output_text.done.output_index
文本内容所属输出项的列表索引。
sequence_number integer | 序列号
response.output_text.done.sequence_number
事件的序列号。
type string | 事件类型
response.output_text.done.type
事件的类型,总是 response.output_text.done
text string | 完成文本
response.output_text.done.text
完成的文本内容。
response.output_text.annotation.added#
当输出文本中有新的注解被添加时触发的事件。
annotation object | 注解内容
response.output_text.annotation.added.annotation
所添加的注解信息。
网页引用 object
引用自互联网网页的标注信息。
title string | 标题
response.output_text.annotation.added.annotation.title
引用网页的标题。
type string | 类型
response.output_text.annotation.added.annotation.type
标注类型的判别字段(discriminator)。
取值固定为 url_citation。
url string | 网址
response.output_text.annotation.added.annotation.url
引用网页的 URL 地址。
cover_image object | 封面图
response.output_text.annotation.added.annotation.cover_image
网页封面图片信息。
height integer | 高度
response.output_text.annotation.added.annotation.cover_image.height
封面图片高度(像素)
url string | 图片地址
response.output_text.annotation.added.annotation.cover_image.url
封面图片的 URL 地址。
width integer | 宽度
response.output_text.annotation.added.annotation.cover_image.width
封面图片宽度(像素)
freshness_info string | 新鲜度
response.output_text.annotation.added.annotation.freshness_info
内容新鲜度信息。
logo_url string | Logo 地址
response.output_text.annotation.added.annotation.logo_url
网站 Logo 图标地址。
mobile_url string | 移动端地址
response.output_text.annotation.added.annotation.mobile_url
移动端访问地址。
publish_time string | 发布时间
response.output_text.annotation.added.annotation.publish_time
网页发布时间。
site_name string | 站点名
response.output_text.annotation.added.annotation.site_name
站点名称。
summary string | 摘要
response.output_text.annotation.added.annotation.summary
网页内容摘要。
文档引用 object
引用自私域知识库文档的标注信息。
type string | 类型
response.output_text.annotation.added.annotation.type
标注类型。
取值固定为 doc_citation。
chunk_attachment object[] | 分块附件
response.output_text.annotation.added.annotation.chunk_attachment
引用分块附带的附件信息列表。
chunk_id integer | 分块 ID
response.output_text.annotation.added.annotation.chunk_id
引用文档分块的 ID。
doc_id string | 文档 ID
response.output_text.annotation.added.annotation.doc_id
引用文档的 ID。
doc_name string | 文档名
response.output_text.annotation.added.annotation.doc_name
引用文档的名称。
content_index integer | 内容块索引
response.output_text.annotation.added.content_index
注解所属内容块的索引。
item_id string | 输出项 ID
response.output_text.annotation.added.item_id
注解所属输出项的唯一 ID。
output_index integer | 输出项索引
response.output_text.annotation.added.output_index
注解所属输出项的列表索引。
sequence_number integer | 序列号
response.output_text.annotation.added.sequence_number
事件的序列号。
type string | 事件类型
response.output_text.annotation.added.type
事件的类型,总是 response.output_text.annotation.added
annotation_index integer | 注解索引
response.output_text.annotation.added.annotation_index
注解在内容块注解列表中的索引。
思维链#
response.reasoning_raw_text.delta#
当原始思维链文本片段新增时触发的事件。
content_index integer | 内容块索引
response.reasoning_raw_text.delta.content_index
原始推理文本片段所属内容块的索引。
item_id string | 输出项 ID
response.reasoning_raw_text.delta.item_id
原始推理文本片段所属输出项的唯一 ID。
output_index integer | 输出项索引
response.reasoning_raw_text.delta.output_index
原始推理文本片段所属输出项的列表索引。
sequence_number integer | 序列号
response.reasoning_raw_text.delta.sequence_number
事件的序列号。
type string | 事件类型
response.reasoning_raw_text.delta.type
事件的类型,总是 response.reasoning_raw_text.delta
delta string | 原始推理增量
response.reasoning_raw_text.delta.delta
本次新增的原始推理文本片段。
response.reasoning_raw_text.done#
当原始思维链文本内容完成时触发的事件。
content_index integer | 内容块索引
response.reasoning_raw_text.done.content_index
原始推理文本所属内容块的索引。
item_id string | 输出项 ID
response.reasoning_raw_text.done.item_id
原始推理文本所属输出项的唯一 ID。
output_index integer | 输出项索引
response.reasoning_raw_text.done.output_index
原始推理文本所属输出项的列表索引。
sequence_number integer | 序列号
response.reasoning_raw_text.done.sequence_number
事件的序列号。
type string | 事件类型
response.reasoning_raw_text.done.type
事件的类型,总是 response.reasoning_raw_text.done
text string | 原始推理文本
response.reasoning_raw_text.done.text
完整的原始推理文本内容。
response.reasoning_summary_part.added#
当存在思维链新增部分时触发。
item_id string | 输出项 ID
response.reasoning_summary_part.added.item_id
所属输出项的 ID。
output_index integer | 输出项索引
response.reasoning_summary_part.added.output_index
所属输出项的索引。
part object | 摘要内容
response.reasoning_summary_part.added.part
所添加的内容部分。
type string | 类型
response.reasoning_summary_part.added.part.type
摘要片段类型标识。
取值固定为 summary_text。
text string | 摘要文本
response.reasoning_summary_part.added.part.text
思维链摘要文本内容。
sequence_number integer | 序列号
response.reasoning_summary_part.added.sequence_number
事件的序列号。
summary_index integer | 摘要索引
response.reasoning_summary_part.added.summary_index
输出项内推理总结部分的子索引。
type string | 事件类型
response.reasoning_summary_part.added.type
事件的类型,总是 response.reasoning_summary_part.added
response.reasoning_summary_part.done#
当思维链部分完成时触发。
item_id string | 输出项 ID
response.reasoning_summary_part.done.item_id
所属输出项的 ID。
output_index integer | 输出项索引
response.reasoning_summary_part.done.output_index
所属输出项的索引。
part object | 摘要内容
response.reasoning_summary_part.done.part
所完成的内容部分。
type string | 类型
response.reasoning_summary_part.done.part.type
摘要片段类型标识。
取值固定为 summary_text。
text string | 摘要文本
response.reasoning_summary_part.done.part.text
思维链摘要文本内容。
sequence_number integer | 序列号
response.reasoning_summary_part.done.sequence_number
事件的序列号。
summary_index integer | 摘要索引
response.reasoning_summary_part.done.summary_index
输出项内推理总结部分的子索引。
type string | 事件类型
response.reasoning_summary_part.done.type
事件的类型,总是 response.reasoning_summary_part.done
response.reasoning_summary_text.delta#
当存在思维链新增文本时触发。
item_id string | 输出项 ID
response.reasoning_summary_text.delta.item_id
所属输出项的 ID。
output_index integer | 输出项索引
response.reasoning_summary_text.delta.output_index
所属输出项的索引。
sequence_number integer | 序列号
response.reasoning_summary_text.delta.sequence_number
事件的序列号。
summary_index integer | 摘要索引
response.reasoning_summary_text.delta.summary_index
输出项内推理总结部分的子索引。
type string | 事件类型
response.reasoning_summary_text.delta.type
事件的类型,总是 response.reasoning_summary_text.delta
delta string | 摘要增量
response.reasoning_summary_text.delta.delta
输出的思维链文本增量片段。
response.reasoning_summary_text.done#
思维链文本完成时触发。
item_id string | 输出项 ID
response.reasoning_summary_text.done.item_id
所属输出项的 ID。
output_index integer | 输出项索引
response.reasoning_summary_text.done.output_index
所属输出项的索引。
sequence_number integer | 序列号
response.reasoning_summary_text.done.sequence_number
事件的序列号。
summary_index integer | 摘要索引
response.reasoning_summary_text.done.summary_index
输出项内推理总结部分的子索引。
type string | 事件类型
response.reasoning_summary_text.done.type
事件的类型,总是 response.reasoning_summary_text.done
text string | 摘要文本
response.reasoning_summary_text.done.text
思维链文本完整内容。
response.reasoning_text.delta#
当推理文本片段新增时触发的事件。
content_index integer | 内容块索引
response.reasoning_text.delta.content_index
推理文本片段所属内容块的索引。
item_id string | 输出项 ID
response.reasoning_text.delta.item_id
推理文本片段所属输出项的唯一 ID。
output_index integer | 输出项索引
response.reasoning_text.delta.output_index
推理文本片段所属输出项的列表索引。
sequence_number integer | 序列号
response.reasoning_text.delta.sequence_number
事件的序列号。
type string | 事件类型
response.reasoning_text.delta.type
事件的类型,总是 response.reasoning_text.delta
delta string | 推理增量
response.reasoning_text.delta.delta
本次新增的推理文本片段。
response.reasoning_text.done#
当推理文本内容完成时触发的事件。
content_index integer | 内容块索引
response.reasoning_text.done.content_index
推理文本所属内容块的索引。
item_id string | 输出项 ID
response.reasoning_text.done.item_id
推理文本所属输出项的唯一 ID。
output_index integer | 输出项索引
response.reasoning_text.done.output_index
推理文本所属输出项的列表索引。
sequence_number integer | 序列号
response.reasoning_text.done.sequence_number
事件的序列号。
type string | 事件类型
response.reasoning_text.done.type
事件的类型,总是 response.reasoning_text.done
text string | 推理文本
response.reasoning_text.done.text
完整的推理文本内容。