diff options
author | Reinier van der Leer <pwuts@agpt.co> | 2024-02-12 13:19:37 +0100 |
---|---|---|
committer | Reinier van der Leer <pwuts@agpt.co> | 2024-02-12 13:19:37 +0100 |
commit | 1d653973e9be82f47fdeebe949f0c37852c5f2dd (patch) | |
tree | 199fe2b88821574d7fc189bd98488e0afe7db340 /docs | |
parent | chore(agent/llm): Update OpenAI model info (diff) | |
download | Auto-GPT-1d653973e9be82f47fdeebe949f0c37852c5f2dd.tar.gz Auto-GPT-1d653973e9be82f47fdeebe949f0c37852c5f2dd.tar.bz2 Auto-GPT-1d653973e9be82f47fdeebe949f0c37852c5f2dd.zip |
feat(agent/llm): Use new OpenAI models as default `SMART_LLM`, `FAST_LLM`, and `EMBEDDING_MODEL`
- Change default `SMART_LLM` from `gpt-4` to `gpt-4-turbo-preview`
- Change default `FAST_LLM` from `gpt-3.5-turbo-16k` to `gpt-3.5-turbo-0125`
- Change default `EMBEDDING_MODEL` from `text-embedding-ada-002` to `text-embedding-3-small`
- Update .env.template, azure.yaml.template, and documentation accordingly
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/AutoGPT/configuration/options.md | 6 | ||||
-rw-r--r-- | docs/content/AutoGPT/setup/docker.md | 7 |
2 files changed, 5 insertions, 8 deletions
diff --git a/docs/content/AutoGPT/configuration/options.md b/docs/content/AutoGPT/configuration/options.md index 12df23c33..dd0291bfa 100644 --- a/docs/content/AutoGPT/configuration/options.md +++ b/docs/content/AutoGPT/configuration/options.md @@ -14,10 +14,10 @@ Configuration is controlled through the `Config` object. You can set configurati - `DISABLED_COMMAND_CATEGORIES`: Command categories to disable. Command categories are Python module names, e.g. autogpt.commands.execute_code. See the directory `autogpt/commands` in the source for all command modules. Default: None - `ELEVENLABS_API_KEY`: ElevenLabs API Key. Optional. - `ELEVENLABS_VOICE_ID`: ElevenLabs Voice ID. Optional. -- `EMBEDDING_MODEL`: LLM Model to use for embedding tasks. Default: text-embedding-ada-002 +- `EMBEDDING_MODEL`: LLM Model to use for embedding tasks. Default: `text-embedding-3-small` - `EXECUTE_LOCAL_COMMANDS`: If shell commands should be executed locally. Default: False - `EXIT_KEY`: Exit key accepted to exit. Default: n -- `FAST_LLM`: LLM Model to use for most tasks. Default: gpt-3.5-turbo +- `FAST_LLM`: LLM Model to use for most tasks. Default: `gpt-3.5-turbo-0125` - `GITHUB_API_KEY`: [Github API Key](https://github.com/settings/tokens). Optional. - `GITHUB_USERNAME`: GitHub Username. Optional. - `GOOGLE_API_KEY`: Google API key. Optional. @@ -44,7 +44,7 @@ Configuration is controlled through the `Config` object. You can set configurati - `SHELL_ALLOWLIST`: List of shell commands that ARE allowed to be executed by AutoGPT. Only applies if `SHELL_COMMAND_CONTROL` is set to `allowlist`. Default: None - `SHELL_COMMAND_CONTROL`: Whether to use `allowlist` or `denylist` to determine what shell commands can be executed (Default: denylist) - `SHELL_DENYLIST`: List of shell commands that ARE NOT allowed to be executed by AutoGPT. Only applies if `SHELL_COMMAND_CONTROL` is set to `denylist`. Default: sudo,su -- `SMART_LLM`: LLM Model to use for "smart" tasks. Default: gpt-4 +- `SMART_LLM`: LLM Model to use for "smart" tasks. Default: `gpt-4-turbo-preview` - `STREAMELEMENTS_VOICE`: StreamElements voice to use. Default: Brian - `TEMPERATURE`: Value of temperature given to OpenAI. Value from 0 to 2. Lower is more deterministic, higher is more random. See https://platform.openai.com/docs/api-reference/completions/create#completions/create-temperature - `TEXT_TO_SPEECH_PROVIDER`: Text to Speech Provider. Options are `gtts`, `macos`, `elevenlabs`, and `streamelements`. Default: gtts diff --git a/docs/content/AutoGPT/setup/docker.md b/docs/content/AutoGPT/setup/docker.md index 35bd7c2c1..af4794a25 100644 --- a/docs/content/AutoGPT/setup/docker.md +++ b/docs/content/AutoGPT/setup/docker.md @@ -124,10 +124,7 @@ found in the [repository]. If you want to use GPT on an Azure instance, set `USE_AZURE` to `True` and make an Azure configuration file: - - Rename `azure.yaml.template` to `azure.yaml` and provide the relevant `azure_api_base`, `azure_api_version` and all the deployment IDs for the relevant models in the `azure_model_map` section: - - `fast_llm_deployment_id`: your gpt-3.5-turbo or gpt-4 deployment ID - - `smart_llm_deployment_id`: your gpt-4 deployment ID - - `embedding_model_deployment_id`: your text-embedding-ada-002 v2 deployment ID + - Rename `azure.yaml.template` to `azure.yaml` and provide the relevant `azure_api_base`, `azure_api_version` and all the deployment IDs for the relevant models in the `azure_model_map` section. Example: @@ -135,7 +132,7 @@ found in the [repository]. # Please specify all of these values as double-quoted strings # Replace string in angled brackets (<>) to your own deployment Name azure_model_map: - fast_llm_deployment_id: "<auto-gpt-deployment>" + gpt-4-turbo-preview: "<gpt-4-turbo deployment ID>" ... ``` |