Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Merge branch 'master' into fix/default-config

Reinier van der Leer2db4a5da5741
diff --cc .env.template
index ac3efacdcd,4fb09cf22a..12db1567ed
--- a/.env.template
+++ b/.env.template
@@@ -1,22 -1,17 +1,21 @@@
################################################################################
### AUTO-GPT - GENERAL SETTINGS
################################################################################
- ## EXECUTE_LOCAL_COMMANDS - Allow local command execution (Example: False)
-# EXECUTE_LOCAL_COMMANDS - Allow local command execution (Example: False)
-EXECUTE_LOCAL_COMMANDS=False
-# RESTRICT_TO_WORKSPACE - Restrict file operations to workspace ./auto_gpt_workspace (Default: True)
-RESTRICT_TO_WORKSPACE=True
-# BROWSE_CHUNK_MAX_LENGTH - When browsing website, define the length of chunk stored in memory
-BROWSE_CHUNK_MAX_LENGTH=8192
-# USER_AGENT - Define the user-agent used by the requests library to browse website (string)
++
++## EXECUTE_LOCAL_COMMANDS - Allow local command execution (Default: False)
++## RESTRICT_TO_WORKSPACE - Restrict file operations to workspace ./auto_gpt_workspace (Default: True)
+# EXECUTE_LOCAL_COMMANDS=False
++# RESTRICT_TO_WORKSPACE=True
+
+## BROWSE_CHUNK_MAX_LENGTH - When browsing website, define the length of chunk stored in memory
+# BROWSE_CHUNK_MAX_LENGTH=8192
+
+## USER_AGENT - Define the user-agent used by the requests library to browse website (string)
# 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 - Specifies which AI Settings file to use (defaults to ai_settings.yaml)
-AI_SETTINGS_FILE=ai_settings.yaml
+
+## AI_SETTINGS_FILE - Specifies which AI Settings file to use (defaults to ai_settings.yaml)
+# AI_SETTINGS_FILE=ai_settings.yaml
- ## USE_WEB_BROWSER - Sets the web-browser drivers to use with selenium (defaults to chrome).
- ## Note: set this to either 'chrome', 'firefox', or 'safari' depending on your current browser
- # USE_WEB_BROWSER=chrome
-
################################################################################
### LLM PROVIDER
################################################################################
@@@ -53,55 -48,57 +52,55 @@@ OPENAI_API_KEY=your-openai-api-ke
################################################################################
### MEMORY_BACKEND - Memory backend type
-# local - Default
-# pinecone - Pinecone (if configured)
-# redis - Redis (if configured)
-# milvus - Milvus (if configured)
-MEMORY_BACKEND=local
+## local - Default
+## pinecone - Pinecone (if configured)
+## redis - Redis (if configured)
+## milvus - Milvus (if configured)
+## MEMORY_INDEX - Name of index created in Memory backend (Default: auto-gpt)
+# MEMORY_BACKEND=local
+# MEMORY_INDEX=auto-gpt
### PINECONE
-# PINECONE_API_KEY - Pinecone API Key (Example: my-pinecone-api-key)
-# PINECONE_ENV - Pinecone environment (region) (Example: us-west-2)
-PINECONE_API_KEY=your-pinecone-api-key
-PINECONE_ENV=your-pinecone-region
+## PINECONE_API_KEY - Pinecone API Key (Example: my-pinecone-api-key)
+## PINECONE_ENV - Pinecone environment (region) (Example: us-west-2)
+# PINECONE_API_KEY=your-pinecone-api-key
+# PINECONE_ENV=your-pinecone-region
### REDIS
-# REDIS_HOST - Redis host (Default: localhost, use "redis" for docker-compose)
-# REDIS_PORT - Redis port (Default: 6379)
-# REDIS_PASSWORD - Redis password (Default: "")
-# WIPE_REDIS_ON_START - Wipes data / index on start (Default: False)
-# MEMORY_INDEX - Name of index created in Redis database (Default: auto-gpt)
-REDIS_HOST=localhost
-REDIS_PORT=6379
-REDIS_PASSWORD=
-WIPE_REDIS_ON_START=False
-MEMORY_INDEX=auto-gpt
+## REDIS_HOST - Redis host (Default: localhost, use "redis" for docker-compose)
+## REDIS_PORT - Redis port (Default: 6379)
+## REDIS_PASSWORD - Redis password (Default: "")
+## WIPE_REDIS_ON_START - Wipes data / index on start (Default: False)
+# REDIS_HOST=localhost
+# REDIS_PORT=6379
+# REDIS_PASSWORD=
+# WIPE_REDIS_ON_START=False
### WEAVIATE
-# MEMORY_BACKEND - Use 'weaviate' to use Weaviate vector storage
-# WEAVIATE_HOST - Weaviate host IP
-# WEAVIATE_PORT - Weaviate host port
-# WEAVIATE_PROTOCOL - Weaviate host protocol (e.g. 'http')
-# USE_WEAVIATE_EMBEDDED - Whether to use Embedded Weaviate
-# WEAVIATE_EMBEDDED_PATH - File system path were to persist data when running Embedded Weaviate
-# WEAVIATE_USERNAME - Weaviate username
-# WEAVIATE_PASSWORD - Weaviate password
-# WEAVIATE_API_KEY - Weaviate API key if using API-key-based authentication
-# MEMORY_INDEX - Name of index to create in Weaviate
-WEAVIATE_HOST="127.0.0.1"
-WEAVIATE_PORT=8080
-WEAVIATE_PROTOCOL="http"
-USE_WEAVIATE_EMBEDDED=False
-WEAVIATE_EMBEDDED_PATH="/home/me/.local/share/weaviate"
-WEAVIATE_USERNAME=
-WEAVIATE_PASSWORD=
-WEAVIATE_API_KEY=
-MEMORY_INDEX=AutoGpt
+## MEMORY_BACKEND - Use 'weaviate' to use Weaviate vector storage
+## WEAVIATE_HOST - Weaviate host IP
+## WEAVIATE_PORT - Weaviate host port
+## WEAVIATE_PROTOCOL - Weaviate host protocol (e.g. 'http')
+## USE_WEAVIATE_EMBEDDED - Whether to use Embedded Weaviate
+## WEAVIATE_EMBEDDED_PATH - File system path were to persist data when running Embedded Weaviate
+## WEAVIATE_USERNAME - Weaviate username
+## WEAVIATE_PASSWORD - Weaviate password
+## WEAVIATE_API_KEY - Weaviate API key if using API-key-based authentication
+# WEAVIATE_HOST="127.0.0.1"
+# WEAVIATE_PORT=8080
+# WEAVIATE_PROTOCOL="http"
+# USE_WEAVIATE_EMBEDDED=False
+# WEAVIATE_EMBEDDED_PATH="/home/me/.local/share/weaviate"
+# WEAVIATE_USERNAME=
+# WEAVIATE_PASSWORD=
+# WEAVIATE_API_KEY=
### MILVUS
-# MILVUS_ADDR - Milvus remote address (e.g. localhost:19530)
-# MILVUS_COLLECTION - Milvus collection,
-# change it if you want to start a new memory and retain the old memory.
-MILVUS_ADDR=your-milvus-cluster-host-port
-MILVUS_COLLECTION=autogpt
+## MILVUS_ADDR - Milvus remote address (e.g. localhost:19530)
- ## MILVUS_COLLECTION - Milvus collection,
++## MILVUS_COLLECTION - Milvus collection,
+## change it if you want to start a new memory and retain the old memory.
+# MILVUS_ADDR=your-milvus-cluster-host-port
+# MILVUS_COLLECTION=autogpt
################################################################################
### IMAGE GENERATION PROVIDER
@@@ -130,20 -127,27 +129,25 @@@
################################################################################
### GITHUB
-# GITHUB_API_KEY - Github API key / PAT (Example: github_pat_123)
-# GITHUB_USERNAME - Github username
-GITHUB_API_KEY=github_pat_123
-GITHUB_USERNAME=your-github-username
+## GITHUB_API_KEY - Github API key / PAT (Example: github_pat_123)
+## GITHUB_USERNAME - Github username
+# GITHUB_API_KEY=github_pat_123
+# GITHUB_USERNAME=your-github-username
################################################################################
- ### SEARCH PROVIDER
+ ### WEB BROWSING
################################################################################
+ ### BROWSER
-# USE_WEB_BROWSER - Sets the web-browser drivers to use with selenium (defaults to chrome).
-# HEADLESS_BROWSER - Whether to run the browser in headless mode (defaults to True)
-# Note: set this to either 'chrome', 'firefox', or 'safari' depending on your current browser
++## USE_WEB_BROWSER - Sets the web-browser driver to use with selenium (default: chrome).
++## Note: set this to either 'chrome', 'firefox', or 'safari' depending on your current browser
+ # USE_WEB_BROWSER=chrome
-# HEADLESS_BROWSER=True
+
### GOOGLE
-# GOOGLE_API_KEY - Google API key (Example: my-google-api-key)
-# CUSTOM_SEARCH_ENGINE_ID - Custom search engine ID (Example: my-custom-search-engine-id)
-GOOGLE_API_KEY=your-google-api-key
-CUSTOM_SEARCH_ENGINE_ID=your-custom-search-engine-id
+## GOOGLE_API_KEY - Google API key (Example: my-google-api-key)
+## CUSTOM_SEARCH_ENGINE_ID - Custom search engine ID (Example: my-custom-search-engine-id)
+# GOOGLE_API_KEY=your-google-api-key
+# CUSTOM_SEARCH_ENGINE_ID=your-custom-search-engine-id
################################################################################
### TTS PROVIDER