Merge pull request #143 from thinkthinking/main

[feat] Add API server implementation and endpoints
This commit is contained in:
zrguo
2024-10-28 09:54:02 +08:00
committed by GitHub
4 changed files with 308 additions and 10 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