Skip to content

Engineering case study · UniAsset

An AI assistant that cannot make up a number

Letting people ask operational questions in plain language, while keeping every figure traceable to the database.

UniAsset · Executive summary
UniAsset executive summary with portfolio value, book value and alerts

Challenge

Asset data is only useful if people can get answers from it, but a language model that generates figures can't be trusted with financial or compliance records. An answer has to be as citable as a report.

Engineering solution

  1. 01

    The model plans, the platform retrieves

    A question is translated into a structured query plan and validated before anything runs. The model chooses what to ask, never what is true.

  2. 02

    Ordinary, scoped queries

    The plan runs as a normal database query, carrying the caller's tenant and role scope. The AI layer gets no privileged path to data.

  3. 03

    Prose alongside the records

    Results are described in prose next to the actual records, metrics and follow-up actions, so a person can check the answer against its source.

Technologies

  • Next.js
  • Prisma
  • PostgreSQL
  • Large language models

Outcome

Every number on screen comes out of the database, with tenant and role scope enforced on each query. The Command Bar is read-only by design.

Have a complex problem to solve?

Let's talk about your next product, platform or engineering challenge.