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