[前端+RAG] 修复PDF文字重叠;上传异步化(LLM+向量化后台执行);摘要关键词模型改为deepseek-v3
This commit is contained in:
@@ -390,7 +390,7 @@ class KnowledgeFile:
|
||||
llm_time = time.time()
|
||||
abstract_task = get_llm_model_response_async(
|
||||
strategy_name="gen_abstract",
|
||||
llm_model_name=LLM_MODELS[1],
|
||||
llm_model_name=LLM_MODELS[0],
|
||||
template_prompt_name="gen_abstract",
|
||||
prompt_param_dict={"context": full_text},
|
||||
temperature=0.7,
|
||||
@@ -399,7 +399,7 @@ class KnowledgeFile:
|
||||
|
||||
keywords_task = get_llm_model_response_async(
|
||||
strategy_name="gen_keywords",
|
||||
llm_model_name=LLM_MODELS[1],
|
||||
llm_model_name=LLM_MODELS[0],
|
||||
template_prompt_name="gen_keywords",
|
||||
prompt_param_dict={"context": full_text},
|
||||
temperature=0.7,
|
||||
|
||||
Reference in New Issue
Block a user