News for hackers. Stuff that matters.
Re:Show HN: Natural-SQL-7B, a strong text-to-SQL model by lofties on Monday February 05, 2024 @11:29AM (#39262992)
Usually what you do with these type of LLMs is pass on most if not all of the schema in your query.

And you’re right in that the end user wouldn’t have access to the schema, although perhaps via prompt injection they could.

Re:Show HN: Natural-SQL-7B, a strong text-to-SQL model by croes on Monday February 05, 2024 @08:05PM (#39269458)
The problem is there are programs where the schemes don't show the necessary links between the programs data tables like foreign keys for instance.