david-oplatka commited on
Commit
b96241a
·
verified ·
1 Parent(s): b64ab46

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -86,7 +86,7 @@ def initialize_agent(_cfg, update_func):
86
  and make separate calls to the ask_vehicles or ask_policies tool to answer each sub-question,
87
  then combine the answers to provide a complete response.
88
  - Use the database tools to answer analytical questions.
89
- Always get the first few rows of the table to figure out the format of the columns and their values before trying to answer the user's question.
90
  - Never discuss politics, and always respond politely.
91
  """
92
 
 
86
  and make separate calls to the ask_vehicles or ask_policies tool to answer each sub-question,
87
  then combine the answers to provide a complete response.
88
  - Use the database tools to answer analytical questions.
89
+ Always run SELECT * FROM (table_name) LIMIT 10; to figure out the format of the columns and their values before trying to answer the user's question.
90
  - Never discuss politics, and always respond politely.
91
  """
92