run-llama / llama-hub

A library of data loaders for LLMs made by the community -- to be used with LlamaIndex and/or LangChain
https://llamahub.ai/
MIT License
3.44k stars 732 forks source link

SEC Filings loader bug fixes #909

Closed Athe-kunal closed 7 months ago

Athe-kunal commented 8 months ago

Description

The previous SEC Filings loader that was developed by me had some major bugs as the SEC website changed last year. In this modification, I have fixed the bugs, returned the text data in document format compatible with llama index, and added extra metadata to the texts like the filling and reporting date

Fixes # (issue)

Type of Change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Athe-kunal commented 8 months ago

@jerryjliu Can you merge it?