Spaces:
Sleeping
Sleeping
updated prompt
Browse files
app.py
CHANGED
@@ -75,7 +75,9 @@ def assistant(state: AgentState):
|
|
75 |
"""
|
76 |
system_prompt = SystemMessage(
|
77 |
content=f"""
|
78 |
-
You are an expert assistant. Try to answer the question as accurately as possible.
|
|
|
|
|
79 |
If you don't know the answer, you can use the tools available to you.
|
80 |
But try to answer the question first and only use the tools if you are not sure.
|
81 |
If you get a response from a tool, try to come to the final answer.
|
|
|
75 |
"""
|
76 |
system_prompt = SystemMessage(
|
77 |
content=f"""
|
78 |
+
You are an expert assistant. Try to answer the question as accurately as possible. Give only the minimum necessary information to answer the question.
|
79 |
+
E.g. if the question is to only give the first name of a person then only give the fist name. No additional information or context is needed.
|
80 |
+
Or if you are asked to give a number, then only give the number.
|
81 |
If you don't know the answer, you can use the tools available to you.
|
82 |
But try to answer the question first and only use the tools if you are not sure.
|
83 |
If you get a response from a tool, try to come to the final answer.
|