main
HuangHai 2 weeks ago
parent 014227c918
commit cb205de224

@ -45,7 +45,7 @@ async def main():
enable_equation_processing=True, # 处理公式
)
# 自定义的大模型函数
llm_model_func = create_llm_model_func()
llm_model_func = create_llm_model_func(v_history_messages=[])
# 自定义的可视模型函数
vision_model_func = create_vision_model_func(llm_model_func)
# 自定义的嵌入函数

@ -12,7 +12,7 @@ async def load_existing_lightrag():
WORKING_DIR = "./Topic/DongHua"
# 创建 LLM 模型自定义函数
llm_model_func = create_llm_model_func()
llm_model_func = create_llm_model_func(v_history_messages=[])
# 创建可视模型自定义函数
vision_model_func = create_vision_model_func(llm_model_func)
# 创建嵌入模型自定义函数

Loading…
Cancel
Save