Comment Comment by bob1029 The most success I had with AI+SQL was when I started feeding errors from the sql provider back to the LLM after each iteration.I also had a formatted error message wrapper that would strongly suggest querying system tables to discover schema information.These little tweaks made it scary good at finding queries, even ones requiring 4+ table joins. Even without any examples or fine tuning data. parent bob1029 2 years ago
I also had a formatted error message wrapper that would strongly suggest querying system tables to discover schema information.
These little tweaks made it scary good at finding queries, even ones requiring 4+ table joins. Even without any examples or fine tuning data.