text
One more cookbook:
One more cookbook:
new_line
text
Agent for self-correcting Text-to-SQL 🧑‍💻
Agent for self-correcting Text-to-SQL 🧑‍💻
new_line
new_line
text
What if the query generated by your Text-to-SQL pipeline is correct SQL but returns wrong results?
What if the query generated by your Text-to-SQL pipeline is correct SQL but returns wrong results?
new_line
text
👉 We need to add a critique step 
👉 We need to add a critique step 
new_line
new_line
text
✅ That's very simple with an agent!
✅ That's very simple with an agent!
new_line
new_line
text
Check out the notebook! 👇
Check out the notebook! 👇
new_line
link
https://huggingface.co/learn/cookbook/agent_text_to_sql
https://huggingface.co/learn/cookbook/agent_text_to_sql
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! 👇
https://huggingface.co/learn/cookbook/agent_text_to_sql