warhawkmonk commited on
Commit
000a104
·
verified ·
1 Parent(s): 76229fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -165,6 +165,7 @@ def run_agent(prompt,df):
165
  intermediate_steps += "write code using df to manipulate it and give result according to user instruction.\n"
166
  intermediate_steps += "No need to load the data 'df' is the required variable.\n"
167
  intermediate_steps += "Whole team told you that you no need to use pd.read data is already there in df.\n"
 
168
  intermediate_steps += "Since we are showing code output in streamlit not in terminal so code it properly. \n"
169
  intermediate_steps += "This is last warning as a ceo of the company, you have to return only required code as per user request.\n"
170
  intermediate_steps += "Example\n"
 
165
  intermediate_steps += "write code using df to manipulate it and give result according to user instruction.\n"
166
  intermediate_steps += "No need to load the data 'df' is the required variable.\n"
167
  intermediate_steps += "Whole team told you that you no need to use pd.read data is already there in df.\n"
168
+ intermediate_steps += "Since user is going to give generic prompt generally so consider column name related to sample data only no assumption. \n"
169
  intermediate_steps += "Since we are showing code output in streamlit not in terminal so code it properly. \n"
170
  intermediate_steps += "This is last warning as a ceo of the company, you have to return only required code as per user request.\n"
171
  intermediate_steps += "Example\n"