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`.
|
2024-02-02 18:10:32 +08:00
|
|
|
|
# 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"
|
2024-02-02 18:10:32 +08:00
|
|
|
|
# - 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
|
|
|
|
|
2024-04-23 15:24:28 +08:00
|
|
|
|
# Role's custom configuration
|
|
|
|
|
|
roles:
|
|
|
|
|
|
- role: "ProductManager" # role's className or role's role_id
|
|
|
|
|
|
llm:
|
|
|
|
|
|
api_type: "openai" # or azure / ollama / open_llm etc. Check LLMType for more options
|
|
|
|
|
|
base_url: "YOUR_BASE_URL"
|
|
|
|
|
|
api_key: "YOUR_API_KEY"
|
|
|
|
|
|
proxy: "YOUR_PROXY" # for LLM API requests
|
|
|
|
|
|
model: "gpt-4-turbo-1106"
|
|
|
|
|
|
- role: "Architect"
|
|
|
|
|
|
llm:
|
|
|
|
|
|
api_type: "openai" # or azure / ollama / open_llm etc. Check LLMType for more options
|
|
|
|
|
|
base_url: "YOUR_BASE_URL"
|
|
|
|
|
|
api_key: "YOUR_API_KEY"
|
|
|
|
|
|
proxy: "YOUR_PROXY" # for LLM API requests
|
|
|
|
|
|
model: "gpt-35-turbo"
|
|
|
|
|
|
- role: "ProjectManager"
|
|
|
|
|
|
llm:
|
|
|
|
|
|
api_type: "azure"
|
|
|
|
|
|
base_url: "YOUR_BASE_URL"
|
|
|
|
|
|
api_key: "YOUR_API_KEY"
|
|
|
|
|
|
api_version: "YOUR_API_VERSION"
|
|
|
|
|
|
model: "gpt-4-1106"
|
|
|
|
|
|
- role: "Engineer"
|
|
|
|
|
|
llm:
|
|
|
|
|
|
api_type: "azure"
|
|
|
|
|
|
base_url: "YOUR_BASE_URL"
|
|
|
|
|
|
api_key: "YOUR_API_KEY"
|
|
|
|
|
|
api_version: "YOUR_API_VERSION"
|
|
|
|
|
|
model: "gpt-35-turbo-1106"
|
|
|
|
|
|
|
2024-03-06 00:44:19 +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-06-04 10:28:39 +08:00
|
|
|
|
exp_pool:
|
2024-08-09 16:05:48 +08:00
|
|
|
|
enabled: false
|
2024-07-08 10:09:36 +08:00
|
|
|
|
enable_read: false
|
|
|
|
|
|
enable_write: false
|
|
|
|
|
|
persist_path: .chroma_exp_data # The directory.
|
2024-08-19 14:07:13 +08:00
|
|
|
|
retrieval_type: bm25 # Default is `bm25`, can be set to `chroma` for vector storage, which requires setting up embedding.
|
2024-08-20 20:19:42 +08:00
|
|
|
|
use_llm_ranker: true # Default is `true`, it will use LLM Reranker to get better result.
|
2024-08-23 10:14:12 +08:00
|
|
|
|
collection_name: experience_pool # When `retrieval_type` is `chroma`, `collection_name` is the collection name in chromadb.
|
|
|
|
|
|
|
2024-09-12 11:20:40 +08:00
|
|
|
|
role_zero:
|
2024-09-12 11:31:12 +08:00
|
|
|
|
enable_longterm_memory: false # Whether to use long-term memory. Default is `false`.
|
2024-09-29 11:27:39 +08:00
|
|
|
|
longterm_memory_persist_path: .role_memory_data # The directory to save data.
|
2024-01-05 20:23:14 +08:00
|
|
|
|
|
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"
|