MetaGPT/config/config2.example.yaml

55 lines
1.6 KiB
YAML
Raw Normal View History

2024-01-05 20:23:14 +08:00
llm:
2024-02-18 11:31:53 +08:00
api_type: "openai" # or azure / ollama / open_llm etc. Check LLMType for more options
2024-01-11 15:44:12 +08:00
base_url: "YOUR_BASE_URL"
api_key: "YOUR_API_KEY"
2024-01-31 14:01:25 +08:00
model: "gpt-4-turbo-preview" # or gpt-3.5-turbo-1106 / gpt-4-1106-preview
2024-02-18 11:31:53 +08:00
proxy: "YOUR_PROXY" # for LLM API requests
2024-03-21 13:21:24 +08:00
# timeout: 600 # Optional. If set to 0, default value is 300.
2024-03-05 10:59:34 +08:00
pricing_plan: "" # Optional. If invalid, it will be automatically filled in with the value of the `model`.
# Azure-exclusive pricing plan mappings
2024-02-19 11:02:10 +08:00
# - gpt-3.5-turbo 4k: "gpt-3.5-turbo-1106"
# - gpt-4-turbo: "gpt-4-turbo-preview"
# - gpt-4-turbo-vision: "gpt-4-vision-preview"
# - gpt-4 8k: "gpt-4"
# See for more: https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/
2024-01-11 15:44:12 +08:00
repair_llm_output: true # when the output is not a valid json, try to repair it
2024-02-18 11:31:53 +08:00
proxy: "YOUR_PROXY" # for tools like requests, playwright, selenium, etc.
2024-01-05 20:23:14 +08:00
search:
2024-01-11 15:44:12 +08:00
api_type: "google"
api_key: "YOUR_API_KEY"
cse_id: "YOUR_CSE_ID"
2024-01-05 20:23:14 +08:00
2024-02-02 13:55:15 +08:00
browser:
engine: "playwright" # playwright/selenium
browser_type: "chromium" # playwright: chromium/firefox/webkit; selenium: chrome/firefox/edge/ie
2024-01-05 20:23:14 +08:00
mermaid:
2024-01-11 15:44:12 +08:00
engine: "pyppeteer"
path: "/Applications/Google Chrome.app"
2024-01-05 20:23:14 +08:00
redis:
host: "YOUR_HOST"
port: 32582
password: "YOUR_PASSWORD"
db: "0"
s3:
access_key: "YOUR_ACCESS_KEY"
2024-01-11 15:44:12 +08:00
secret_key: "YOUR_SECRET_KEY"
2024-01-05 20:23:14 +08:00
endpoint: "YOUR_ENDPOINT"
secure: false
bucket: "test"
2024-02-01 13:45:00 +08:00
azure_tts_subscription_key: "YOUR_SUBSCRIPTION_KEY"
azure_tts_region: "eastus"
2024-01-05 20:23:14 +08:00
2024-02-01 13:45:00 +08:00
iflytek_api_id: "YOUR_APP_ID"
iflytek_api_key: "YOUR_API_KEY"
iflytek_api_secret: "YOUR_API_SECRET"
2024-01-05 20:23:14 +08:00
2024-02-01 13:45:00 +08:00
metagpt_tti_url: "YOUR_MODEL_URL"