Featured answer
Give me an overview of auto-ontology
auto-ontology is an open Python library from nvidia/auto-ontology that builds a context layer from enterprise metadata so AI agents know where data lives, what it means and whether to trust it. It generates an ontology of business terms, SQL attributes and table relationships from connected databases, and people certify that ontology before agents rely on it. The ingestion service entry point, auto_ontology/ingestion_service/main.py, extracts schemas, profiles columns and samples values into the catalog. The auto_ontology/catalog module records database structure and SQL as nodes and edges in a graph store, and auto_ontology/dal holds every query behind the catalog, glossary, tags and exploration graph. The generated ontology lives in Postgres with pgvector embeddings for retrieval, alembic manages its migrations, and the frontend directory holds the Next.js web app. To start reading, begin with the ingestion service entry point and the catalog and dal modules, since the 995 files fall mostly into the Application (449), API (131) and Utility (68) layers.
| Layer | Files |
|---|---|
| UI | 43 |
| API | 131 |
| Config | 52 |
| Data | 14 |
| Service | 29 |
| Types | 24 |
| Utility | 68 |
| Application | 449 |
| Docs & Tooling | 9 |
Basis: Inferred · knowledge graph· as of 22e22c8