知识库
部分更新知识库
Changed on修改请求里出现的设置。未出现的字段保持不变,包括分块、索引和模型里没写到的项。
patch/knowledge-bases/{id}
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/knowledge-bases/{id}
- Auth
- API key in header Authorization
- or API key in header X-API-Key
Path parameters
idstring required
知识库ID
Request body
Response
更新后的知识库
Example response
{
"success": true
}Changes
- info
endpoint added
- info