One more cookbook:
Agent for self-correcting Text-to-SQL What if the query generated by your Text-to-SQL pipeline is correct SQL but returns wrong results? We need to add a critique step That's very simple with an agent!
Check out the notebook!
AI Agent for Self-Correcting Text-to-SQL Queries
By
–