avinash.
Home Home About About Projects Projects 

AuditItIn

Role:

Duration:

Location:

Project Type:

AI Full Stack Developer

1 month

Noida, India

Individual

Annual reports run to hundreds of pages. The numbers live in tables, the explanations hide in footnotes, and generic AI chat gives confident answers with no source you can check.

To turn financial filings into a causal knowledge graph that can be explored, inspected, and questioned — with every answer cited back to the page it came from.

audititin.avinashankur.in/filings/northwind-fy2024/graph

From the bundled Northwind Cloud FY2024 demo filing

0
Metrics extracted
0
Causal edges
0
Tables parsed
0
API keys required

Product Tour

(a walk through the app)

audititin.avinashankur.in/filings/northwind-fy2024
01

Every ingested filing gets a ledger-style overview — metrics extracted, footnotes linked, causal edges, and tables found — with one-click entry into the graph, Q&A, and tables.

How it Works

(from a raw PDF to a cited answer)

  1. 1

    Upload a filing

    Drop in a PDF annual report or 10-K, or load the bundled demo. Ingestion runs as a background job with live progress.

  2. 2

    Parse and chunk

    Text is extracted with page numbers and split into chunks that feed an in-memory BM25 index.

  3. 3

    Extract tables and metrics

    Balance sheets, income statements, cash flows, and footnote disclosures become structured records.

  4. 4

    Build the causal graph

    Metrics and disclosures become nodes; verified relationships become directed cause → effect edges in NetworkX or Neo4j.

  5. 5

    Retrieve with keywords and graph

    A question triggers BM25 retrieval plus multi-hop graph traversal to assemble grounded context and causal paths.

  6. 6

    Answer with citations

    The offline engine or your chosen LLM streams an answer over SSE, alongside the causal chain and page-level sources.

Under the Hood

(decisions worth calling out)

  • 01

    Offline first, LLM optional

    A deterministic engine answers from retrieved excerpts and graph paths, so the app is fully usable with zero API keys. LLM providers only ever summarize that same grounded context, so they never answer from memory.

  • 02

    One graph interface, two backends

    Ingestion and retrieval talk to a single graph-store interface. NetworkX keeps local runs and CI dependency-free; Neo4j adds persistence and falls back to memory with a warning if it is unreachable.

  • 03

    Hybrid retrieval over pure vectors

    Financial questions hinge on exact line items. BM25 nails the lexical match; graph traversal then pulls in the upstream drivers and footnotes that keywords alone would miss.

  • 04

    Isolated sessions, bounded ingestion

    Filings are scoped per browser session, and the background ingestion queue is bounded so a burst of large PDFs cannot starve the API.

  • 05

    Streaming that survives fast jobs

    Answers and citations stream over Server-Sent Events. The client handles jobs that finish before it subscribes, so short answers never get stuck on a spinner.

Built With

(the stack behind it)

Frontend
React 19TypeScriptViteTailwind CSSshadcn/uiReact FlowDagre
Backend
Python 3.13FastAPIPydanticUvicornSSEpytest
Graph & retrieval
NetworkXNeo4jBM25pypdfLangChain text splitters
Reasoning
Offline Grounded engineGeminiOpenAIAnthropic

Explore the Project

Try it live with the bundled sample filing, with no API key needed. Or run it locally with npm run dev.