Your semantic layer

Keep your definitions where they live. Vuon imports the metrics, joins, and column meanings your team maintains in LookML, dbt and MetricFlow, Cube, or Snowflake semantic views, checks every agent query against them, and sends fixes back to the same place.


Overview

Data agents get numbers wrong when they guess at definitions your team has already written down. Vuon reads those definitions so the checker can hold agents to them, and so the Vuon server can hand them to agents as context.

Your semantic layer stays the source of truth. Vuon doesn't ask you to rebuild it in a new format, and it doesn't change it without a pull request your team approves.

SourceWhat Vuon importsFixes go back as
LookMLViews, explores, joins, dimensions, and measuresPull requests to your LookML repository
dbt and MetricFlowSemantic models, metrics, entities, and model and column descriptionsPull requests to your dbt project
CubeCubes, joins, dimensions, and measuresPull requests to your Cube schema files
Snowflake semantic viewsTables, relationships, dimensions, facts, and metricsChanges to the semantic view definition

Teams without a semantic layer can document tables, joins, and metrics directly in Vuon, and agents can propose new metrics through the Vuon server.


Connect your semantic layer

  1. Connect your warehouse under Settings → Databases. See Data warehouses.
  2. Connect the repository that holds your definitions through GitHub, or, for Snowflake semantic views, let Vuon read them from the connection.
  3. Vuon imports the definitions and maps them to the tables in your warehouse catalog. Definitions that don't match a table are reported instead of guessed at.
  4. Imports stay in sync as your repository changes.

LookML can also be checked and imported from the command line with the Vuon CLI: vuon lookml check compares a LookML repository with Vuon's documentation of a connection, and vuon lookml import-missing imports what Vuon doesn't have yet.


How agents use it

  • Context. explore_context and the metric tools on the Vuon server return your definitions, so the agent starts from the right metric instead of reinventing it.
  • Checks. The checker compares the agent's SQL with your declared joins, metrics, and column meanings, and blocks or warns when they disagree. See What the checker looks for.
  • Fixes. When the agent fails because a definition is missing or out of date, Autofix proposes the change in your semantic layer.

Was this page helpful?