Skip to main content

Merge RAG settings into a knowledge base

PATCH 

/v1/knowledge-bases/:kb_id/settings

Merge RAG settings into a knowledge base.

The settings object is deep-merged, so only the keys you send change and everything else keeps its current value. Recognised groups are chunking_strategy, search_defaults, document_summaries, contextual_retrieval and semantic_caching.

A new chunking strategy applies to documents indexed after the change; update or re-add existing documents to re-chunk them under the new settings.

Requires the knowledge:write scope.

Request

Responses

Successful Response