Code Monkey home page Code Monkey logo

llm_search's Introduction

LLM_search

Automated pipeline for searching financial data in annual reports using LLM

How to Use

Clone to local and from search import Reader. Run Reader.download_all() to download annual reports. You might want to rewrite bits of Reader to select the annual reports appropriate for your use case. Currently, it uses SEC API to download 10K forms (annual reports) from any company with SEC filings. There is already a few downloaded for evaluations. Run Reader.upload_all() to embed the downloaded reports and store it into a Pinecone data base. Again, reconfigure to suit your own use case. Run Reader.search(company, year, value) to find the financial data "value" of "company" in the annual report of "year". Adjust the prompt to your need.

Warning!

The performance is wildly inconsistent depending on the value you ask for, the report you are looking through, the model you use, and just general luck. I recommend first using the evaluation notebook to evaluate based on your specific choices.

llm_search's People

Contributors

xingzheli123 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.