updated config.example.toml
This commit is contained in:
@@ -2,12 +2,21 @@
|
|||||||
# Pexels API Key
|
# Pexels API Key
|
||||||
# Register at https://www.pexels.com/api/ to get your API key.
|
# Register at https://www.pexels.com/api/ to get your API key.
|
||||||
# You can use multiple keys to avoid rate limits.
|
# 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用逗号隔开
|
# 特别注意格式,Key 用英文双引号括起来,多个Key用逗号隔开
|
||||||
pexels_api_keys = []
|
pexels_api_keys = []
|
||||||
|
|
||||||
# 如果你没有 OPENAI API Key,可以使用 g4f 代替,或者使用国内的 Moonshot API
|
# 如果你没有 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
|
########## OpenAI API Key
|
||||||
# Visit https://openai.com/api/ for details on obtaining an 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_model_name="gpt-35-turbo" # replace with your model deployment name
|
||||||
azure_api_version = "2024-02-15-preview"
|
azure_api_version = "2024-02-15-preview"
|
||||||
|
|
||||||
########## qwen API Key, you need to pip install dashscope firstly
|
########## Qwen API Key
|
||||||
# Visit https://tongyi.aliyun.com/qianwen/ to get more details
|
# 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_api_key = ""
|
||||||
qwen_model_name = "qwen-max"
|
qwen_model_name = "qwen-max"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user