mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: 移除悉尼,调整必应参数
This commit is contained in:
parent
fac0863e3e
commit
407ef65967
4 changed files with 87 additions and 64 deletions
|
|
@ -925,12 +925,13 @@ azure语音:Azure 语音是微软 Azure 平台提供的一项语音服务,
|
|||
return
|
||||
}
|
||||
let map = {
|
||||
精准: 'precise',
|
||||
创意: 'creative',
|
||||
均衡: 'balanced',
|
||||
精准: 'Sydney',
|
||||
创意: 'Sydney',
|
||||
均衡: 'Sydney',
|
||||
Sydney: 'Sydney',
|
||||
sydney: 'Sydney',
|
||||
悉尼: 'Sydney',
|
||||
默认: 'Sydney',
|
||||
自设定: 'Custom',
|
||||
自定义: 'Custom'
|
||||
}
|
||||
|
|
@ -938,7 +939,7 @@ azure语音:Azure 语音是微软 Azure 平台提供的一项语音服务,
|
|||
Config.toneStyle = map[tongStyle]
|
||||
await e.reply('切换成功')
|
||||
} else {
|
||||
await e.reply('没有这种风格。支持的风格:精准、创意、均衡、悉尼、自设定')
|
||||
await e.reply('没有这种风格。支持的风格:默认/创意/悉尼、自设定')
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -963,7 +964,7 @@ azure语音:Azure 语音是微软 Azure 平台提供的一项语音服务,
|
|||
async modeHelp () {
|
||||
let mode = await redis.get('CHATGPT:USE')
|
||||
const modeMap = {
|
||||
browser: '浏览器',
|
||||
// browser: '浏览器',
|
||||
azure: 'Azure',
|
||||
// apiReverse: 'API2',
|
||||
api: 'API',
|
||||
|
|
@ -971,30 +972,12 @@ azure语音:Azure 语音是微软 Azure 平台提供的一项语音服务,
|
|||
api3: 'API3',
|
||||
chatglm: 'ChatGLM-6B',
|
||||
claude: 'Claude',
|
||||
poe: 'Poe'
|
||||
poe: 'Poe',
|
||||
xh: '星火',
|
||||
qwen: '通义千问'
|
||||
}
|
||||
let modeText = modeMap[mode || 'api']
|
||||
let message = `API模式和浏览器模式如何选择?
|
||||
|
||||
API模式会调用 OpenAI 官方提供的 gpt-3.5-turbo API,只需要提供 API Key。一般情况下,该种方式响应速度更快,不会像 chatGPT 官网一样总出现不可用的现象,但要注意 gpt-3.5-turbo 的 API 调用是收费的,新用户有 $5 的试用金可用于支付,价格为 $0.0020/1K tokens。(问题和回答加起来算 token)
|
||||
|
||||
API3 模式会调用官网反代 API,它会帮你绕过 CF 防护,需要提供 ChatGPT 的 Token。效果与官网和浏览器一致。设置 Token 指令:#chatgpt设置token。
|
||||
|
||||
浏览器模式通过在本地启动 Chrome 等浏览器模拟用户访问 ChatGPT 网站,使得获得和官方以及 API2 模式一模一样的回复质量,同时保证安全性。缺点是本方法对环境要求较高,需要提供桌面环境和一个可用的代理(能够访问 ChatGPT 的 IP 地址),且响应速度不如 API,而且高峰期容易无法使用。
|
||||
|
||||
必应(Bing)将调用微软新必应接口进行对话。需要在必应网页能够正常使用新必应且设置有效的 Bing 登录 Cookie 方可使用。#chatgpt设置必应 Token。
|
||||
|
||||
自建 ChatGLM 模式会调用自建的 ChatGLM-6B 服务器 API 进行对话,需要自建。参考 https://github.com/ikechan8370/SimpleChatGLM6BAPI。
|
||||
|
||||
Claude 模式会调用 Slack 中的 Claude 机器人进行对话,与其他模式不同的是全局共享一个对话。配置参考 https://ikechan8370.com/archives/chatgpt-plugin-for-yunzaipei-zhi-slack-claude。
|
||||
|
||||
Poe 模式会调用 Poe 中的 Claude-instant 进行对话。需要提供 Cookie:#chatgpt设置 Poe Token。
|
||||
|
||||
星火 模式会调用科大讯飞推出的新一代认知智能大模型 '星火认知大模型' 进行对话。需要提供Cookie:#chatgpt设置星火token。
|
||||
|
||||
您可以使用 "#chatgpt切换浏览器/API/API3/Bing/ChatGLM/Claude/Poe/星火" 来切换到指定模式。
|
||||
|
||||
当前为 ${modeText} 模式。`
|
||||
let message = `请访问yunzai.chat查看文档。当前为 ${modeText} 模式。`
|
||||
await this.reply(message)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue