This commit is contained in:
zachary62 2025-04-28 10:57:54 -04:00
commit 28bca8f2f3
1 changed files with 3 additions and 6 deletions

View File

@ -2,6 +2,8 @@
A PocketFlow example demonstrating a text-to-SQL workflow that converts natural language questions into executable SQL queries for an SQLite database, including an LLM-powered debugging loop for failed queries.
- Check out the [Substack Post Tutorial](https://zacharyhuang.substack.com/p/text-to-sql-from-scratch-tutorial) for more!
## Features
- **Schema Awareness**: Automatically retrieves the database schema to provide context to the LLM.
@ -155,11 +157,6 @@ Electronics | 3
Home Goods | 2
Sports | 1
=================================
/home/zh2408/.venv/lib/python3.9/site-packages/pocketflow/__init__.py:43: UserWarning: Flow ends: 'None' not found in ['error_retry']
if not nxt and curr.successors: warnings.warn(f"Flow ends: '{action}' not found in {list(curr.successors)}")
=== Workflow Completed Successfully ===
====================================
```