The retrieval settings for the knowledge base. If not provider, Hybrid Search will be used as a default query strategy.
Field | Type | Required | Description |
---|---|---|---|
retrieval_type |
Optional[models.UpdateKnowledgeKnowledgeRetrievalType] | ➖ | The retrieval type to use for the knowledge base. If not provided, Hybrid Search will be used as a default query strategy. |
top_k |
Optional[int] | ➖ | The number of results to return from the search. |
threshold |
Optional[float] | ➖ | The threshold value used to filter the search results, only documents with a relevance score greater than the threshold will be returned |
rerank_config |
OptionalNullable[models.UpdateKnowledgeKnowledgeRerankConfig] | ➖ | The rerank configuration for the knowledge base. In case the model is provided it will be used to enhance the search precision. |
agentic_rag_config |
OptionalNullable[models.UpdateKnowledgeKnowledgeAgenticRagConfig] | ➖ | The Agentic RAG configuration for the knowledge base. If null is provided, Agentic RAG will be disabled. |