Unverified50% confidenceDecision RuleExact time
RAG调优中Top K(返回最相关的K个片段)和相似度阈值是最常需要调整的两个参数
1
Sources
50%
Confidence
Long-term
Relevance
7/20/2026
First Seen
Sources
Related Claims
UnverifiedThe choice of K value in Top-K routing affects the trade-off between computational efficiency and expressive capacity — a smaller K leads to faster inference but may sacrifice expressiveness, and in practice K is typically set to 1 or 2.74% similarUnverifiedTop-p (nucleus sampling) limits the candidate token range by dynamically truncating probability mass, and has better adaptability than fixed-truncation Top-k71% similarUnverifiedTop-K的K值存在经典权衡:K太小会漏掉关键信息,K太大会引入噪声导致大模型答案跑偏67% similarUnverifiedTop-k sampling restricts the word selection range to the k words with the highest probabilities in order to prevent absurd outputs67% similarUnverifiedK-means的核心目标是最小化簇内平方误差和(WCSS),通过迭代更新簇中心来完成聚类65% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/570933API
curl https://kongchang.com/api/v1/knowledge/claims/570933MCP
get_claim(id=570933)