Skip to content

Commit

Permalink
update config construction
Browse files Browse the repository at this point in the history
  • Loading branch information
darthtrevino committed Oct 25, 2024
1 parent dfe687d commit 9d607a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graphrag/index/llm/load_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def _load_openai_chat_llm(
):
configuration = validator.validate_python({
"api_key": config.api_key,
"api_base": config.api_base,
"endpoint": config.api_base,
"api_version": config.api_version,
"organization": config.organization,
"max_retries": config.max_retries,
Expand Down Expand Up @@ -156,7 +156,7 @@ def _load_openai_embeddings_llm(
):
configuration = validator.validate_python({
"api_key": config.api_key,
"api_base": config.api_base,
"endpoint": config.api_base,
"api_version": config.api_version,
"organization": config.organization,
"max_retries": config.max_retries,
Expand Down

0 comments on commit 9d607a1

Please sign in to comment.