[RAG] 全部LLM硬编码从deepseek-r1改为deepseek-v3;修复知识库问答source格式不匹配导致检索结果被丢弃

This commit is contained in:
2026-04-07 10:32:14 +08:00
parent 4e00a1b15e
commit a5110da4e8
12 changed files with 18 additions and 17 deletions

View File

@@ -44,7 +44,7 @@ async def gen_paragraph(
try:
article_paragraph = get_llm_model_response(
strategy_name="gen_paragraph",
llm_model_name=LLM_MODELS[1],
llm_model_name=LLM_MODELS[0],
template_prompt_name="gen_paragraph",
prompt_param_dict={
"context": context_summary, # 使用摘要或原文