Home / Use cases

LLM and RAG over financial data

The problem

Analysts want to ask questions in plain language: about filings, research notes, internal reports or the warehouse. A demo is easy to build. A tool the team can trust is harder. The model answers from an old document. It cites a source that does not support the claim. An agent with database access runs a query nobody approved. Nobody measures if answers got better or worse after a change.

What a good solution looks like

  • A catalog of sources. Each document or table has an owner, a date and a quality check before the model can use it.
  • Answers that show their sources. Each answer links to the passage or the query that produced it.
  • Retrieval tuned on real questions, with the chunking, metadata filters and freshness rules that your data needs.
  • Agents with limited rights. The agent connects as a read-only role, with a time limit and a row limit set in the database itself.
  • Scheduled evaluations. A fixed set of questions with known answers runs on a schedule, so a model or prompt change has a measured effect.
  • No invented facts. Where it matters, a check compares names and figures in a draft against the source and flags anything new.

How DataBlock approaches it

  1. Collect the real questions your team asks, and the sources that answer them.
  2. Build the source catalog and retrieval data, with quality checks and freshness rules.
  3. Set the permissions in the database before the agent gets any access.
  4. Build an evaluation set and run it on a schedule.
  5. Ship the tool with answers that show their sources.
  6. Hand over the evaluation suite with the tool, so your team can change models safely.

Related experience

DataBlock has not built a RAG system over financial data for a client yet. Related work:

  • At Accenture, Edward Plata shipped knowledge search on AWS Kendra with RAG. It cut analyst query-resolution time 67% across the consulting practice.
  • Data-Citizen runs an agent over NYC Open Data. The agent's SQL runs as a read-only role with time and row limits, and an evaluation suite grades it on a schedule.

Service

This use case maps to MLOps and AI data engineering.

Does your team trust the answers from its LLM tools?

Book a 30-minute call

Ask a question