Magic_yuan commited on
Commit
38d7e17
·
1 Parent(s): 58c112a

Update lightrag_azure_openai_demo.py

Browse files
examples/lightrag_azure_openai_demo.py CHANGED
@@ -34,9 +34,9 @@ async def llm_model_func(
34
  prompt, system_prompt=None, history_messages=[], **kwargs
35
  ) -> str:
36
  client = AzureOpenAI(
37
- api_key=LLM_AZURE_OPENAI_KEY,
38
- api_version=LLM_AZURE_OPENAI_VERSION,
39
- azure_endpoint=LLM_AZURE_OPENAI_API
40
  )
41
 
42
  messages = []
 
34
  prompt, system_prompt=None, history_messages=[], **kwargs
35
  ) -> str:
36
  client = AzureOpenAI(
37
+ api_key=AZURE_OPENAI_API_KEY,
38
+ api_version=AZURE_OPENAI_API_VERSION,
39
+ azure_endpoint=AZURE_OPENAI_DEPLOYMENT
40
  )
41
 
42
  messages = []