Refactor code formatting in lightrag_api_openai_compatible_demo.py

This commit is contained in:
zhenjie.ye
2024-10-26 16:12:10 +08:00
parent fb84c1e5be
commit f71e389d5b
3 changed files with 28 additions and 11 deletions

View File

@@ -85,9 +85,7 @@ class LightRAG:
# LLM
llm_model_func: callable = gpt_4o_mini_complete # hf_model_complete#
llm_model_name: str = (
"meta-llama/Llama-3.2-1B-Instruct" #'meta-llama/Llama-3.2-1B'#'google/gemma-2-2b-it'
)
llm_model_name: str = "meta-llama/Llama-3.2-1B-Instruct" #'meta-llama/Llama-3.2-1B'#'google/gemma-2-2b-it'
llm_model_max_token_size: int = 32768
llm_model_max_async: int = 16