From c93e49d2b82b20298507e017ebe4e5c834e2f2f2 Mon Sep 17 00:00:00 2001 From: Deshraj Yadav Date: Wed, 15 Nov 2023 19:35:30 -0800 Subject: [PATCH] [Bug fix] Update sleep time for substack loader and version bump (#958) --- embedchain/loaders/substack.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/embedchain/loaders/substack.py b/embedchain/loaders/substack.py index 92cdb1e8..4dcc609e 100644 --- a/embedchain/loaders/substack.py +++ b/embedchain/loaders/substack.py @@ -81,6 +81,6 @@ class SubstackLoader(BaseLoader): if data: output.append({"content": data, "meta_data": {"url": link}}) # TODO: allow users to configure this - time.sleep(0.4) # added to avoid rate limiting + time.sleep(1.0) # added to avoid rate limiting return {"doc_id": doc_id, "data": output} diff --git a/pyproject.toml b/pyproject.toml index f285ef44..80380a5f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "embedchain" -version = "0.1.14" +version = "0.1.15" description = "Data platform for LLMs - Load, index, retrieve and sync any unstructured data" authors = [ "Taranjeet Singh ",