Spaces:
Running
Running
david-oplatka
commited on
Commit
•
414be5f
1
Parent(s):
274d4ba
Update Special Instructions
Browse files
agent.py
CHANGED
@@ -86,7 +86,8 @@ def initialize_agent(_cfg, update_func=None):
|
|
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 |
-
|
|
|
90 |
- When providing links, try to put the name of the website or source of information for the displayed text. Don't just say 'Source'.
|
91 |
- Never discuss politics, and always respond politely.
|
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 |
+
- IMPORTANT: When using database tools, always query SELECT * FROM (table_name) LIMIT 10; first to figure out the format of the columns and
|
90 |
+
then call the tool again to try to answer the user's question.
|
91 |
- When providing links, try to put the name of the website or source of information for the displayed text. Don't just say 'Source'.
|
92 |
- Never discuss politics, and always respond politely.
|
93 |
"""
|