-
Notifications
You must be signed in to change notification settings - Fork 51
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
Showing
3 changed files
with
90 additions
and
2 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
23 changes: 23 additions & 0 deletions
23
configs/client_configs/cases/example/open_interpreter.yaml
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
server: | ||
port: 7788 | ||
hostname: ioa-server | ||
|
||
tool_agent: | ||
image_name: open-interpreter:latest | ||
container_name: open-interpreter-agent | ||
agent_type: OpenInterpreter | ||
agent_name: Open Interpreter | ||
desc: This is Open Interpreter. It has the ability to execute code, control the terminal, and interact with online tools. | ||
port: 7070 | ||
comm: | ||
name: Open Interpreter | ||
desc: |- | ||
This is Open Interpreter, which is an AI that can execute code, control the terminal, and interact with online tools. Tasks related to code snippet writing and execution can be assigned to this assistant. | ||
type: Thing Assistant | ||
support_nested_teams: false | ||
|
||
llm: | ||
llm_type: openai-chat | ||
model: gpt-4-1106-preview | ||
# model: gpt-4-1106 | ||
temperature: 0.1 |
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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Set the current version of compose yml file | ||
version: "3" | ||
|
||
services: | ||
Server: | ||
image: ioa-server:latest | ||
build: | ||
context: ../../ | ||
dockerfile: dockerfiles/server.Dockerfile | ||
container_name: ioa-server | ||
env_file: | ||
- .env | ||
environment: | ||
- OPENAI_API_KEY | ||
#- OPENAI_BASE_URL | ||
volumes: | ||
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/sqlite:/app/database | ||
- ../../configs/server_configs:/app/configs | ||
ports: | ||
- 7788:7788 | ||
stdin_open: true | ||
tty: true | ||
|
||
OpenInterpreter: | ||
image: ioa-client:latest | ||
build: | ||
context: ../../ | ||
dockerfile: dockerfiles/client.Dockerfile | ||
container_name: open-interpreter-client | ||
volumes: | ||
- /var/run/docker.sock:/var/run/docker.sock | ||
- ./volumes/openInterpreter/log:/app/tool_agent_log | ||
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/sqlite:/app/database | ||
- ./volumes/openai_response_log:${OPENAI_RESPONSE_LOG_PATH} | ||
- ../../configs/client_configs:/app/configs | ||
env_file: | ||
- .env | ||
environment: | ||
- CUSTOM_CONFIG=configs/cases/open_instruction/open_interpreter.yaml | ||
ports: | ||
- 5051:5050 | ||
depends_on: | ||
- Server | ||
stdin_open: true | ||
tty: true | ||
|
||
ServerFrontend: | ||
image: ioa-server-frontend:latest | ||
build: | ||
context: ../../ | ||
dockerfile: dockerfiles/server_frontend.Dockerfile | ||
container_name: server_frontend | ||
ports: | ||
- 80:80 | ||
depends_on: | ||
- Server | ||
stdin_open: true | ||
tty: true | ||
|
||
networks: | ||
default: | ||
name: agent_network | ||
external: true | ||
# driver: bridge |