From 21bd180d18b2e49d26b5496d1bc7e3cc265c6c99 Mon Sep 17 00:00:00 2001 From: Rosie Wood Date: Mon, 4 Mar 2024 16:03:06 +0000 Subject: [PATCH] up no. of retries to 10 --- reginald/models/models/llama_index.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/reginald/models/models/llama_index.py b/reginald/models/models/llama_index.py index 9936cc10..75d1346a 100644 --- a/reginald/models/models/llama_index.py +++ b/reginald/models/models/llama_index.py @@ -262,7 +262,7 @@ def _load_handbook(self, gh_token: str) -> None: verbose=False, concurrent_requests=1, timeout=60, - retries=3, + retries=10, filter_file_extensions=([".md"], GithubRepositoryReader.FilterType.INCLUDE), filter_directories=(["content"], GithubRepositoryReader.FilterType.INCLUDE), ) @@ -289,7 +289,7 @@ def _load_rse_course(self, gh_token: str) -> None: verbose=False, concurrent_requests=1, timeout=60, - retries=3, + retries=10, filter_file_extensions=( [".md", ".ipynb"], GithubRepositoryReader.FilterType.INCLUDE, @@ -318,7 +318,7 @@ def _load_rds_course(self, gh_token: str) -> None: verbose=False, concurrent_requests=1, timeout=60, - retries=3, + retries=10, filter_file_extensions=( [".md", ".ipynb"], GithubRepositoryReader.FilterType.INCLUDE, @@ -347,7 +347,7 @@ def _load_turing_way(self, gh_token: str) -> None: verbose=False, concurrent_requests=1, timeout=60, - retries=3, + retries=10, filter_file_extensions=([".md"], GithubRepositoryReader.FilterType.INCLUDE), ) self.documents.extend(turing_way_loader.load_data(branch="main")) @@ -374,7 +374,7 @@ def _load_hut23(self, gh_token: str) -> None: verbose=False, concurrent_requests=1, timeout=60, - retries=3, + retries=10, filter_file_extensions=( [".md", ".ipynb"], GithubRepositoryReader.FilterType.INCLUDE,