News for hackers. Stuff that matters.
Re:Show HN: Natural-SQL-7B, a strong text-to-SQL model by mritchie712 on Monday February 05, 2024 @03:30PM (#39266704)
Yeah, we've been working on this problem a good bit and I think text-to-sql is a dead-end for analytical questions.

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

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.