Dataherald AI – Natural Language to SQL Engine
Hi HN community. We are excited to open source Dataherald’s natural-language-to-SQL engine today (https://github.com/Dataherald/dataherald). This engine allows you to set up an API from your structured database that can answer questions in plain English. GPT-4 class LLMs have gotten remarkably good at writing SQL. However, out-of-the-box LLMs and existing frameworks would not work with our own structured data at a necessary quality level. For example, given the question “what was the average rent in Los Angeles in May 2023?” a reasonable human would either assume the…
Dataherald AI – Natural Language to SQL Engine launched on August 23, 2023 with 215 votes, #175 of 4,347 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 3 years on.
In plain words
Dataherald AI is an open-source engine that converts natural language questions into SQL queries for structured databases. It enables users to set up an API that answers plain English questions by querying database tables directly. The engine addresses limitations in standard large language models by improving accuracy when handling ambiguous queries, such as distinguishing between multiple cities with the same name or understanding implicit context in questions.
written from the facts on this page · September 2026
From the sources
Interact with your SQL database, Natural Language to SQL using LLMs - Dataherald/dataherald
In the maker’s words, at launch
Hi HN community. We are excited to open source Dataherald’s natural-language-to-SQL engine today (https://github.com/Dataherald/dataherald). This engine allows you to set up an API from your structured database that can answer questions in plain English. GPT-4 class LLMs have gotten remarkably…
Does a similar job
all alternatives →
We open sourced our entire text-to-SQL product2024 · github.com · ▲464Long story short: We (Dataherald) just open-sourced our entire codebase, including the core engine, the clients that interact with it and the backend application layer for authentication and RBAC. You can now use the full solution to build text-to-SQL into your product. The Problem: modern LLMs write syntactically correct SQL, but they struggle with real-world relational data. This is because real world data and schema is messy, natural language can often be ambiguous and LLMs are not trained on your specific dataset. Solution: The core NL-to-SQL engine in Dataherald is an LLM based agent…

- NLNatural Language to SQL "Text-to-SQL" API2024 · dataherald.com · ▲62
Hi HN- Today, we are releasing the hosted API for our natural language to SQL engine, which allows you to: (1) Explain Your Data: Feed in dictionaries, dbt, schemas, Confluence docs - we'll understand the business context to your data. (2) Train Your AI: Fine-tune an LLM (including GPT-4) specifically for your data, increasing accuracy and lowering latency (3) Trust the Answer: See confidence scores with each AI-generated query, stay in control. (4) Conduct complex SQL queries Problem background - Developers struggle to build NL-to-SQL into products because LLMs do not work out-of-the-box;…
- ANA Natural Language Query Engine Without Machine Learning2016 · blog.ayoungprogrammer.com · ▲115
Natural-SQL-7B, a strong text-to-SQL model2024 · github.com · ▲362Would love thoughts! Here is the HF page: https://huggingface.co/chatdb/natural-sql-7b

More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 20d ago · stillwet.art

PixVerse R2▲381A real-time world model you can explore and change
AI · 28d ago · world.pixverse.video
Source: Show HN post ↗ · launch text quoted in part
Launched alongside, August 2023
the whole month →
Resend▲1,325An entire collection of pre-built components with a much faster development experience.
Dev tools · 2023 · resend.com



Lottielab▲869Create and ship lottie animations to sites and apps faster
Dev tools · 2023 · lottielab.com

Outlines is a Python library that focuses on text generation with large language models. Brandon and I are not LLM experts and started the project a few months ago because we wanted to understand better how the generation process works. Our original background is probabilistic, relational and symbolic programming. Recently we came up with a fast way to generate text that matches a regex (https://blog.normalcomputing.ai/posts/2023-07-27-regex-guide...). The basic idea is simple: regular expressions have an equivalent Deterministic-Finite Automaton (DFA) representation. We…
AI · 2023 · github.com