2024-01-05 20:23:14 +08:00
|
|
|
llm:
|
2024-04-22 19:24:13 +08:00
|
|
|
api_type: "openai" # or azure / ollama / groq etc.
|
2024-01-11 15:44:12 +08:00
|
|
|
base_url: "YOUR_BASE_URL"
|
|
|
|
|
api_key: "YOUR_API_KEY"
|
2024-04-22 19:18:03 +08:00
|
|
|
model: "gpt-4-turbo" # or gpt-3.5-turbo
|
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-04-22 19:18:03 +08:00
|
|
|
# Details: https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/
|
|
|
|
|
pricing_plan: "" # Optional. Use for Azure LLM when its model name is not the same as OpenAI's
|
2024-01-11 15:44:12 +08:00
|
|
|
|
2024-04-22 19:24:13 +08:00
|
|
|
|
2024-04-10 14:12:45 +08:00
|
|
|
# RAG Embedding.
|
|
|
|
|
# For backward compatibility, if the embedding is not set and the llm's api_type is either openai or azure, the llm's config will be used.
|
|
|
|
|
embedding:
|
2024-04-23 17:05:25 +08:00
|
|
|
api_type: "" # openai / azure / gemini / ollama etc. Check EmbeddingType for more options.
|
|
|
|
|
base_url: ""
|
|
|
|
|
api_key: ""
|
|
|
|
|
model: ""
|
|
|
|
|
api_version: ""
|
|
|
|
|
embed_batch_size: 100
|
2024-05-03 16:46:41 +08:00
|
|
|
dimensions: # output dimension of embedding model
|
2024-04-10 14:12:45 +08:00
|
|
|
|
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"
|
2024-05-24 16:03:57 +08:00
|
|
|
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"
|
2024-07-22 17:10:29 +08:00
|
|
|
|
|
|
|
|
omniparse:
|
|
|
|
|
api_key: "YOUR_API_KEY"
|
|
|
|
|
base_url: "YOUR_BASE_URL"
|
2024-07-23 14:31:30 +08:00
|
|
|
|
2024-07-01 20:23:44 +08:00
|
|
|
models:
|
2024-07-16 14:43:23 +08:00
|
|
|
# "YOUR_MODEL_NAME_1 or YOUR_API_TYPE_1": # model: "gpt-4-turbo" # or gpt-3.5-turbo
|
2024-07-01 20:23:44 +08:00
|
|
|
# api_type: "openai" # or azure / ollama / groq etc.
|
|
|
|
|
# base_url: "YOUR_BASE_URL"
|
|
|
|
|
# api_key: "YOUR_API_KEY"
|
|
|
|
|
# proxy: "YOUR_PROXY" # for LLM API requests
|
|
|
|
|
# # timeout: 600 # Optional. If set to 0, default value is 300.
|
|
|
|
|
# # Details: https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/
|
|
|
|
|
# pricing_plan: "" # Optional. Use for Azure LLM when its model name is not the same as OpenAI's
|
2024-07-16 14:43:23 +08:00
|
|
|
# "YOUR_MODEL_NAME_2 or YOUR_API_TYPE_2": # api_type: "openai" # or azure / ollama / groq etc.
|
2024-07-01 20:23:44 +08:00
|
|
|
# api_type: "openai" # or azure / ollama / groq etc.
|
|
|
|
|
# base_url: "YOUR_BASE_URL"
|
|
|
|
|
# api_key: "YOUR_API_KEY"
|
|
|
|
|
# proxy: "YOUR_PROXY" # for LLM API requests
|
|
|
|
|
# # timeout: 600 # Optional. If set to 0, default value is 300.
|
|
|
|
|
# # Details: https://azure.microsoft.com/en-us/pricing/details/cognitive-services/openai-service/
|
2024-07-23 14:31:30 +08:00
|
|
|
# pricing_plan: "" # Optional. Use for Azure LLM when its model name is not the same as OpenAI's
|