Natural Language to SQL "Text-to-SQL" API
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;…
Natural Language to SQL "Text-to-SQL" API launched on February 14, 2024 with 62 votes, #895 of 3,962 launches that month and more than 90% of that year's launches.
In plain words
A hosted API that converts natural language questions into SQL queries. Users can provide data schemas, documentation, and business context, which the service uses to fine-tune language models for improved accuracy and reduced latency. The tool returns confidence scores with generated queries, allowing developers to build natural language interfaces into data products. It handles complex SQL generation that generic language models typically struggle with.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
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…
Does a similar job
all alternatives →
Dataherald AI – Natural Language to SQL Engine2023 · github.com · ▲215Hi 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…
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…
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 · 29d ago · world.pixverse.video

Source: Show HN post ↗ · launch text quoted in part
Launched alongside, February 2024
the whole month →


MarketingIdeas.com▲1,230Never run out of marketing ideas ever again
Growth · 2024 · marketingideas.com

