Skip to content

Auto Ontology 1.3.0

Latest

Choose a tag to compare

@liofnv liofnv released this 24 Nov 14:56
2531876

Auto Ontology 1.3.0 is published to the public NGC Catalog. These notes cover everything since 1.1.0 (October 2026), including the changes that first shipped in 1.2.0.

🚀 ReAct: a new text-to-SQL agent

1.3.0 replaces the LangGraph text-to-SQL implementation with a single ReAct agent. The change brings major improvements in runtime speed, token efficiency and output accuracy (#488).

Benchmark highlights (BEAVER, Claude Opus 5.5):

  • Accuracy: up to 20% higher
  • Token consumption: 4x lower overall
  • Cache hit rate: 82% of tokens served from cache
  • Latency and volume: 2x fewer model calls and much shorter runtimes

When this release was prepared, Auto Ontology ranked first on BEAVER, and first on both BIRD-Interact-A and BIRD-Interact-C (BIRD-Interact) (#521).

How it works

  • One loop. The model calls tools until it submits an answer. It alone decides what to search, what to run and when it is done. The loop only enforces the budget, refuses repeated calls, and turns a submission into an answer once it runs cleanly (#488).
  • One path for every question. The intent classifier, the separate information agent, and the SQL validator and repair loop are gone. A counting question can no longer be sent down the metadata path (#496). When the data doesn't hold the answer, the agent says so in words instead of querying a stand-in table (#462, #497).
  • Budgets you can tune. Up to 24 tool calls and 10 SQL runs per question by default (TEXT_TO_SQL_REACT_MAX_TOOL_CALLS, TEXT_TO_SQL_REACT_MAX_SQL_RUNS). The model sees what each query costs and what budget is left. When the budget runs out, it submits its best query, checked against the schema (#550).
  • Clarifying questions and schema overviews. Clarifications focus on the requested outputs and on missing formulas or thresholds. Schema overviews use column descriptions when available (#550).
  • Reference SQL and value anchors. When a caller supplies them, the agent uses reference SQL examples and value anchors. Value anchors are phrases checked against stored values, kept in their recorded spelling, and marked as exact, partial or absent matches (#549).
  • Cache-friendly prompts. The system prompt no longer includes the time of day (#400), and Claude models get system messages first (#399). Both let providers reuse cached prefixes.
  • Some earlier automatic SQL validation and repair behaviors are no longer available (#488).

Agent tools

The ReAct agent answers through five tools:

  • retrieve: searches the semantic layer by meaning and by name. It covers terms (business concepts such as Customer or Order), attributes (what a column means), definitions (named calculations with their SQL) and analyses. Each hit comes back as the table that stores it, with its columns, stored values and references. The tool also returns how new tables join to ones already found, and tables that are near copies of them. With purpose="information", it answers questions about the catalog itself in words (#488).
  • run_sql: checks a read-only SELECT for unknown tables and columns, then runs it and returns the first rows. It uses a read-only transaction where the database supports one. Rejected queries come back with the reason, so the next attempt can fix it (#488). Results with duplicate column names get distinct labels (#397).
  • submit: ends the question with the final query, a two-to-four sentence plain-English explanation, and any assumptions the question left open (#488).
  • grep: searches a saved run_sql result of up to 100,000 rows by text or regular expression, or reads it page by page. Off by default; set TEXT_TO_SQL_REACT_GREP=true (#488).
  • predict: answers questions about the future with a KumoRFM prediction over the tables retrieve found. Offered when KUMO_RFM_API_URL is set, and it can use organization-specific context (#488). Predictions run on the kumo-relational engine. A question that needs more tables or memory than the budget allows is refused with its cost, instead of being answered from part of the data (#351).

NeMo Gym and reinforcement learning

  • RL-ready episodes. A ReAct episode is plain Python, so the same function serves a request in the product and a rollout in an RL environment. Every message the model sees is built in the loop and recorded in the trajectory, so a trajectory is exactly what was sent, which is what training on it needs. Tools use standard OpenAI function-calling schemas (#488).
  • Installs next to NeMo Gym.
    • openai is pinned to 2.44.0, the version nemo-gym 0.6.0 declares, and langchain-openai is capped at 1.3.4, so Auto Ontology and the NeMo Gym-based evaluation harness share one environment (#366, #368).
    • The KumoRFM engine ships Python 3.13 wheels next to the 3.12 ones, so the kumo extra installs on NeMo Gym's Python (#351).
    • Dropping nemo-retriever removed 106 packages, including Ray, from the install (#376).
  • Benchmarks on NeMo Gym. auto-ontology-eval scores the same model with and without the ontology on NeMo Gym.
    • For BIRD-Interact, SQL generation uses the user's clarification answers as evidence, callers can skip evidence refinement, and a failed non-reasoning call retries once with the reasoning model (#380).
    • BIRD-Interact scoring fixes for numeric types and column order (#385, #389).

Other new features

Semantic layer

  • Term families. Tables that are copies of one schema told apart by a name prefix, such as OLD_ROOMS and NEW_ROOMS, are grouped into families so later stages can tell them apart (#505).
  • Better foreign keys.
    • A column counts as unique when 95% of its sampled values are distinct.
    • Semantic foreign keys are confirmed or discovered by comparing each column's lowest distinct values.
    • Attribute descriptions are written after foreign keys are resolved (#505).
  • Self-references. Semantic foreign keys can link to another column of the same table, but never to themselves (#529).
  • Join paths. When several foreign keys share a target, one is chosen as the default join path (#384). Each column's metadata includes its semantic foreign-key target (#387).
  • Pruning. Inferred foreign keys whose source column is empty or shares no value with its target are removed (#401).

Privacy, users and ownership

  • PII values are withheld. Values of PII-tagged columns are kept out of profiling samples, key probes, semantic foreign-key checks and embeddings. Stored values are cleared and vectors re-embedded as soon as a column gets the tag (#546).
  • Users. Admins add users with invite links (Viewer or Admin role), and the same links reset a password (#355). User actions are grouped in a menu (#373).
  • Local groups. Admins manage group membership without an external identity provider (#362).
  • Owners. Databases, schemas, tables, glossary terms and SQL attributes can be assigned to users or groups. Owner groups can edit what they own, and viewers keep read access and chat (#365).

Apache Ossie

  • The export can include the Apache Ossie ontology and mapping next to the semantic model (include_ontology) (#379).
  • The Ossie converter installs from apache/ossie-converters (#413).

Data sources

  • MySQL dialect rules: no rounding casts, and population statistics (#390).

Chat

  • Query results can be downloaded as CSV. Cells that could run as spreadsheet formulas are neutralized (#575).

Models

  • nvapi- keys default to Nemotron 3.5 models (#405), replacing the retired Nemotron nano model (#402).
  • sk- keys default to Claude Opus 5.5 for reasoning and Claude Sonnet 5.5 for non-reasoning (#397).
  • Embedding requests include the text prefixes the model requires (#397).

Deployment and packaging

  • The backend no longer depends on nemo-retriever, and every package it imports is declared. The backend image shrank from 2.29 GB to 1.31 GB (#374, #376).
  • Helm migrate Jobs are named by a hash of their spec, so ArgoCD replaces them when the image changes (#394).

Docs and skills

  • The README is rewritten around using Auto Ontology, with leaderboard badges (#404, #521), and the pipeline diagrams are now Mermaid (#489).
  • The skills docs cover the ReAct model roles and the SQL attribute contract (#532). They also cover answers without SQL and owner-group permissions, and a check keeps their claims accurate (#572).
  • Agent skills are signed through NVSkills CI (#359, #360, #363).
  • New Code of Conduct (#476). CONTRIBUTING explains copyright headers for external contributions (#568), and every pull request needs a DCO sign-off (#569).
  • DEPLOYMENT.md points at the published NGC artifacts (#370, #371).

Fixes

Issue Description Fixed by
#496 Plain counting questions were misrouted to the information agent and returned no answer #488
#462 The SQL validator could not report that the data does not hold the answer #488
#497 Questions about data the source doesn't hold were answered by querying a stand-in table #488
#510 The information agent returned nothing with a local Llama 3.1 8B NIM, because of a system-only prompt #488
#486 COUNT(*) queries were rejected, because the catalog parser dropped tables without column references #487
#463 The Postgres connector dropped cross-schema foreign keys #479
#453 The SQLite connector dropped foreign keys written without a column list or in a different case #454
#511 The SQLite connector left generated columns out of the catalog, and dropped relationships sourced from them #513
#468 Semantic compilation stored an empty Term name for tables whose names have no ASCII letters #494
#459 The semantic-key overlap check stopped when column types differed #505
#474 Chart CSV exports opened garbled in Excel and dropped non-ASCII titles from the filename #507
#523 describe_table was documented as returning columns and SQL attributes, but returns terms and stored queries #521
#524 The API and its error didn't say that a SQL attribute expression must be a full SELECT #521
#432 Signed skill files no longer matched skill.oms.sig after SPDX headers were added #521
#403 docs/mcp.md still said the repository was NVIDIA-internal #404
— Claude Opus 5.5 refused SQL generation, because the tool description asked for its reasoning #393
— Composite primary keys were stored in alphabetical or table order instead of key order #381
— Snowflake NUMBER columns lost their precision and scale #382
— Columns with nested, comma-separated or empty types were dropped from parsed table text #382, #383
— Selecting catalog items didn't navigate, and missing table or column types displayed inconsistently #372
— A failed Helm migrate Job was retried every ~10 minutes #394

Security

Upgrading from 1.1.0 or 1.2.0

  • Database migrations run automatically. New tables and columns cover users, groups and owners, PII, term families, and per-column distinct ratios and values. The migrate Job applies them, and backend Pods wait until the schema reaches caee572fa81c. No manual step is needed.

  • Migrate Jobs are kept until the next upgrade. They are named by release revision plus a hash of their spec, so ArgoCD replaces them when the image changes. A finished Job stays until the next helm upgrade or ArgoCD prune, and a failed Job is no longer retried every ~10 minutes (#394).

  • Run the PII backfill once if you use PII tags. Tables compiled before a column was tagged still hold its sample values. Run this once in the backend Pod, replacing auto-ontology with your release name:

    kubectl exec deploy/auto-ontology -- python -m auto_ontology.semantic.pii_values
    
  • Default models changed. When a model variable is not set, 1.3.0 uses:

    API key REASONING_MODEL NON_REASONING_MODEL EMBED_MODEL RERANK_MODEL
    sk-, no known prefix, or unset Claude Opus 5.5 Claude Sonnet 5.5 Nemotron 3.5 Embed 1B (NVFP4) Nemotron 3.5 Rerank 8B
    nvapi- Nemotron 3.5 Lightning 30B-A3B Nemotron 3.5 Lightning 30B-A3B Nemotron 3.5 Embed 1B Nemotron 3.5 Rerank 8B
    • From 1.2.0, only the sk- non-reasoning default changed, from Claude Opus 5.5 to Claude Sonnet 5.5.
    • From 1.1.0, every default changed, including the embedding and rerank models.
    • To keep your current models, set these variables explicitly.
  • New optional setting: PREVENT_SEMANTIC_FK_DB_QUERIES=true. It skips the warehouse queries that semantic compilation runs to find and verify inferred foreign keys; those keys are then accepted on name and description alone (#505). The chart's bundled Secret has no field for it, so under Helm, set it in your own Secret (bundledSecret.enabled=false).

Known issues

  • The backend image ships thrift 0.24.0, which has six denial-of-service advisories in its Python bindings (CVE-2026-66055, CVE-2026-66858, CVE-2026-85494, CVE-2026-94634, CVE-2026-94636, CVE-2026-94654).
    • Here thrift runs only as a client inside the warehouse connectors. Only the configured warehouse server, or someone tampering with that connection, can send it malformed messages.
    • The fix, thrift 0.25.0, needs databricks-sql-connector 4.7 or later and is planned for the next release.
  • The backend image ships certifi 2026.7.22, which trusts the emSign root CA covered by GHSA-6q48 (Critical). The fix, certifi 2026.10.18, is planned for the next release.
  • During semantic compilation, a table is skipped when its key column has no non-null values, because the key-value probe raises an IndexError on the empty result. The table is then missing from the semantic layer. The fix, #599, is on main and ships in the next release.

Install

Artifact Location
Backend + ingestion image nvcr.io/nvidia/auto-ontology:1.3.0
Frontend image nvcr.io/nvidia/auto-ontology-frontend:1.3.0
MCP server image nvcr.io/nvidia/auto-ontology-mcp:1.3.0
Helm chart auto-ontology 1.3.0 in https://helm.ngc.nvidia.com/nvidia
helm repo add nvidia https://helm.ngc.nvidia.com/nvidia
helm repo update
helm install auto-ontology nvidia/auto-ontology --version 1.3.0 -f auto-ontology-secrets.yaml

See DEPLOYMENT.md for the values file.

Contributors

Thank you to our external contributors: @pbexe (#402), @CactusQuill (#454), @sharonadhitya (#487), @iruzen-dono (#507) and @ujwalmithra-1 (#513). Thanks also to everyone who reported issues.

Full changelog: 0dce505...v1.3.0