-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathinstall.json
137 lines (137 loc) · 5.3 KB
/
install.json
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"run": [
{
"method": "notify",
"params": {
"html": "Please ensure you have insalled docker and it is running on your computer to complete this installation!",
"href": "https://www.docker.com/products/docker-desktop/"
}
},
{
"method": "shell.run",
"params": {
"message": "git clone https://github.com/TransformerOptimus/SuperAGI.git superagi",
"path": "./"
}
},
{
"method": "input",
"params": {
"title": "Settings",
"form": [
{
"title": "OpenAI API KEY",
"key": "OPENAI_API_KEY",
"description": "Find your OpenAI API key <a target='_blank' href= 'https://platform.openai.com/account/api-keys'>here</a>"
},
{
"title": "Google API key",
"key": "GOOGLE_API_KEY",
"description": "Find your goole API key <a target='_blank' href= 'https://console.cloud.google.com'>here</a>"
},
{
"title": "Google Programmable Search Engine",
"key": "SEARCH_ENGINE_ID",
"description": "Find your goole API key <a target='_blank' href= 'https://console.cloud.google.com'>here</a>"
},
{
"title": "Pinecone Environment",
"key": "PINECONE_ENVIRONMENT"
},
{
"title": "Pinecone API KEY",
"key": "PINECONE_API_KEY"
}
]
}
},
{
"method": "fs.write",
"params": {
"path": "./superagi/config.yaml",
"text": [
"PINECONE_API_KEY: {{input.PINECONE_API_KEY}}",
"PINECONE_ENVIRONMENT: {{input.PINECONE_ENVIRONMENT}}",
"",
"OPENAI_API_KEY: {{input.OPENAI_API_KEY}}",
"PALM_API_KEY:",
"",
"OPENAI_API_BASE: \"https://api.openai.com/v1\"",
"",
"MODEL_NAME: \"gpt-3.5-turbo-0301\"",
"RESOURCES_SUMMARY_MODEL_NAME: \"gpt-3.5-turbo\"",
"MAX_TOOL_TOKEN_LIMIT: 800",
"MAX_MODEL_TOKEN_LIMIT: 4032",
"",
"DB_NAME: super_agi_main",
"POSTGRES_URL: super__postgres",
"DB_USERNAME: superagi",
"DB_PASSWORD: password",
"REDIS_URL: \"super__redis:6379\"",
"",
"STORAGE_TYPE: \"FILE\"",
"",
"TOOLS_DIR: \"superagi/tools\"",
"RESOURCES_INPUT_ROOT_DIR: workspace/input/{agent_id}",
"RESOURCES_OUTPUT_ROOT_DIR: workspace/output/{agent_id}/{agent_execution_id}",
"",
"BUCKET_NAME:",
"INSTAGRAM_TOOL_BUCKET_NAME:",
"AWS_ACCESS_KEY_ID:",
"AWS_SECRET_ACCESS_KEY:",
"",
"ENV: 'DEV'",
"JWT_SECRET_KEY: 'secret'",
"expiry_time_hours: 1",
"",
"GITHUB_CLIENT_ID:",
"GITHUB_CLIENT_SECRET:",
"FRONTEND_URL: \"http://localhost:3000\"",
"",
"ENCRYPTION_KEY: secret",
"WEAVIATE_USE_EMBEDDED: true",
"",
"GOOGLE_API_KEY: {{input.GOOGLE_API_KEY}}",
"SEARCH_ENGINE_ID: {{input.SEARCH_ENGINE_ID}}",
"",
"SERP_API_KEY:",
"",
"EMAIL_ADDRESS:",
"EMAIL_PASSWORD:",
"EMAIL_SMTP_HOST: smtp.gmail.com",
"EMAIL_SMTP_PsORT: 587",
"EMAIL_IMAP_SERVER: imap.gmail.com",
"EMAIL_SIGNATURE: 'Email sent by SuperAGI'",
"EMAIL_DRAFT_MODE_WITH_FOLDER:",
"EMAIL_ATTACHMENT_BASE_PATH:",
"",
"GITHUB_USERNAME:",
"GITHUB_ACCESS_TOKEN:",
"",
"JIRA_INSTANCE_URL:",
"JIRA_USERNAME:",
"JIRA_API_TOKEN:",
"",
"SLACK_BOT_TOKEN:",
"",
"STABILITY_API_KEY:",
"ENGINE_ID: \"stable-diffusion-xl-beta-v2-2-2\""
],
"join": "{{os.EOL}}"
}
},
{
"method": "shell.run",
"params": {
"message": "docker-compose build",
"path": "./superagi/"
}
},
{
"method": "notify",
"params": {
"html": "superagi installation complete! Run the start script to get started!"
}
}
]
}