DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to ask business questions of a database and get the SQL behind each answer with Auto Ontology

Run the Docker Compose quickstart against the sample sales database and ask questions in Chat.

Short answer: Run git clone https://github.com/NVIDIA/auto-ontology.git && cd auto-ontology then cp .env.example .env; then set DEFAULT_MODELS_API_KEY and replace each default password in .env; run docker compose up -d --wait postgres and load the Wide World Importers sample with the seed script from auto-ontology-eval. All steps.

Credentials. Compose publishes Postgres, pgAdmin and the web app on the host, so replace every default password before starting it and keep your nvapi key out of shared files.

Who it is forAn analytics engineer who wants a natural-language front end that shows its work.

The problemText-to-SQL answers are hard to trust when you cannot see which terms and joins produced the number.

The outcomeAnswers that come back with their SQL and the steps that produced them, so you can check the result against the source.

What you need first

  • Docker with Compose v2
  • uv
  • An NVIDIA API key (nvapi-...) from build.nvidia.com, or self-hosted NIMs
  • A Postgres or other supported database to connect

Steps

  1. Run git clone https://github.com/NVIDIA/auto-ontology.git && cd auto-ontology then cp .env.example .env
  2. Set DEFAULT_MODELS_API_KEY and replace each default password in .env
  3. Run docker compose up -d --wait postgres and load the Wide World Importers sample with the seed script from auto-ontology-eval
  4. Run docker compose up -d --build, open http://localhost:3000 and turn on Settings, Semantic Compilation
  5. Ask a question in Chat and read the returned SQL and steps

Prompt for your agent

Clone NVIDIA/auto-ontology, copy `.env.example` to `.env`, set DEFAULT_MODELS_API_KEY and new passwords, start Postgres with `docker compose up -d --wait postgres`, load the sample data, then run `docker compose up -d --build`. Turn on Semantic Compilation and ask: <your question>. Show me the SQL it ran.

Caveat. The README notes the project is currently not accepting external contributions.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for NVIDIA/auto-ontology and "Ask business questions of a database and get the SQL behind each answer"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer