From fcfa7b13294d811751e918aaecc77f863d0f4d0f Mon Sep 17 00:00:00 2001 From: Roberto Corno <35002086+nriviera@users.noreply.github.com> Date: Thu, 12 Sep 2024 21:51:48 +0200 Subject: [PATCH] =?UTF-8?q?Update=20factories.py=20to=20allow=20the=20usag?= =?UTF-8?q?e=20of=20the=20request=20timeout=20ChatOpe=E2=80=A6=20(#1115)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- graphrag/query/factories.py | 1 + 1 file changed, 1 insertion(+) diff --git a/graphrag/query/factories.py b/graphrag/query/factories.py index f976efdae9..ae7803cdf5 100644 --- a/graphrag/query/factories.py +++ b/graphrag/query/factories.py @@ -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, )