Skip to content

Commit fa7b33b

Browse files
author
guorutao
committed
Merge branch '1.1.4' into develop
2 parents c63a607 + c895700 commit fa7b33b

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ WebSocket参考:[OpenAIWebSocketEventSourceListener](https://github.com/Grt122
7979
- 支持全部OpenAI的Api
8080

8181
# 📑 更新日志
82+
- [x] 1.1.4 Bug Fix
8283
- [x] 1.1.3 支持Assistant、Run、Thread、Message Api。测试案例[OpenAiClientTest](https://github.com/Grt1228/chatgpt-java/blob/develop/src/test/java/com/unfbx/chatgpt/v1_1_3/OpenAiClientTest.java)
8384
- [x] 1.1.2-beta0 支持附加图片的ChatCompletion、指定返回数据格式、Tool Call、Dall-e-3生成图片、FineTuneJob、文本转语音TTS。官方文档示例:[chatgpt-java.unfbx.com](https://chatgpt-java.unfbx.com/docs/category/-%E6%A0%B8%E5%BF%83%E5%8A%9F%E8%83%BD) 。测试案例[OpenAiClientTest](https://github.com/Grt1228/chatgpt-java/blob/develop/src/test/java/com/unfbx/chatgpt/v1_1_2/OpenAiClientTest.java)
8485
- [x] 1.1.1-beta0 function call改成GPT插件模式调用更加简单的调用方式.参考实现[PluginTest](https://github.com/Grt1228/chatgpt-java/blob/develop/src/test/java/com/unfbx/chatgpt/PluginTest.java)

README_EN.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ WebSocket Reference:[OpenAIWebSocketEventSourceListener](https://github.com/Gr
6565
- Supports all OpenAI APIs.
6666

6767
# 📑 Update Log
68+
- [x] 1.1.4 Bug Fix
6869
- [x] 1.1.3 Upgrade to support Assistant、Run、Thread、Message Api. eg: [OpenAiClientTest](https://github.com/Grt1228/chatgpt-java/blob/develop/src/test/java/com/unfbx/chatgpt/v1_1_3/OpenAiClientTest.java)
6970
- [x] 1.1.2-beta0 Upgrade to support chat completion with picture GPT-4V、return JSON model、Tool Call、Dall-e-3、Fine Tune Job、TTS.
7071
- [x] 1.1.1-beta0 function call update to GPT plugin model, so easy use the plugin api. eg: [PluginTest](https://github.com/Grt1228/chatgpt-java/blob/develop/src/test/java/com/unfbx/chatgpt/PluginTest.java)

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.unfbx</groupId>
77
<artifactId>chatgpt-java</artifactId>
8-
<version>1.1.3</version>
8+
<version>1.1.4</version>
99
<name>chatgpt-java</name>
1010
<description>OpenAI Java SDK, OpenAI Api for Java. ChatGPT Java SDK .</description>
1111
<url>https://chatgpt-java.unfbx.com</url>

src/main/java/com/unfbx/chatgpt/entity/assistant/message/FileCitation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
public class FileCitation {
2424

2525
@JsonProperty("file_id")
26-
private String file_id;
26+
private String fileId;
2727

2828
@JsonProperty("quote")
2929
private String quote;

src/main/java/com/unfbx/chatgpt/entity/assistant/message/FilePath.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@
2323
public class FilePath {
2424

2525
@JsonProperty("file_id")
26-
private String file_id;
26+
private String fileId;
2727
}

src/main/java/com/unfbx/chatgpt/entity/assistant/run/Image.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* 描述:
1414
*
1515
* @author https://www.unfbx.com
16-
* @since 1.1.3
16+
* @since 1.1.4
1717
* 2023-11-20
1818
*/
1919
@Data
@@ -26,5 +26,5 @@
2626
public class Image implements Serializable {
2727

2828
@JsonProperty("file_id")
29-
private Image file_id;
29+
private String fileId;
3030
}

0 commit comments

Comments
 (0)