Skip to content

Commit 656e889

Browse files
DH-5738/format the fewshot samples
1 parent 8f6044e commit 656e889

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dataherald/sql_generator/dataherald_sqlagent.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,12 @@ class QuerySQLDataBaseTool(BaseSQLDatabaseTool, BaseTool):
150150

151151
name = "SqlDbQuery"
152152
description = """
153-
Input: A well-formed multi-line SQL query between ```sql and ``` tags.
153+
Input: A one line SQL query between ```sql and ``` tags.
154154
Output: Result from the database or an error message if the query is incorrect.
155155
If an error occurs, rewrite the query and retry.
156156
Use this tool to execute SQL queries.
157157
Add newline after both ```sql and ``` tags.
158+
SQL query should not have
158159
"""
159160

160161
@catch_exceptions()

0 commit comments

Comments
 (0)