Re:Show HN: Natural-SQL-7B, a strong text-to-SQL model
by l5870uoo9y on Monday February 05, 2024 @05:38PM
(#39268207)
So you don’t use AI to generate SQL to retrieve data? As you say on the web site?
Re:Show HN: Natural-SQL-7B, a strong text-to-SQL model
by mritchie712 on Tuesday February 06, 2024 @11:53AM
(#39276776)
We ultimately generate SQL, but the LLM doesn't write SQL, the semantic layer does.
We (https://www.definite.app/) ended up abandoning text-to-sql in favor of answering questions with a semantic layer (which LLM's are far more effective against).
https://www.loom.com/share/a0d3c0e273004d7982b2aed24628ef40