Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
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
|