Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 3.99 KB

updateknowledgeknowledgeretrievalsettings.md

File metadata and controls

14 lines (10 loc) · 3.99 KB

UpdateKnowledgeKnowledgeRetrievalSettings

The retrieval settings for the knowledge base. If not provider, Hybrid Search will be used as a default query strategy.

Fields

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.