Back to directory

Document Copilot

An example internal AI chatbot, built for a fictional investment research firm, that lets analysts query a corpus of financial filings in plain English and get sourced answers.

Document Copilot

Document Copilot is a demonstration project for an internal AI chatbot that lets analysts query a corpus of documents in plain English and receive sourced, citable answers, built around a fictional client, a fictional independent investment research firm whose analysts spend much of their week reading regulatory filings before producing original analysis.

Its stack combines a Python and FastAPI backend, a Vite, React, and TypeScript frontend, a Supabase Postgres database for users, chats, documents, and text chunks with SQLAlchemy and Alembic migrations, retrieval through Supabase's pgvector extension plus Postgres full-text search, Supabase email authentication, and OpenAI for both the language model and embeddings, hosted on Railway.

It includes a standalone downloader that fetches a small sample of real SEC EDGAR 10-K filings for a handful of large public companies to use as sample data, and ships with a written client brief describing the fictional scenario the project is built around.

More in RAG

See all 540
  • ai·rete·rag

    ai-rete-rag.com

    A platform that pairs a Rete rule engine with retrieval-augmented generation, so deterministic rules decide an outcome and grounded retrieval explains the decision in plain language.

  • Xtriever

    github.com

    A hybrid retrieval engine for retrieval-augmented generation, written in Rust to run on-device on a phone or a laptop, combining lexical BM25 search, dense embedding search, reciprocal-rank fusion and cross-encoder re-ranking with no server.

  • FileFlux

    github.com

    A .NET library that turns PDF, DOCX, HWP and other documents into optimized chunks for RAG systems, through a five-stage pipeline built on high-performance Rust FFI readers.