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!https://huggingface.co/learn/cookbook/agent_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!https://huggingface.co/learn/cookbook/agent_text_to_sql