Skip to content

Commit 5e49d3f

Browse files
author
Dylan Huang
committed
improve system prompt
1 parent 2bf6c41 commit 5e49d3f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/chinook/agent.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ def setup_agent(orchestrator_agent_model: Model):
1212
introspection_result_str = "\n".join([",".join(map(str, item)) for item in introspection_result])
1313

1414
SYSTEM_PROMPT = f"""You are a helpful assistant that has access to the
15-
Chinook database. You have access to a tool to execute SQL queries. Your job
16-
is to answer questions about the database. Here is the schema of the database:
15+
Chinook database stored in a Postgres database. You have access to a tool to
16+
execute SQL queries that you should use to answer questions. Your job is to
17+
answer questions about the database. If you run into an error, you should try to
18+
fix the query and try again. Here is the schema of the database:
1719
1820
Schema:
1921
table_name,column_name,data_type,is_nullable

0 commit comments

Comments
 (0)