跳到导航

更新分块覆盖设置

设置或清除文档或文件夹的 RAG 分块覆盖设置。

路径参数

documentation_idstring必需

知识库中文档的 ID。添加文档时返回此值。

请求头

xi-api-keystring可选

请求

This endpoint expects an object.
chunking_overrideobject可选

文档或文件夹的 RAG 分块覆盖设置。Null 会清除覆盖设置,继而应用上级设置和嵌入模型默认值。

响应

成功响应

idstring

已更新分块覆盖设置的文档或文件夹 ID。

reindex_queuedboolean

有效配置是否已变更,以及是否已将后台重新编制索引加入队列。

chunking_overrideobject可选

最终的分块覆盖设置。null 表示该实体继承自上级实体或嵌入模型默认设置。

错误

422
Documents Update Chunking Override Request Unprocessable Entity Error