You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/idp_common_pkg/idp_common/agents/analytics/agent.py
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,7 @@ def create_analytics_agent(
83
83
- Only write python code to generate plots or tables. Do not use python for any other purpose.
84
84
- The python code should read the query results from "query_results.csv" file provided, for example with a line like `df = pd.read_csv("query_results.csv")`
85
85
- Make sure the python code will output json representing either "table" or "plotData" responseType as described in the above description of the result format.
86
+
- Any time you generate a plot, make sure to label the x and y axes clearly.
86
87
- Use built in python libraries, optionally with pandas or matplotlib.
87
88
- Always use the execute_python tool to execute your python code, and be sure to include the reset_state=True flag each time you call this tool.
0 commit comments