Skip to content

Commit 7f1bc0f

Browse files
committed
Clear cell outputs, and always return some output
1 parent 66cf891 commit 7f1bc0f

File tree

2 files changed

+24
-652
lines changed

2 files changed

+24
-652
lines changed

topic/chatbot/table-augmented-generation/aws/cratedb_tag_inline_agent.ipynb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,9 @@
512512
" if match:\n",
513513
" return match.group(1).strip()\n",
514514
"\n",
515-
" raise ValueError(\"Failed to extract SQL from LLM reply\", response)"
515+
" raise ValueError(\"Failed to extract SQL from LLM reply\", response)\n",
516+
"\n",
517+
"print(\"✅ Functions `prompt_llm` and `get_sql_from_llm` defined successfully\")"
516518
]
517519
},
518520
{
@@ -793,7 +795,9 @@
793795
" \"\"\",\n",
794796
" agent_name=\"cratedb_query_agent\",\n",
795797
" action_groups=[action_group],\n",
796-
" ).invoke(input_text=question)"
798+
" ).invoke(input_text=question)\n",
799+
"\n",
800+
"print(\"✅ Function `query_agent` defined successfully\")"
797801
]
798802
},
799803
{

0 commit comments

Comments
 (0)