From 62b53b3effec04331c311d91a4501f3d0b601e97 Mon Sep 17 00:00:00 2001 From: Logan <logan.markewich@live.com> Date: Mon, 20 May 2024 10:45:56 -0600 Subject: [PATCH] add reqs to sec fillings (#13602) --- .../llama_index/readers/sec_filings/sec_filings.py | 2 +- .../readers/llama-index-readers-sec-filings/pyproject.toml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/llama-index-integrations/readers/llama-index-readers-sec-filings/llama_index/readers/sec_filings/sec_filings.py b/llama-index-integrations/readers/llama-index-readers-sec-filings/llama_index/readers/sec_filings/sec_filings.py index 00c1a49f8e..cb8f2b4326 100644 --- a/llama-index-integrations/readers/llama-index-readers-sec-filings/llama_index/readers/sec_filings/sec_filings.py +++ b/llama-index-integrations/readers/llama-index-readers-sec-filings/llama_index/readers/sec_filings/sec_filings.py @@ -241,7 +241,7 @@ class SECExtractor: _type_: all texts of sections and filing type of the document """ text = self.get_filing( - url, company="Unstructured Technologies", email="support@unstructured.io" + url, "Unstructured Technologies", "support@unstructured.io" ) all_narratives, filing_type = self.pipeline_api(text, m_section=self.sections) all_narrative_dict = dict.fromkeys(all_narratives.keys()) diff --git a/llama-index-integrations/readers/llama-index-readers-sec-filings/pyproject.toml b/llama-index-integrations/readers/llama-index-readers-sec-filings/pyproject.toml index 64dec3bd5f..45169e16be 100644 --- a/llama-index-integrations/readers/llama-index-readers-sec-filings/pyproject.toml +++ b/llama-index-integrations/readers/llama-index-readers-sec-filings/pyproject.toml @@ -29,11 +29,13 @@ license = "MIT" maintainers = ["Athe-kunal"] name = "llama-index-readers-sec-filings" readme = "README.md" -version = "0.1.4" +version = "0.1.5" [tool.poetry.dependencies] python = ">=3.8.1,<4.0" llama-index-core = "^0.10.1" +faker = "*" +ratelimit = "*" [tool.poetry.group.dev.dependencies] ipython = "8.10.0" -- GitLab