mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: Update latest ChatGPT model
This commit is contained in:
parent
16983adffc
commit
4a81d68c6e
2 changed files with 6 additions and 6 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# 云崽qq机器人的chatgpt插件
|
||||
|
||||
* 支持单人连续对话Conversation
|
||||
* 目前使用 GPT-3 API尽可能逼近ChatGPT体验,支持模型参数调整
|
||||
* ~~目前使用 GPT-3 API尽可能逼近ChatGPT体验,支持模型参数调整~~使用`text-chat-davinci-002-sh-alpha-aoruigiofdj83`模型,原汁原味ChatGPT体验
|
||||
* 支持问答图片截图
|
||||
* 仅需OpenAI Api Key,开箱即用
|
||||
|
||||
|
|
@ -110,7 +110,7 @@ OpenAI 即将开放其官方ChatGPT API,请等待此部分内容更新。
|
|||
|
||||
> 该api响应速度可能由于模型本身及网络原因不会太快,请勿频繁重发。因网络问题和模型响应速度问题可能出现500、503、404等各种异常状态码,此时等待官方恢复即可。实测复杂的中文对话更容易触发503错误(超时)。如出现429则意味着超出了免费账户调用频率,只能暂时停用,放置一段时间再继续使用。
|
||||
>
|
||||
> ~~openai目前开放chatgpt模型的免费试用,在此期间本项目应该都可用,后续如果openai调整其收费策略,到时候视情况进行调整。~~ GPT-3的API调用是收费的,新用户有18美元试用金可用于支付,价格为`$0.0200/ 1K tokens`,问题和回答加起来算。
|
||||
> ~~openai目前开放chatgpt模型的免费试用,在此期间本项目应该都可用,后续如果openai调整其收费策略,到时候视情况进行调整。~~ ~~GPT-3的API调用是收费的,新用户有18美元试用金可用于支付,价格为`$0.0200/ 1K tokens`,问题和回答加起来算。~~
|
||||
>
|
||||
> 如果在linux系统上发现emoj无法正常显示,可以搜索安装支持emoj的字体,如Ubuntu可以使用`sudo apt install fonts-noto-color-emoji`
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ const PROXY = ''
|
|||
const API_KEY = ''
|
||||
|
||||
export const Config = {
|
||||
// 模型名称。如无特殊需求保持默认即可,会使用chatgpt-api库提供的当前可用的最适合的默认值。
|
||||
model: '',
|
||||
// 模型名称。如无特殊需求保持默认即可,会使用chatgpt-api库提供的当前可用的最适合的默认值。保底可用的是 text-davinci-003。当发现新的可用的chatGPT模型会更新这里的值
|
||||
model: 'text-chat-davinci-002-sh-alpha-aoruigiofdj83',
|
||||
// 如果回答包括屏蔽词,就不返回。例如:'屏蔽词1,屏蔽词2,屏蔽词3'
|
||||
blockWords: '',
|
||||
apiKey: API_KEY,
|
||||
|
|
@ -14,11 +14,11 @@ export const Config = {
|
|||
// 每个人发起的对话保留时长。超过这个时长没有进行对话,再进行对话将开启新的对话。单位:秒
|
||||
conversationPreserveTime: 0,
|
||||
// 触发方式 可选值:at 或 prefix 。at模式下只有at机器人才会回复。prefix模式下不需要at,但需要添加前缀#chat
|
||||
toggleMode: 'at',
|
||||
toggleMode: 'prefix',
|
||||
// 默认完整值:`You are ${this._assistantLabel}, a large language model trained by OpenAI. You answer as concisely as possible for each response (e.g. don’t be verbose). It is very important that you answer as concisely as possible, so please remember this. If you are generating a list, do not have too many items. Keep the number of items short. Current date: ${currentDate}\n\n
|
||||
// 此项配置会覆盖掉中间部分。保持为空将使用网友从对话中推测出的指令。
|
||||
// 你可以在这里写入你希望AI回答的风格,比如希望优先回答中文,回答长一点等
|
||||
promptPrefixOverride: '',
|
||||
promptPrefixOverride: 'Your answer shouldn\'t be too verbose. If you are generating a list, do not have too many items. Keep the number of items short. Prefer to answer in Chinese.',
|
||||
// AI认为的自己的名字,当你问他你是谁是他会回答这里的名字。
|
||||
assistantLabel: 'ChatGPT'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue