From 21c265179e19c6c695d10e5b9b60ef5be8f5b6f0 Mon Sep 17 00:00:00 2001 From: Kye Date: Fri, 22 Sep 2023 18:41:26 -0400 Subject: [PATCH] doctsrings Former-commit-id: 329e287211ee6c49724791e0232bf233cbb41f06 --- swarms/tools/autogpt.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/swarms/tools/autogpt.py b/swarms/tools/autogpt.py index b61e09b5..b0f1e5a6 100644 --- a/swarms/tools/autogpt.py +++ b/swarms/tools/autogpt.py @@ -145,6 +145,18 @@ import interpreter @tool def compile(task: str): + """ + Open Interpreter lets LLMs run code (Python, Javascript, Shell, and more) locally. You can chat with Open Interpreter through a ChatGPT-like interface in your terminal by running $ interpreter after installing. + + This provides a natural-language interface to your computer's general-purpose capabilities: + + Create and edit photos, videos, PDFs, etc. + Control a Chrome browser to perform research + Plot, clean, and analyze large datasets + ...etc. + ⚠️ Note: You'll be asked to approve code before it's run. + """ + task = interpreter.chat(task) interpreter.chat()