Giter VIP home page Giter VIP logo

sec-insights's Introduction

SEC Insights ๐Ÿฆ

SEC Insights uses the Retrieval Augmented Generation (RAG) capabilities of LlamaIndex to answer questions about SEC 10-K & 10-Q documents.

You can start using the application now at secinsights.ai

Why did we make this? ๐Ÿค”

As RAG applications look to move increasingly from prototype to production, we thought our developer community would find value in having a complete example of a working real world RAG application.

SEC Insights works as well locally as it does in the cloud. It also comes with many product features that will be immediately applicable to most RAG applications.

Use this repository as a reference when building out your own RAG application or fork it entirely to start your project off with a solid foundation.

Product Features ๐Ÿ˜Ž

  • Chat-based Document Q&A against a pool of documents
  • Citation of source data that LLM response was based on
  • PDF Viewer with highlighting of citations
  • Use of API-based tools (polygon.io) for answering quantitative questions
  • Token-level streaming of LLM responses via Server-Sent Events
  • Streaming of Reasoning Steps (Sub-Questions) within Chat

Development Features ๐Ÿค“

  • Infrastructure-as-code for deploying directly to Vercel & Render
  • Robust local environment setup making use of LocalStack & Docker compose
  • Monitoring & Profiling provided by Sentry
  • Load Testing provided by Loader.io
  • Variety of python scripts for REPL-based interaction & data management

Tech Stack โš’๏ธ

Usage ๐Ÿ’ป

See README.md files in frontend/ & backend/ folders for individual setup instructions for each.

Caveats ๐Ÿง

  • The frontend currently doesn't support Mobile
  • Our main goal with this project is to provide a solid foundation for full-stack RAG apps. There is still room for improvement in terms of RAG performance!

Contributing ๐Ÿ’ก

We remain very open to contributions! We're looking forward to seeing the ideas and improvements the LlamaIndex community is able to provide.

sec-insights's People

Contributors

sourabhdesai 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.