mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-11-22 21:15:52 +00:00
Azure OpenAI requires import of OpenAILLMOptions (missing)
This commit is contained in:
parent
4e79550725
commit
f5938f76bc
@ -248,6 +248,7 @@ def create_app(args):
|
|||||||
azure_openai_complete_if_cache,
|
azure_openai_complete_if_cache,
|
||||||
azure_openai_embed,
|
azure_openai_embed,
|
||||||
)
|
)
|
||||||
|
from lightrag.llm.binding_options import OpenAILLMOptions
|
||||||
if args.llm_binding == "aws_bedrock" or args.embedding_binding == "aws_bedrock":
|
if args.llm_binding == "aws_bedrock" or args.embedding_binding == "aws_bedrock":
|
||||||
from lightrag.llm.bedrock import bedrock_complete_if_cache, bedrock_embed
|
from lightrag.llm.bedrock import bedrock_complete_if_cache, bedrock_embed
|
||||||
if args.embedding_binding == "ollama":
|
if args.embedding_binding == "ollama":
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user