跳到主要内容
版本:dev

RagParameters Configuration

Rag configuration.

Parameters

NameTypeRequiredDescription
chunk_overlapinteger
The default thread pool size, If None, use default config of python thread pool
Defaults:50
similarity_top_kinteger
knowledge search top k
Defaults:10
similarity_score_thresholdinteger
knowledge search top similarity score
Defaults:0.0
query_rewriteboolean
knowledge search rewrite
Defaults:False
max_chunks_once_loadinteger
knowledge max chunks once load
Defaults:10
max_threadsinteger
knowledge max load thread
Defaults:1
rerank_top_kinteger
knowledge rerank top k
Defaults:3
storageStorageConfig (storageconfig configuration)
Storage configuration
Defaults:StorageConfig
graph_search_top_kinteger
knowledge graph search top k
Defaults:3
graph_community_summary_enabledboolean
graph community summary enabled
Defaults:False
chunk_sizeinteger
Whether to verify the SSL certificate of the database
Defaults:500