mirror of
https://github.com/ddaodan/minechatgpt.git
synced 2025-02-18 15:54:13 +08:00
41 lines
1.4 KiB
YAML
41 lines
1.4 KiB
YAML
# API 相关设置
|
||
api:
|
||
# 你的 OpenAI API key,用于身份验证
|
||
# 获取 API key 的方法:访问 //platform.openai.com/account/api-keys 并创建一个新的 API key
|
||
key: "sk-your_openai_api_key"
|
||
# OpenAI API 的基础 URL,用于构建请求
|
||
base_url: "https://api.openai.com/v1"
|
||
# 支持的模型列表
|
||
models:
|
||
# OpenAI ChatGPT
|
||
- "gpt-3.5-turbo"
|
||
- "gpt-3.5-turbo-instruct"
|
||
- "gpt-4"
|
||
- "gpt-4-turbo"
|
||
- "gpt-4-turbo-preview"
|
||
- "gpt-4o"
|
||
# Google Gemini
|
||
# - "gemini-pro"
|
||
# - "gemini-1.5-pro"
|
||
# Anthropic Claude
|
||
# - "claude-3-opus"
|
||
# - "claude-3-5-sonnet"
|
||
# 以及更多...
|
||
# 默认使用的模型
|
||
default_model: "gpt-3.5-turbo"
|
||
# 消息相关设置
|
||
messages:
|
||
reload: "&a已重新加载配置文件!"
|
||
help: "&e===== MineChatGPT 帮助 ====="
|
||
help_ask: "&e/chatgpt <text> - 向ChatGPT提问"
|
||
help_reload: "&e/chatgpt reload - 重新加载配置文件"
|
||
help_model: "&e/chatgpt model <model_name> - 切换至其他模型"
|
||
help_modellist: "&e/chatgpt modellist - 可用的模型列表"
|
||
usage: "&c输入: /chatgpt model <model_name>"
|
||
model_switch: "&a已切换至模型 %s"
|
||
chatgpt_error: "&c无法联系ChatGPT。"
|
||
chatgpt_response: "&bChatGPT: %s"
|
||
question: "&b你: %s"
|
||
invalid_model: "&c模型无效。使用 /chatgpt modellist 查看可用模型。"
|
||
available_models: "&e可用模型列表:"
|
||
no_permission: "&c你没有权限使用这个指令。需要的权限:%s" |