Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

SEC Filing RAG Starter

Build a retrieval-augmented SEC filing workflow with secapi.ai filing search and accession-level source references.

Quick Start

cp .env.example .env
bun install
bun run start -- --ticker AAPL --question "What changed in recent risk factors?"

Required Environment

  • SECAPI_API_KEY: your secapi.ai API key.
  • SECAPI_BASE_URL: defaults to https://api.secapi.ai.

What It Does

  • Searches filings by ticker, form type, and date.
  • Produces filing metadata suitable for a retrieval pipeline.
  • Preserves accession numbers and filing URLs for citation-backed answers.

Links

Caveats

  • This starter retrieves filing metadata; add your own extraction, chunking, and model steps.
  • Validate citations against the underlying filing before relying on an answer.

About

SEC filing RAG example with source-cited answers and bounded retrieval

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages