You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: text_2_sql/autogen/agents/llm_agents/sql_query_generation_agent.yaml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,9 @@ system_message:
34
34
35
35
- Use the complete entity relationship graph shows you all the entities and their relationships. You can use this information to get a better understanding of the schema and the relationships between the entities and request more schema information if needed.
36
36
37
-
- Always run any SQL query you generate to return the results."
37
+
- Always run any SQL query you generate to return the results.
38
+
39
+
- Always apply a limit to the end of the SQL query to prevent returning too many rows. The limit should be set to 25."
0 commit comments