Merge pull request #1999 from thiborose/missingDependencyAOAI
Added import of OpenAILLMOptions when using azure_openai
This commit is contained in:
commit
2adbafd6b0
1 changed files with 1 additions and 0 deletions
|
|
@ -248,6 +248,7 @@ def create_app(args):
|
|||
azure_openai_complete_if_cache,
|
||||
azure_openai_embed,
|
||||
)
|
||||
from lightrag.llm.binding_options import OpenAILLMOptions
|
||||
if args.llm_binding == "aws_bedrock" or args.embedding_binding == "aws_bedrock":
|
||||
from lightrag.llm.bedrock import bedrock_complete_if_cache, bedrock_embed
|
||||
if args.embedding_binding == "ollama":
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue