document_chat_retrieval.yaml 857 B

12345678910111213141516171819202122232425
  1. description: "文档编辑 AI 对话-RAG 质量优先检索配置"
  2. version: "1.0.0"
  3. retrieval:
  4. enabled: true
  5. child_collection: "t_kngs_construction_plan_child"
  6. recall_top_k: 30
  7. rerank_top_k: 8
  8. submit_top_k: 3
  9. min_vector_similarity: 0.45
  10. min_rerank_score: 0.70
  11. min_qualified_count: 1
  12. max_reference_chars: 4000
  13. max_single_reference_chars: 1500
  14. allow_vector_fallback: false
  15. allow_unscoped_search: false
  16. dense_weight: 0.7
  17. sparse_weight: 0.3
  18. ranker_type: "weighted"
  19. warnings:
  20. no_scope: "缺少可靠的知识库检索范围,本次未引用向量库内容。"
  21. no_recall: "未召回可信知识库内容,本次回答不引用向量库。"
  22. low_confidence: "未找到可信度足够的知识库片段,本次未引用向量库内容。"
  23. rerank_failed: "知识库片段重排不可用,本次未引用向量库内容。"