agentharbor commited on
Commit
3f55db3
·
verified ·
1 Parent(s): a79c682

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -69,7 +69,8 @@ agent = ReactCodeAgent(
69
 
70
  base_prompt = """You are an expert data analyst.
71
  According to the features you have and the data structure given below, determine which feature should be the target.
72
- Then list 5 interesting questions that could be asked on this data, for instance about specific correlations with target variable.
 
73
  Then answer these questions one by one, by finding the relevant numbers.
74
  Meanwhile, plot some figures using matplotlib/seaborn and save them to the (already existing) folder './figures/': take care to clear each figure with plt.clf() before doing another plot.
75
  Generate a summary of each of the plot generated.
 
69
 
70
  base_prompt = """You are an expert data analyst.
71
  According to the features you have and the data structure given below, determine which feature should be the target.
72
+ If a user asks a very specific question, then just answer that question by performing data exploration. If not, then list 5 interesting questions that could be asked on this data by examining the metadata of the columns, for instance about specific correlations with target variable.
73
+ For example, outlier analysis and trend analysis are considered interesting questions.
74
  Then answer these questions one by one, by finding the relevant numbers.
75
  Meanwhile, plot some figures using matplotlib/seaborn and save them to the (already existing) folder './figures/': take care to clear each figure with plt.clf() before doing another plot.
76
  Generate a summary of each of the plot generated.