Skip to content

Commit a23994c

Browse files
Clarify environment usage and file handling
The changes add a clarification that the environment is not a Python notebook but a Python environment where users must utilize print() and .save() to output results. It emphasizes the need to list files before requesting uploads, enhancing user guidance.
1 parent 42960f3 commit a23994c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

functions/smart_with_tools.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@
244244
Installed Libraries: numpy, scipy, pypdf2, pandas, pyarrow, matplotlib, pillow, opencv-python-headless, requests, bs4, geopandas, geopy, yfinance, seaborn, openpyxl, litellm, replicate, openai, ipython.
245245
Installed System libraries: wget git curl ffmpeg.
246246
247+
This is not a python notebook! It is a python enviorment in which you can execute code. You will need to use print() and .save() etc. to output to STDOUT or Files!
248+
247249
You can link to files within the python intrpreter by using !(file_name)[https://api.rennersh.de/api/v1/interpreter/file/download/[uuid]/[filename]]. If the file is an image you should always use the !()[] syntax instead of ()[].
248250
ALWAYS list the files before saying "can you upload that" or something similar, if the user is asking you to do something to a file they probably already uploaded it!
249251

0 commit comments

Comments
 (0)