dativra
Data & AI engineering · Semantic layer for LLMs

One definition of every number, readable by people and models

A semantic layer holds what your metrics mean, how your entities relate and who may see what. Put it between your data and your language models, and answers stop depending on which prompt someone typed.

Why chat-with-your-data goes wrong

Language models are fluent. Without a shared definition of the business, they are fluently inconsistent.

Confidently wrong answers

A text-to-SQL agent returns a plausible number built on the wrong join, and nobody can tell until finance does.

One word, four meanings

Revenue, active customer, on-time delivery: each team means something slightly different, and the model picks one at random.

Logic copied everywhere

The same metric is rebuilt in every BI tool and notebook, so fixing it once changes nothing.

How we work

From agreed metrics to a governed interface

The hard part is agreement, not software. We get that agreement first, then encode it once.

  1. Agree the metrics

    The twenty numbers the business runs on, defined with the people who own them and signed off.

  2. Model the entities

    Customers, products, sites, orders and how they relate, including the awkward exceptions.

  3. Encode the layer

    Metrics and relationships written once in a semantic layer, versioned in your repository.

  4. Expose it safely

    Governed tools and APIs for LLMs and agents, with row-level access rules carried through.

  5. Test the answers

    An evaluation set of real business questions, run on every change, so accuracy is measured rather than assumed.

What goes into the layer

Six things a model needs to answer correctly

Most of them are knowledge your business already has, written down for the first time.

What do we count?

Metrics

Each measure defined once, with its grain, filters and owner.

What are the things?

Entities

The business objects and their keys, reconciled across systems.

How do they connect?

Relationships

The joins that are allowed, and the ones that silently double-count.

What do people call it?

Business glossary

Synonyms and team vocabulary mapped to the right definition.

Who may see it?

Access rules

Row and column permissions enforced for the model exactly as for a person.

Is the answer right?

Evaluation set

Real questions with known answers, run on every change to the layer or the model.

What you get

Deliverables, and the shape of the work

  • Metric catalogue — definitions, owners and grain for each measure
  • Semantic layer — versioned in your repository, on your platform
  • Business glossary — team vocabulary mapped to definitions
  • Governed interface — tools and APIs for LLMs and agents
  • Access model — row and column rules carried through to the model
  • Evaluation harness — real questions, measured accuracy, run on every change

How it is run

Scope
Up to twenty core metrics
Stack
dbt semantic layer or your platform’s equivalent
Access
Inside your cloud tenant
Price
Fixed, quoted after a first call
Questions

Asked before we start

Do we need this if we already have a BI tool?
Your BI tool probably holds a version of these definitions. The point of a semantic layer is to hold them once, outside any single tool, so every dashboard, notebook and model reads the same thing.
Which models does it work with?
Any model that can call a tool or an API. The layer is deliberately model-agnostic, so changing model vendor does not mean redefining your business.
How do you stop the model inventing answers?
By not letting it write free-form queries against raw tables. It asks the semantic layer for governed metrics, and the evaluation set catches regressions before users do.
Start here

Which question gets two different answers?

Pick the one your teams argue about. We will show you what it takes to define it once.

Pick one

We will show you where we would start.

Book a working sessionYou leave with a clear starting point