Anupam Rawat CV
← Work

Data Science Intern · May 2025 – Jan 2026

Wyzr Fintech

Rule-first LLM reconciliation and categorization for a cash-flow tool for small businesses. The payment match rate rose 33%.

Problem

Wyzr is a cash-flow tool for small UK businesses. After every bank sync, each transaction needs a category, and each forecast (a planned bill, invoice or sale) has to be matched to the real payment that settled it.

Reconciliation

  • Rules first: for each forecast, rules shortlist bank payments inside a date window, in the same direction (money in or out) and with the same counterparty.
  • The LLM is told what kind of forecast it is (bank, invoice, sales milestone, entered by the user or detected automatically), because each kind matches differently.
  • One schema-checked LLM call per forecast. A validator rejects any transaction that was not on the shortlist, so the model cannot invent a match.
  • A second pass settles payments that two forecasts both claim.
  • Partial payments: the reconciled share builds up across runs, and failed runs are retried on the next one.

Categorization

  • Internal transfers and recurring series skip the LLM: transfers get a fixed category, and a series reuses its last one.
  • The rest are grouped by merchant, with one LLM call per group. Large groups send only their most recent transactions and apply the majority answer to the rest.
  • Every answer is checked against the categories allowed for that direction of money, and retried if it fails.
  • Groups that still fail get a fallback category and an alert, so one bad merchant never blocks a customer's balances.

Evaluation and tracing

  • Prompts are versioned in git, and each eval run is logged in Langfuse with the prompt it used, so versions can be compared.
  • A 250-example evaluation suite in Langfuse; every prompt change was scored on it before release.
  • Every LLM call is traced with OpenTelemetry under the job it belongs to, with its prompt, token count, cost and latency.

Results

  • 33% higher payment-to-forecast match rate.
  • The evaluation suite caught categorization regressions before each release.