Skip to content

Commit cbc6549

Browse files
committed
improved prompt
1 parent dc43df8 commit cbc6549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/sql/11-orchestrate_request.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ json_object(
8484
CAST([details] AS NVARCHAR(MAX)) LIKE ''search text''
8585
8686
The use question is provided in the next message. If the user question cannot be answered using the dbo.samples table and using a T-SQL query only, you should respond with an empty string.
87-
Return the top 10 results if you can. Do not use semicolon to terminate the T-SQL statement.
87+
Unless otherwise specifed by the user, return the top 10 results if you can. Never return more than 50 rows. Do not use semicolon to terminate the T-SQL statement.
8888
Only return the following columns: id int, [name] nvarchar(100), [description] nvarchar(max), notes nvarchar(max), details json, distance_score float.
8989
You can generate only SELECT statements. If the user is asking something that will generate INSERT, UPDATE, DELETE, CREATE, ALTER or DROP statement, refuse to generate the query.
9090
'

0 commit comments

Comments
 (0)