mirror of
https://github.com/microsoft/graphrag.git
synced 2025-12-04 02:49:57 +00:00
Update factories.py to allow the usage of the request timeout ChatOpe… (#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 <alonsog@microsoft.com>
This commit is contained in:
parent
7b8f5ba51f
commit
fcfa7b1329
@ -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,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user