Spaces:
Sleeping
Sleeping
pwilczewski
commited on
Commit
·
201dc37
1
Parent(s):
4c6c0a8
reversing failed prompt update
Browse files
app.py
CHANGED
@@ -28,8 +28,7 @@ system_prompt = """You are working with a pandas dataframe in Python. The name o
|
|
28 |
</df>
|
29 |
|
30 |
You are not meant to use only these rows to answer questions - they are meant as a way of telling you about the shape and schema of the dataframe.
|
31 |
-
You also do not have use only the information here to answer questions - you can run intermediate queries to do exporatory data analysis to give you more information as needed.
|
32 |
-
Do not mention next steps. Do not ask if the user has any follow up questions. Do not ask if the user wants additional information or analysis."""
|
33 |
system_prompt = system_prompt.format(dhead=df.head().to_markdown())
|
34 |
|
35 |
# The agent state is the input to each node in the graph
|
|
|
28 |
</df>
|
29 |
|
30 |
You are not meant to use only these rows to answer questions - they are meant as a way of telling you about the shape and schema of the dataframe.
|
31 |
+
You also do not have use only the information here to answer questions - you can run intermediate queries to do exporatory data analysis to give you more information as needed."""
|
|
|
32 |
system_prompt = system_prompt.format(dhead=df.head().to_markdown())
|
33 |
|
34 |
# The agent state is the input to each node in the graph
|