提交 643b87ce 编写于 作者: 小傅哥's avatar 小傅哥

feat:v1.1 发布,文档更新

上级 ebdf6589
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<dependency> <dependency>
<groupId>cn.bugstack</groupId> <groupId>cn.bugstack</groupId>
<artifactId>chatglm-sdk-java</artifactId> <artifactId>chatglm-sdk-java</artifactId>
<version>1.0</version> <version>1.1</version>
</dependency> </dependency>
``` ```
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<groupId>cn.bugstack</groupId> <groupId>cn.bugstack</groupId>
<artifactId>chatglm-sdk-java</artifactId> <artifactId>chatglm-sdk-java</artifactId>
<version>1.0</version> <version>1.1</version>
<name>chatglm-sdk-java</name> <name>chatglm-sdk-java</name>
<description>OpenAI Java SDK, ZhiPuAi ChatGLM Java SDK . Copyright © 2023 bugstack虫洞栈 All rights reserved. 版权所有(C)小傅哥 https://github.com/fuzhengwei/chatglm-sdk-java</description> <description>OpenAI Java SDK, ZhiPuAi ChatGLM Java SDK . Copyright © 2023 bugstack虫洞栈 All rights reserved. 版权所有(C)小傅哥 https://github.com/fuzhengwei/chatglm-sdk-java</description>
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<email>184172133@qq.com</email> <email>184172133@qq.com</email>
<url>https://github.com/fuzhengwei</url> <url>https://github.com/fuzhengwei</url>
<organization>chatglm ai</organization> <organization>chatglm ai</organization>
<organizationUrl>https://open.bigmodel.cn/</organizationUrl> <organizationUrl>https://github.com/fuzhengwei/chatglm-sdk-java</organizationUrl>
<roles> <roles>
<role>architect</role> <role>architect</role>
<role>developer</role> <role>developer</role>
...@@ -155,16 +155,15 @@ ...@@ -155,16 +155,15 @@
</plugins> </plugins>
</build> </build>
<!-- 发布
<profiles> <profiles>
<profile> <profile>
&lt;!&ndash;注意,此id必须与setting.xml中指定的一致,不要自作聪明改它名字&ndash;&gt; <!--注意,此id必须与setting.xml中指定的一致,不要自作聪明改它名字-->
<id>release</id> <id>release</id>
<activation> <activation>
<activeByDefault>true</activeByDefault> <activeByDefault>true</activeByDefault>
</activation> </activation>
<build> <build>
&lt;!&ndash;发布到中央SNAPSHOT仓库插件&ndash;&gt; <!--发布到中央SNAPSHOT仓库插件-->
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
...@@ -178,7 +177,7 @@ ...@@ -178,7 +177,7 @@
</configuration> </configuration>
</plugin> </plugin>
&lt;!&ndash;生成源码插件&ndash;&gt; <!--生成源码插件-->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
...@@ -193,7 +192,7 @@ ...@@ -193,7 +192,7 @@
</executions> </executions>
</plugin> </plugin>
&lt;!&ndash;生成API文档插件&ndash;&gt; <!--生成API文档插件-->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
...@@ -206,14 +205,14 @@ ...@@ -206,14 +205,14 @@
</goals> </goals>
<configuration> <configuration>
<additionalparam>-Xdoclint:none</additionalparam> <additionalparam>-Xdoclint:none</additionalparam>
&lt;!&ndash; /usr/libexec/java_home -V &ndash;&gt; <!-- /usr/libexec/java_home -V -->
<javadocExecutable>/Library/Java/JavaVirtualMachines/jdk1.8.0_311.jdk/Contents/Home/bin/javadoc</javadocExecutable> <javadocExecutable>/Library/Java/JavaVirtualMachines/jdk1.8.0_311.jdk/Contents/Home/bin/javadoc</javadocExecutable>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
&lt;!&ndash;gpg插件&ndash;&gt; <!--gpg插件-->
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId> <artifactId>maven-gpg-plugin</artifactId>
...@@ -238,7 +237,7 @@ ...@@ -238,7 +237,7 @@
<distributionManagement> <distributionManagement>
<snapshotRepository> <snapshotRepository>
&lt;!&ndash;注意,此id必须与setting.xml中指定的一致&ndash;&gt; <!--注意,此id必须与setting.xml中指定的一致-->
<id>ossrh</id> <id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository> </snapshotRepository>
...@@ -249,6 +248,6 @@ ...@@ -249,6 +248,6 @@
</distributionManagement> </distributionManagement>
</profile> </profile>
</profiles>--> </profiles>
</project> </project>
...@@ -127,7 +127,7 @@ public class ApiTest { ...@@ -127,7 +127,7 @@ public class ApiTest {
{ {
add(ChatCompletionRequest.Prompt.builder() add(ChatCompletionRequest.Prompt.builder()
.role(Role.user.getCode()) .role(Role.user.getCode())
.content("写个java冒泡排序") .content("1+1")
.build()); .build());
} }
}); });
...@@ -152,7 +152,7 @@ public class ApiTest { ...@@ -152,7 +152,7 @@ public class ApiTest {
{ {
add(ChatCompletionRequest.Prompt.builder() add(ChatCompletionRequest.Prompt.builder()
.role(Role.user.getCode()) .role(Role.user.getCode())
.content("写个java冒泡排序") .content("1+1")
.build()); .build());
} }
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册