mirror of
https://github.com/Significant-Gravitas/Auto-GPT.git
synced 2025-01-08 11:57:32 +08:00
ef7cfbb860
Restructuring the Repo to make it clear the difference between classic autogpt and the autogpt platform: * Move the "classic" projects `autogpt`, `forge`, `frontend`, and `benchmark` into a `classic` folder * Also rename `autogpt` to `original_autogpt` for absolute clarity * Rename `rnd/` to `autogpt_platform/` * `rnd/autogpt_builder` -> `autogpt_platform/frontend` * `rnd/autogpt_server` -> `autogpt_platform/backend` * Adjust any paths accordingly
180 lines
6.7 KiB
Plaintext
180 lines
6.7 KiB
Plaintext
################################################################################
|
|
### AutoGPT - GENERAL SETTINGS
|
|
################################################################################
|
|
|
|
## OPENAI_API_KEY - OpenAI API Key (Example: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
|
|
# OPENAI_API_KEY=
|
|
|
|
## ANTHROPIC_API_KEY - Anthropic API Key (Example: sk-ant-api03-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
|
|
# ANTHROPIC_API_KEY=
|
|
|
|
## GROQ_API_KEY - Groq API Key (Example: gsk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
|
|
# GROQ_API_KEY=
|
|
|
|
## LLAMAFILE_API_BASE - Llamafile API base URL
|
|
# LLAMAFILE_API_BASE=http://localhost:8080/v1
|
|
|
|
## TELEMETRY_OPT_IN - Share telemetry on errors and other issues with the AutoGPT team, e.g. through Sentry.
|
|
## This helps us to spot and solve problems earlier & faster. (Default: DISABLED)
|
|
# TELEMETRY_OPT_IN=true
|
|
|
|
## COMPONENT_CONFIG_FILE - Path to the json config file (Default: None)
|
|
# COMPONENT_CONFIG_FILE=
|
|
|
|
### Workspace ###
|
|
|
|
## RESTRICT_TO_WORKSPACE - Restrict file operations to workspace ./data/agents/<agent_id>/workspace (Default: True)
|
|
# RESTRICT_TO_WORKSPACE=True
|
|
|
|
## DISABLED_COMMANDS - The comma separated list of commands that are disabled (Default: None)
|
|
# DISABLED_COMMANDS=
|
|
|
|
## FILE_STORAGE_BACKEND - Choose a storage backend for contents
|
|
## Options: local, gcs, s3
|
|
# FILE_STORAGE_BACKEND=local
|
|
|
|
## STORAGE_BUCKET - GCS/S3 Bucket to store contents in
|
|
# STORAGE_BUCKET=autogpt
|
|
|
|
## GCS Credentials
|
|
# see https://cloud.google.com/storage/docs/authentication#libauth
|
|
|
|
## AWS/S3 Credentials
|
|
# see https://boto3.amazonaws.com/v1/documentation/api/latest/guide/configuration.html
|
|
|
|
## S3_ENDPOINT_URL - If you're using non-AWS S3, set your endpoint here.
|
|
# S3_ENDPOINT_URL=
|
|
|
|
### Miscellaneous ###
|
|
|
|
## AUTHORISE COMMAND KEY - Key to authorise commands
|
|
# AUTHORISE_COMMAND_KEY=y
|
|
|
|
## EXIT_KEY - Key to exit AutoGPT
|
|
# EXIT_KEY=n
|
|
|
|
################################################################################
|
|
### LLM PROVIDER
|
|
################################################################################
|
|
|
|
## TEMPERATURE - Sets temperature in OpenAI (Default: 0)
|
|
# TEMPERATURE=0
|
|
|
|
## OPENAI_API_BASE_URL - Custom url for the OpenAI API, useful for connecting to custom backends. No effect if USE_AZURE is true, leave blank to keep the default url
|
|
# the following is an example:
|
|
# OPENAI_API_BASE_URL=http://localhost:443/v1
|
|
|
|
# OPENAI_API_TYPE=
|
|
# OPENAI_API_VERSION=
|
|
|
|
## OPENAI_FUNCTIONS - Enables OpenAI functions: https://platform.openai.com/docs/guides/gpt/function-calling
|
|
## Note: this feature is only supported by OpenAI's newer models.
|
|
# OPENAI_FUNCTIONS=False
|
|
|
|
## OPENAI_ORGANIZATION - Your OpenAI Organization key (Default: None)
|
|
# OPENAI_ORGANIZATION=
|
|
|
|
## USE_AZURE - Use Azure OpenAI or not (Default: False)
|
|
# USE_AZURE=False
|
|
|
|
## AZURE_CONFIG_FILE - The path to the azure.yaml file, relative to the folder containing this file. (Default: azure.yaml)
|
|
# AZURE_CONFIG_FILE=azure.yaml
|
|
|
|
# AZURE_OPENAI_AD_TOKEN=
|
|
# AZURE_OPENAI_ENDPOINT=
|
|
|
|
################################################################################
|
|
### LLM MODELS
|
|
################################################################################
|
|
|
|
## SMART_LLM - Smart language model (Default: gpt-4-turbo)
|
|
# SMART_LLM=gpt-4-turbo
|
|
|
|
## FAST_LLM - Fast language model (Default: gpt-3.5-turbo)
|
|
# FAST_LLM=gpt-3.5-turbo
|
|
|
|
## EMBEDDING_MODEL - Model to use for creating embeddings
|
|
# EMBEDDING_MODEL=text-embedding-3-small
|
|
|
|
################################################################################
|
|
### IMAGE GENERATION PROVIDER
|
|
################################################################################
|
|
|
|
### Huggingface (IMAGE_PROVIDER=huggingface)
|
|
|
|
## HUGGINGFACE_API_TOKEN - HuggingFace API token (Default: None)
|
|
# HUGGINGFACE_API_TOKEN=
|
|
|
|
|
|
### Stable Diffusion (IMAGE_PROVIDER=sdwebui)
|
|
|
|
## SD_WEBUI_AUTH - Stable Diffusion Web UI username:password pair (Default: None)
|
|
# SD_WEBUI_AUTH=
|
|
|
|
################################################################################
|
|
### GITHUB
|
|
################################################################################
|
|
|
|
## GITHUB_API_KEY - Github API key / PAT (Default: None)
|
|
# GITHUB_API_KEY=
|
|
|
|
## GITHUB_USERNAME - Github username (Default: None)
|
|
# GITHUB_USERNAME=
|
|
|
|
################################################################################
|
|
### WEB BROWSING
|
|
################################################################################
|
|
|
|
## GOOGLE_API_KEY - Google API key (Default: None)
|
|
# GOOGLE_API_KEY=
|
|
|
|
## GOOGLE_CUSTOM_SEARCH_ENGINE_ID - Google custom search engine ID (Default: None)
|
|
# GOOGLE_CUSTOM_SEARCH_ENGINE_ID=
|
|
|
|
################################################################################
|
|
### TEXT TO SPEECH PROVIDER
|
|
################################################################################
|
|
|
|
## TEXT_TO_SPEECH_PROVIDER - Which Text to Speech provider to use (Default: gtts)
|
|
## Options: gtts, streamelements, elevenlabs, macos
|
|
# TEXT_TO_SPEECH_PROVIDER=gtts
|
|
|
|
## STREAMELEMENTS_VOICE - Voice to use for StreamElements (Default: Brian)
|
|
# STREAMELEMENTS_VOICE=Brian
|
|
|
|
## ELEVENLABS_API_KEY - Eleven Labs API key (Default: None)
|
|
# ELEVENLABS_API_KEY=
|
|
|
|
## ELEVENLABS_VOICE_ID - Eleven Labs voice ID (Example: None)
|
|
# ELEVENLABS_VOICE_ID=
|
|
|
|
################################################################################
|
|
### LOGGING
|
|
################################################################################
|
|
|
|
## LOG_LEVEL - Set the minimum level to filter log output by. Setting this to DEBUG implies LOG_FORMAT=debug, unless LOG_FORMAT is set explicitly.
|
|
## Options: DEBUG, INFO, WARNING, ERROR, CRITICAL
|
|
# LOG_LEVEL=INFO
|
|
|
|
## LOG_FORMAT - The format in which to log messages to the console (and log files).
|
|
## Options: simple, debug, structured_google_cloud
|
|
# LOG_FORMAT=simple
|
|
|
|
## LOG_FILE_FORMAT - Normally follows the LOG_FORMAT setting, but can be set separately.
|
|
## Note: Log file output is disabled if LOG_FORMAT=structured_google_cloud.
|
|
# LOG_FILE_FORMAT=simple
|
|
|
|
## PLAIN_OUTPUT - Disables animated typing and the spinner in the console output. (Default: False)
|
|
# PLAIN_OUTPUT=False
|
|
|
|
|
|
################################################################################
|
|
### Agent Protocol Server Settings
|
|
################################################################################
|
|
## AP_SERVER_PORT - Specifies what port the agent protocol server will listen on. (Default: 8000)
|
|
## AP_SERVER_DB_URL - Specifies what connection url the agent protocol database will connect to (Default: Internal SQLite)
|
|
## AP_SERVER_CORS_ALLOWED_ORIGINS - Comma separated list of allowed origins for CORS. (Default: http://localhost:{AP_SERVER_PORT})
|
|
# AP_SERVER_PORT=8000
|
|
# AP_SERVER_DB_URL=sqlite:///data/ap_server.db
|
|
# AP_SERVER_CORS_ALLOWED_ORIGINS=
|