From 43650180d4378e4b2118b1ed68539ee9a5f935c7 Mon Sep 17 00:00:00 2001 From: Zachary Huang <33015448+zachary62@users.noreply.github.com> Date: Wed, 23 Apr 2025 16:01:54 -0400 Subject: [PATCH 1/2] Update README.md --- cookbook/pocketflow-text2sql/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cookbook/pocketflow-text2sql/README.md b/cookbook/pocketflow-text2sql/README.md index 9224fe5..be2608f 100644 --- a/cookbook/pocketflow-text2sql/README.md +++ b/cookbook/pocketflow-text2sql/README.md @@ -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. @@ -162,4 +164,4 @@ Sports | 1 === Workflow Completed Successfully === ==================================== -``` \ No newline at end of file +``` From daee613b5fc85ce1cf6820454270027dd26c81e2 Mon Sep 17 00:00:00 2001 From: Zachary Huang <33015448+zachary62@users.noreply.github.com> Date: Wed, 23 Apr 2025 23:23:54 -0400 Subject: [PATCH 2/2] Update README.md --- cookbook/pocketflow-text2sql/README.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cookbook/pocketflow-text2sql/README.md b/cookbook/pocketflow-text2sql/README.md index be2608f..74fca48 100644 --- a/cookbook/pocketflow-text2sql/README.md +++ b/cookbook/pocketflow-text2sql/README.md @@ -157,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 === ==================================== ```