From 643b87ce4c74472111d1df1b51fdc50db598dbca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=82=85=E5=93=A5?= <184172133@qq.com> Date: Thu, 14 Dec 2023 22:06:49 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9Av1.1=20=E5=8F=91=E5=B8=83=EF=BC=8C?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- pom.xml | 21 +++++++++---------- .../cn/bugstack/chatglm/test/ApiTest.java | 4 ++-- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 028f125..d80e3a8 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ cn.bugstack chatglm-sdk-java - 1.0 + 1.1 ``` diff --git a/pom.xml b/pom.xml index 3056134..1b0609a 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ cn.bugstack chatglm-sdk-java - 1.0 + 1.1 chatglm-sdk-java OpenAI Java SDK, ZhiPuAi ChatGLM Java SDK . Copyright © 2023 bugstack虫洞栈 All rights reserved. 版权所有(C)小傅哥 https://github.com/fuzhengwei/chatglm-sdk-java @@ -27,7 +27,7 @@ 184172133@qq.com https://github.com/fuzhengwei chatglm ai - https://open.bigmodel.cn/ + https://github.com/fuzhengwei/chatglm-sdk-java architect developer @@ -155,16 +155,15 @@ - release true - <!–发布到中央SNAPSHOT仓库插件–> + org.apache.maven.plugins @@ -178,7 +177,7 @@ - <!–生成源码插件–> + org.apache.maven.plugins maven-source-plugin @@ -193,7 +192,7 @@ - <!–生成API文档插件–> + org.apache.maven.plugins maven-javadoc-plugin @@ -206,14 +205,14 @@ -Xdoclint:none - <!– /usr/libexec/java_home -V –> + /Library/Java/JavaVirtualMachines/jdk1.8.0_311.jdk/Contents/Home/bin/javadoc - <!–gpg插件–> + org.apache.maven.plugins maven-gpg-plugin @@ -238,7 +237,7 @@ - <!–注意,此id必须与setting.xml中指定的一致–> + ossrh https://s01.oss.sonatype.org/content/repositories/snapshots @@ -249,6 +248,6 @@ - --> + diff --git a/src/test/java/cn/bugstack/chatglm/test/ApiTest.java b/src/test/java/cn/bugstack/chatglm/test/ApiTest.java index 963e939..1808b1d 100644 --- a/src/test/java/cn/bugstack/chatglm/test/ApiTest.java +++ b/src/test/java/cn/bugstack/chatglm/test/ApiTest.java @@ -127,7 +127,7 @@ public class ApiTest { { add(ChatCompletionRequest.Prompt.builder() .role(Role.user.getCode()) - .content("写个java冒泡排序") + .content("1+1") .build()); } }); @@ -152,7 +152,7 @@ public class ApiTest { { add(ChatCompletionRequest.Prompt.builder() .role(Role.user.getCode()) - .content("写个java冒泡排序") + .content("1+1") .build()); } }); -- GitLab