updated config.example.toml

This commit is contained in:
harry 2024-03-28 11:31:51 +08:00
parent 121ef12a74
commit d5ab841650

View File

@ -2,12 +2,21 @@
# Pexels API Key
# Register at https://www.pexels.com/api/ to get your API key.
# You can use multiple keys to avoid rate limits.
# For example: pexels_api_keys = ["123456789","abcdefghi"]
# For example: pexels_api_keys = ["123adsf4567adf89","abd1321cd13efgfdfhi"]
# 特别注意格式Key 用英文双引号括起来多个Key用逗号隔开
pexels_api_keys = []
# 如果你没有 OPENAI API Key可以使用 g4f 代替,或者使用国内的 Moonshot API
llm_provider="openai" # "openai" or "moonshot" or "oneapi" or "g4f" or "azure" or "qwen"
# If you don't have an OPENAI API Key, you can use g4f instead
# 支持的提供商 (Supported providers):
# openai
# moonshot (月之暗面)
# oneapi
# g4f
# azure
# qwen (通义千问)
llm_provider="openai"
########## OpenAI API Key
# Visit https://openai.com/api/ for details on obtaining an API key.
@ -40,8 +49,11 @@
azure_model_name="gpt-35-turbo" # replace with your model deployment name
azure_api_version = "2024-02-15-preview"
########## qwen API Key, you need to pip install dashscope firstly
# Visit https://tongyi.aliyun.com/qianwen/ to get more details
########## Qwen API Key
# Visit https://dashscope.console.aliyun.com/apiKey to get your API key
# Visit below links to get more details
# https://tongyi.aliyun.com/qianwen/
# https://help.aliyun.com/zh/dashscope/developer-reference/model-introduction
qwen_api_key = ""
qwen_model_name = "qwen-max"