Skip to content

Commit

Permalink
Update factories.py to allow the usage of the request timeout ChatOpe… (
Browse files Browse the repository at this point in the history
#1115)

Update factories.py to allow the usage of the request timeout ChatOpenAI parameter

allow the usage of the request timeout ChatOpenAI parameter

Co-authored-by: Alonso Guevara <[email protected]>
  • Loading branch information
nriviera and AlonsoGuevara authored Sep 12, 2024
1 parent 7b8f5ba commit fcfa7b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions graphrag/query/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ def get_llm(config: GraphRagConfig) -> ChatOpenAI:
deployment_name=config.llm.deployment_name,
api_version=config.llm.api_version,
max_retries=config.llm.max_retries,
request_timeout=config.llm.request_timeout,
)


Expand Down

0 comments on commit fcfa7b1

Please sign in to comment.