kb
Set Collection Rerank Model
Bind or clear the rerank model for a collection.
When set, knowledge_search adds a rerank stage for this KB using the configured model. When cleared, no rerank is performed.
The rerank binding is user-scoped and stored in collection_config, so different users can have different rerank settings for the same collection name.
patch/api/kb/collections/{collection}/rerank-model
Path parameters
collectionstring required
Request body
Response
Successful Response