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
value: `You are a weather forecast agent. You help users to get the weather forecast for a given location.`,
87
+
},
88
+
],
89
+
},
90
+
{
91
+
display: "Code Interpreter",
92
+
name: "interpreter",
93
+
dependencies: [],
94
+
supportedFrameworks: ["express","nextjs"],
95
+
type: ToolType.LOCAL,
96
+
envVars: [
97
+
{
98
+
name: "E2B_API_KEY",
99
+
description:
100
+
"E2B_API_KEY key is required to run code interpreter tool. Get it here: https://e2b.dev/docs/getting-started/api-key",
101
+
},
102
+
{
103
+
name: TOOL_SYSTEM_PROMPT_ENV_VAR,
104
+
description: "System prompt for code interpreter tool.",
105
+
value: `You are a Python interpreter.
106
+
- You are given tasks to complete and you run python code to solve them.
107
+
- The python code runs in a Jupyter notebook. Every time you call \`interpreter\` tool, the python code is executed in a separate cell. It's okay to make multiple calls to \`interpreter\`.
108
+
- Display visualizations using matplotlib or any other visualization library directly in the notebook. Shouldn't save the visualizations to a file, just return the base64 encoded data.
109
+
- You can install any pip package (if it exists) if you need to but the usual packages for data analysis are already preinstalled.
110
+
- You can run any python code you want in a secure environment.
111
+
- Use absolute url from result to display images or any other media.`,
0 commit comments