Skip to content

Commit 0050d4d

Browse files
Support devcontainer
1 parent 107a9e5 commit 0050d4d

File tree

4 files changed

+17
-0
lines changed

4 files changed

+17
-0
lines changed

.devcontainer/DockerFile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FROM python:3.11

.devcontainer/devcontainer.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "Open Interpreter",
3+
"dockerFile": "DockerFile",
4+
// Features to add to the dev container. More info: https://containers.dev/features.
5+
// "features": {},
6+
"onCreateCommand": "pip install .",
7+
"postAttachCommand": "interpreter -y"
8+
// Configure tool-specific properties.
9+
// "customizations": {},
10+
}

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ interpreter.chat("Plot AAPL and META's normalized stock prices") # Executes a si
8383
interpreter.chat() # Starts an interactive chat
8484
```
8585

86+
### GitHub Codespaces
87+
Press the `.` key on this repository's GitHub page to create a codespace. After a moment, you'll receive a cloud virtual machine environment pre-installed with open-interpreter. You can then start interacting with it directly and freely confirm its execution of system commands without worrying about damaging the system.
88+
8689
## Comparison to ChatGPT's Code Interpreter
8790

8891
OpenAI's release of [Code Interpreter](https://openai.com/blog/chatgpt-plugins#code-interpreter) with GPT-4 presents a fantastic opportunity to accomplish real-world tasks with ChatGPT.

docs/getting-started/setup.mdx

+3
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,6 @@ interpreter.chat("Get the last 5 BBC news headlines.")
5959
```
6060

6161
[Click here](/usage/python/streaming-response) to learn how to stream its response into your application.
62+
63+
## No Installation
64+
If configuring your computer environment is challenging, you can press the `.` key on this repository's GitHub page to create a codespace. After a moment, you'll receive a cloud virtual machine environment pre-installed with open-interpreter. You can then start interacting with it directly and freely confirm its execution of system commands without worrying about damaging the system.

0 commit comments

Comments
 (0)