Mustehson commited on
Commit
031d4e1
·
verified ·
1 Parent(s): 7c535ae

Updated Prompt

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -78,7 +78,8 @@ def get_visualization(question, tool):
78
  8. When plotting categorical data, arrange categories in a meaningful order (e.g., by size, time, or frequency) rather than randomly.
79
  9. Ensure that the categorical data are plotted on the x-axis, and the frequencies (numerical data) are plotted on the y-axis.
80
  10. Do not write functions.
81
- 11. In the end you have to return a dict which contain final fig as fig key, Generated SQL as sql key, Data as a dataframe with data key using the `final_answer` tool.
 
82
  DO NOT PRINT THE FINAL ANSWER OR FINAL OUTPUT
83
  Here is the task:
84
  task: {question}
 
78
  8. When plotting categorical data, arrange categories in a meaningful order (e.g., by size, time, or frequency) rather than randomly.
79
  9. Ensure that the categorical data are plotted on the x-axis, and the frequencies (numerical data) are plotted on the y-axis.
80
  10. Do not write functions.
81
+ 11. Use seaborn.
82
+ 12. In the end you have to return a dict which contain final fig as fig key, Generated SQL as sql key, Data as a dataframe with data key using the `final_answer` tool.
83
  DO NOT PRINT THE FINAL ANSWER OR FINAL OUTPUT
84
  Here is the task:
85
  task: {question}