mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-09-01 15:55:42 +08:00
format
This commit is contained in:
+1
-1
@@ -43,6 +43,6 @@ class RAGLLM(CustomLLM):
|
||||
...
|
||||
|
||||
|
||||
def get_rag_llm(model_infer: BaseLLM = None):
|
||||
def get_rag_llm(model_infer: BaseLLM = None) -> RAGLLM:
|
||||
"""Get llm that can be used by LlamaIndex."""
|
||||
return RAGLLM(model_infer=model_infer or LLM())
|
||||
|
||||
Reference in New Issue
Block a user