Skip to main content
在不删除的前提下停用一条知识条目,或让它重新生效。停用的条目及其内容仍保留在模型中,但不再参与回答,也不会出现在按 keyword 检索的结果里。无论停用还是恢复,条目的 updated_at 都会更新。 有些类型不能停用,例如通用知识。
所需权限: analysis_model:modify

路径参数

string
required
工作空间 ID
string
required
分析模型 ID
string
required
知识条目 ID

请求体

boolean
required
true 表示让条目不再参与回答,false 表示让它重新参与
string
条目创建时的类型,例如 few_shot。有些类型仅凭 ID 无法定位。

响应

boolean
表示请求是否成功
string
人类可读的状态消息