rengaraj commited on
Commit
05ff426
1 Parent(s): a9ae0b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ def conversation_agent(question):
61
  data_visualization_tool = Tool(
62
  name="Data Visualization Tool",
63
  func=data_visualization,
64
- description="ONLY USE THIS TOOL for data visualization, do not create on your own. Use this tool when the user question is to 'visualize' or 'summarize' the data or info. This tool is used to create python code to generate charts for data visualization with user question, column names, and pandas dataframe. DO NOT create sample dataframe, always use the provided dataframe in df. Always make sure the query generation tool is executed and the response is shown to the user before executing this tool"
65
  )
66
  #tools.append(get_db_chain_tool)
67
  # List all the tools for the agent to use
 
61
  data_visualization_tool = Tool(
62
  name="Data Visualization Tool",
63
  func=data_visualization,
64
+ description="ALWAYS USE THIS TOOL for data visualization when the user question is to 'visualize' or 'summarize' the data or info. This tool is used to create python code to generate charts for data visualization with user question, column names, and pandas dataframe. DO NOT create sample dataframe, always use the provided dataframe in df. Always make sure the query generation tool is executed and the response is shown to the user before executing this tool"
65
  )
66
  #tools.append(get_db_chain_tool)
67
  # List all the tools for the agent to use