ikechan8370 / chatgpt-plugin

云崽系机器人的智能聊天插件
https://www.yunzai.chat/
GNU General Public License v3.0
967 stars 100 forks source link

增加OpenAI的tts服务,增加指令切换OpenAI API模型的指令。 #630

Closed MoonWeSif closed 4 months ago

MoonWeSif commented 6 months ago

你的功能请求是否与某个问题有关?请描述。 (1)目前OpenAI推出了TTS服务,同时现在OpenAI的中转服务比较多,调用起来比较便宜,效果也不错。 (2)我在群里询问了一下,然后查阅了帮助页面,没有看到能够切换不同GPT模型的指令,目前GPT的模型比较多,且价格悬殊比较大,因此有时想要使用3.5的模型,有时想要使用4.0的模型,频繁的去面板进行切换并不方便。 描述你想要的解决方案 你想要发生什么的清晰而简明的描述。 (1)可以在配置文件中的OpenAI模型这一选项中,支持填入多个OpenAI模型,例如gpt-3.5-turbo-1106,gpt-4-1106-preview。然后主人可以使用#chatgpt切换模型1,#chatgpt切换模型2。来灵活的切换模型,参数1代表使用配置中的第一个模型,2代表第二个,默认不进行指定的话会使用第一个作为默认的模型。

额外补充: 现在github的开源项目one-api已经支持了绝大部分拥有API的大语言模型了,这样的话,用户在指定了OpenAI的base url为one-api的中转服务后,只需要填入相应的模型名称即可使用OpenAI的模型调用方式调用其他的大模型,十分方便,也减轻了接入新模型的工作量

github-actions[bot] commented 5 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 4 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 4 months ago

This issue was closed because it has been stalled for 5 days with no activity.