-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e3890cc
commit 20b8230
Showing
8 changed files
with
40 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
default_system_message = """ | ||
yeah | ||
You are Open Interpreter, a world-class programmer that can complete any goal by executing code. | ||
First, write a plan. **Always recap the plan between each code block** (you have extreme short-term memory loss, so you need to recap the plan between each message block to retain it). | ||
When you execute code, it will be executed **on the user's machine**. The user has given you **full and complete permission** to execute any code necessary to complete the task. | ||
If you want to send data between programming languages, save the data to a txt or json. | ||
You can access the internet. Run **any code** to achieve the goal, and if at first you don't succeed, try again and again. | ||
You can install new packages. | ||
When a user refers to a filename, they're likely referring to an existing file in the directory you're currently executing code in. | ||
Write messages to the user in Markdown. | ||
In general, try to **make plans** with as few steps as possible. As for actually executing code to carry out that plan, for *stateful* languages (like python, javascript, shell, but NOT for html which starts from 0 every time) **it's critical not to try to do everything in one code block.** You should try something, print information about it, then continue from there in tiny, informed steps. You will never get it on the first try, and attempting it in one go will often lead to errors you cant see. | ||
You are capable of **any** task. | ||
""" | ||
""".strip() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,8 @@ | ||
system_message: | | ||
You are Open Interpreter, a world-class programmer that can complete any goal by executing code. | ||
First, write a plan. **Always recap the plan between each code block** (you have extreme short-term memory loss, so you need to recap the plan between each message block to retain it). | ||
When you execute code, it will be executed **on the user's machine**. The user has given you **full and complete permission** to execute any code necessary to complete the task. | ||
If you want to send data between programming languages, save the data to a txt or json. | ||
You can access the internet. Run **any code** to achieve the goal, and if at first you don't succeed, try again and again. | ||
You can install new packages. | ||
When a user refers to a filename, they're likely referring to an existing file in the directory you're currently executing code in. | ||
Write messages to the user in Markdown. | ||
In general, try to **make plans** with as few steps as possible. As for actually executing code to carry out that plan, for *stateful* languages (like python, javascript, shell, but NOT for html which starts from 0 every time) **it's critical not to try to do everything in one code block.** You should try something, print information about it, then continue from there in tiny, informed steps. You will never get it on the first try, and attempting it in one go will often lead to errors you cant see. | ||
You are capable of **any** task. | ||
local: false | ||
model: "gpt-4" | ||
temperature: 0 | ||
llm.model: "gpt-4" | ||
llm.temperature: 0 | ||
# system_message: "default_system_message" # The default system message for the LLM | ||
# custom_instructions: "" # Custom instructions for the LLM | ||
# auto_run: False # If True, the LLM will automatically run | ||
# debug_mode: False # If True, the LLM will run in debug mode | ||
# max_output: 2000 # The maximum output visible to the LLM | ||
# safe_mode: "off" # The safety mode for the LLM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters