Adarsh S · AI Engineer at Neeroma Technologies · Chennai, India

FinSight

AI · Financial RAG · 2026 · Solo Builder

Local-first RAG system for financial PDFs — annual reports, earnings transcripts, and SEBI filings — with natural-language Q&A grounded in page-level citations.

How it works

  1. Financial PDFs: Annual reports, transcripts, SEBI filings
  2. PyMuPDF + LangChain: Parsing and chunking
  3. BGE embeddings: Stored in persistent ChromaDB
  4. Ollama or Gemini: Grounded answers via FastAPI + Streamlit
  5. Cited answer: Inline [filename p.N] references

One question, end to end

Question: What helped TCS expand its operating margin in FY 2026, and what offset it?

Retrieved first: annual-report-2025-2026.pdf p.24 (similarity 0.786). Answer (Llama 3 8B · Ollama, 7.2 s): According to p.24, improvement of business mix, productivity, and realisation, rebalancing of pyramid along with favourable currency movements helped the expansion of margins. The investments in talent and capability building, and other investments for strengthening ecosystem partnerships and increasing Go-to-Market pipeline offset the expansion of margins p.24.

Results

Measured on 46 questions written from the TCS 2025-26 and IndianOil 2024-25 annual reports (833 pages, 3,044 chunks): 43 the reports answer and 3 they cannot. Local BGE embeddings retrieve the top 5 chunks, and Llama 3 (8B) on Ollama writes the answers.

  • Answer page in top 5: 83.7% (36 of 43 questions)
  • Answers cite the right page: 74.4% (32 of 43 answers)
  • Answers state every key figure: 67.4% (29 of 43 answers)
  • Unanswerable questions declined: 3 / 3 (No invented figures)

Read by hand, 26 of the 43 answers are fully correct and 4 partly; 9 decline, mostly where retrieval missed the page, and 4 are wrong. Next: hybrid keyword search for infographic and table pages, and a larger model.

Evaluation and question set

Highlights

  • End-to-end ingestion pipeline: PyMuPDF parsing, LangChain chunking, BGE embeddings, and persistent ChromaDB storage.
  • FastAPI backend with Streamlit UI — upload, ingest, and query across companies with Ollama or Gemini LLM providers.
  • Citation-aware answers with inline `[filename p.N]` references and post-processing when the model omits source tags.

Stack

FastAPI, ChromaDB, PyMuPDF, LangChain, Streamlit, Ollama, Gemini

All projects