Skip to content

Commit 9c68b30

Browse files
committed
update version(3.9->3.9.1)
1 parent eca488f commit 9c68b30

File tree

2 files changed

+29
-19
lines changed

2 files changed

+29
-19
lines changed

README.md

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# ChatGPT-YourChatRobot
22

3-
> ### NEWS: 现在你可以在qq让GPT用语音回复你啦
4-
> - ai画图使用[DALL·E-3模型](https://platform.openai.com/docs/models/dall-e), 支持修改style和quality
5-
> - 实现ai语音回复功能:使用[TTS模型](https://platform.openai.com/docs/models/tts)将gpt的回答转换为语音
6-
> - 无需为此功能额外配置apikey, 使用原先的即可
7-
> ![](https://cdn.jsdelivr.net/gh/ashinnotfound/ImageHosting/img/060f61de58ff2bfac9c31eb43935071.jpg)
8-
> --- 2023.12.7
3+
> ### NEWS: 新年快乐!!!现在你可以使用第三方GPT服务了🤗
4+
> how to: 修改gpt.baseUrl配置项即可使用第三方apikey
5+
>
6+
> ![image-20240115114827781](https://cdn.jsdelivr.net/gh/ashinnotfound/ImageHosting/img/image-20240115114827781.png)
7+
>
8+
> --- 2024.1.15
99
1010
## 简介
1111

@@ -28,15 +28,6 @@ qq机器人实现基于[TheoKanning/openai-java](https://github.com/TheoKanning/
2828
🌹🌹🌹感谢[acheong08/ChatGPT](https://github.com/acheong08/ChatGPT)[PlexPt/chatgpt-java](https://github.com/PlexPt/chatgpt-java)[TheoKanning/openai-java](https://github.com/TheoKanning/openai-java)[mamoe/mirai](https://github.com/mamoe/mirai.git)
2929
[wxmbaci/itchat4j-uos](https://github.com/wxmbaci/itchat4j-uos) 🌹🌹🌹
3030

31-
## 原理
32-
33-
使用mirai/itchat登录qq/微信并监听消息->调用openai接口将消息向gpt提问->使用mirai/itchat在qq/微信里回复gpt的回答
34-
35-
ai画图采用[DALL·E模型](https://platform.openai.com/docs/models/dall-e)
36-
[generation方法](https://platform.openai.com/docs/guides/images/generations)
37-
38-
ai语音回复使用[TTS模型](https://platform.openai.com/docs/models/tts)将gpt的回答转换为语音
39-
4031
## 一些特性 or TODO
4132

4233
| 功能 | QQ机器人 | 微信机器人 |
@@ -47,20 +38,28 @@ ai语音回复使用[TTS模型](https://platform.openai.com/docs/models/tts)将g
4738
| 引用回复 | ✔️ ||
4839
| 使用多apikey | ✔️ | ✔️ |
4940
| 重置会话 | ✔️ | ✔️ |
50-
| 第三方/免apikey | 计划🥳 | 计划🥳 |
41+
| 第三方GPT | ✔️ | ✔️ |
5142
| 网页控制台 | 计划🥳 | 计划🥳 |
5243

44+
## 原理
45+
46+
使用mirai/itchat登录qq/微信并监听消息->调用openai接口将消息向gpt提问->使用mirai/itchat在qq/微信里回复gpt的回答
47+
48+
ai画图采用[DALL·E模型](https://platform.openai.com/docs/models/dall-e)[generation方法](https://platform.openai.com/docs/guides/images/generations)
49+
50+
ai语音回复使用[TTS模型](https://platform.openai.com/docs/models/tts)将gpt的回答转换为语音
51+
5352
### 你可能需要了解:
5453

55-
> - 获取apiKey https://platform.openai.com/account/api-keys
54+
> - 获取官方apiKey https://platform.openai.com/account/api-keys
5655
> - 向机器人发送 “重置会话” 可以清除会话历史, 可在配置文件里修改指令
5756
> - 对话历史溢出时会自动删除较前的会话历史并重新提问
5857
> - 可以设置basicPrompt达到具有性格的目的, 如:“接下来在我向你陈述一件事情时, 你只需要回答:“典”。”
5958
> - 支持使用多个apiKey。在此情况下, 会优先调用使用次数最少的apiKey, 达到避免同一个api请求过多造成的Http500/503问题的目的
6059
> - 偶尔会出现ai画图和语音回复无响应, 请重新登录
6160
> - 若出现登录失败请尝试以下操作
6261
> - 再试一次?
63-
> - 清除缓存(cache文件夹) 更换协议后重试
62+
> - 清除缓存(cache文件夹) 更换qq登录协议后重试
6463
> - 清除缓存(cache文件夹) 更换网络环境后重试
6564
> - ~~骂腾讯风控😡~~
6665
@@ -93,6 +92,9 @@ proxy:
9392
port:
9493
9594
gpt:
95+
# 如果你使用了第三方GPT 请修改baseUrl
96+
# (OPENAI官方地址 https://api.openai.com/)
97+
baseUrl: https://api.openai.com/
9698
# 使用的 chat 模型 如gpt-3.5-turbo/gpt-4 (https://platform.openai.com/docs/models/models)
9799
model: gpt-3.5-turbo
98100
# 最大token限制 越多的token意味着越多的花费(gpt-3.5-turbo上限为4096token, gpt-4则为8192)
@@ -158,6 +160,14 @@ tips:机器人响应速度与你的网络环境挂钩。
158160

159161
<summary></summary>
160162

163+
### v3.9.1 (Jan 15, 2024)
164+
165+
- 增加对第三方GPT服务的支持
166+
- qq机器人基于[TheoKanning/openai-java](https://github.com/TheoKanning/openai-java)
167+
[mamoe/mirai](https://github.com/mamoe/mirai.git)
168+
- 微信机器人基于[TheoKanning/openai-java](https://github.com/TheoKanning/openai-java)
169+
[wxmbaci/itchat4j-uos](https://github.com/wxmbaci/itchat4j-uos)
170+
161171
### v3.9 (DEC 7, 2023)
162172

163173
- ai画图使用[DALL·E-3模型](https://platform.openai.com/docs/models/dall-e), 支持修改style和quality

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</parent>
1111
<groupId>com.ashin</groupId>
1212
<artifactId>ChatGPT-YourChatRobot</artifactId>
13-
<version>3.9</version>
13+
<version>3.9.1</version>
1414
<name>myGPT</name>
1515
<description>快来把你的qq或微信变为chatgpt</description>
1616
<properties>

0 commit comments

Comments
 (0)