-
Notifications
You must be signed in to change notification settings - Fork 235
/
Copy pathdeploy.yaml
97 lines (96 loc) · 3.54 KB
/
deploy.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
---
version: "2.0"
services:
auto-gpt:
image: cryptoandcoffee/akash-auto-gpt:3
expose:
- port: 8080
as: 80
proto: tcp
to:
- global: true
env:
# Full description of these options: https://github.com/Significant-Gravitas/Auto-GPT/blob/master/.env.template
- "EXECUTE_LOCAL_COMMANDS=True"
- "RESTRICT_TO_WORKSPACE=False"
- "USER_AGENT=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"
# - "AI_SETTINGS_FILE=ai_settings.yaml"
# - "PROMPT_SETTINGS_FILE=prompt_settings.yaml"
- "AUTHORISE_COMMAND_KEY=y"
- "EXIT_KEY=n"
- "PLAIN_OUTPUT=True"
# - "DISABLED_COMMAND_CATEGORIES=autogpt.commands.analyze_code,autogpt.commands.execute_code,autogpt.commands.git_operations,autogpt.commands.improve_code,autogpt.commands.write_tests"
# - "DENY_COMMANDS=cd,nano,vim,vi,emacs,rm,sudo,top,ping,ssh,scp"
# - "ALLOW_COMMANDS=ls,git,cat,grep,find,echo,ps,curl,wget"
- "OPENAI_API_KEY=your-openai-api-key"
- "TEMPERATURE=0"
- "USE_AZURE=False"
# - "OPENAI_ORGANIZATION=your-openai-organization-key-if-applicable"
- "SMART_LLM_MODEL=gpt-4"
- "FAST_LLM_MODEL=gpt-3.5-turbo"
- "FAST_TOKEN_LIMIT=4000"
- "SMART_TOKEN_LIMIT=8000"
- "EMBEDDING_MODEL=text-embedding-ada-002"
- "MEMORY_BACKEND=json_file"
- "MEMORY_INDEX=auto-gpt-memory"
- "REDIS_HOST=localhost"
- "REDIS_PORT=6379"
- "REDIS_PASSWORD="
- "WIPE_REDIS_ON_START=True"
- "IMAGE_PROVIDER=dalle"
- "IMAGE_SIZE=256"
- "HUGGINGFACE_IMAGE_MODEL=CompVis/stable-diffusion-v1-4"
- "HUGGINGFACE_API_TOKEN=your-huggingface-api-token"
- "SD_WEBUI_AUTH="
- "SD_WEBUI_URL=http://127.0.0.1:7860"
- "HUGGINGFACE_AUDIO_TO_TEXT_MODEL=facebook/wav2vec2-base-960h"
- "GITHUB_API_KEY=github_pat_123"
- "GITHUB_USERNAME=your-github-username"
- "HEADLESS_BROWSER=True"
- "USE_WEB_BROWSER=chrome"
- "BROWSE_CHUNK_MAX_LENGTH=3000"
- "BROWSE_SPACY_LANGUAGE_MODEL=en_core_web_sm"
- "GOOGLE_API_KEY=your-google-api-key"
- "CUSTOM_SEARCH_ENGINE_ID=your-custom-search-engine-id"
- "USE_MAC_OS_TTS=False"
- "USE_BRIAN_TTS=False"
- "ELEVENLABS_API_KEY=your-elevenlabs-api-key"
- "ELEVENLABS_VOICE_1_ID=your-voice-id-1"
- "ELEVENLABS_VOICE_2_ID=your-voice-id-2"
- "TW_CONSUMER_KEY="
- "TW_CONSUMER_SECRET="
- "TW_ACCESS_TOKEN="
- "TW_ACCESS_TOKEN_SECRET="
- "ALLOWLISTED_PLUGINS="
- "DENYLISTED_PLUGINS="
- "CHAT_MESSAGES_ENABLED=False"
profiles:
compute:
auto-gpt:
resources:
cpu:
units: 4
memory:
size: 4.75Gi #Increase this for larger local memory, can be lower if used external vector for memory.
storage:
size: 16Gi
placement:
akash:
#######################################################
#Keep this section to deploy on trusted providers
signedBy:
anyOf:
- "akash1365yvmc4s7awdyj3n2sav7xfx76adc6dnmlx63"
#######################################################
#Remove this section to deploy on untrusted providers
#Beware* You may have deployment, security, or other issues on untrusted providers
#https://akash.network/docs/providers/audited-attributes
pricing:
auto-gpt:
denom: uakt
amount: 10000 #Keep high to show all bids
deployment:
auto-gpt:
akash:
profile: auto-gpt
count: 1