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

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

上级 ebdf6589
......@@ -26,7 +26,7 @@
<dependency>
<groupId>cn.bugstack</groupId>
<artifactId>chatglm-sdk-java</artifactId>
<version>1.0</version>
<version>1.1</version>
</dependency>
```
......
......@@ -6,7 +6,7 @@
<groupId>cn.bugstack</groupId>
<artifactId>chatglm-sdk-java</artifactId>
<version>1.0</version>
<version>1.1</version>
<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>
......@@ -27,7 +27,7 @@
<email>184172133@qq.com</email>
<url>https://github.com/fuzhengwei</url>
<organization>chatglm ai</organization>
<organizationUrl>https://open.bigmodel.cn/</organizationUrl>
<organizationUrl>https://github.com/fuzhengwei/chatglm-sdk-java</organizationUrl>
<roles>
<role>architect</role>
<role>developer</role>
......@@ -155,16 +155,15 @@
</plugins>
</build>
<!-- 发布
<profiles>
<profile>
&lt;!&ndash;注意,此id必须与setting.xml中指定的一致,不要自作聪明改它名字&ndash;&gt;
<!--注意,此id必须与setting.xml中指定的一致,不要自作聪明改它名字-->
<id>release</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
&lt;!&ndash;发布到中央SNAPSHOT仓库插件&ndash;&gt;
<!--发布到中央SNAPSHOT仓库插件-->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
......@@ -178,7 +177,7 @@
</configuration>
</plugin>
&lt;!&ndash;生成源码插件&ndash;&gt;
<!--生成源码插件-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
......@@ -193,7 +192,7 @@
</executions>
</plugin>
&lt;!&ndash;生成API文档插件&ndash;&gt;
<!--生成API文档插件-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
......@@ -206,14 +205,14 @@
</goals>
<configuration>
<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>
</configuration>
</execution>
</executions>
</plugin>
&lt;!&ndash;gpg插件&ndash;&gt;
<!--gpg插件-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
......@@ -238,7 +237,7 @@
<distributionManagement>
<snapshotRepository>
&lt;!&ndash;注意,此id必须与setting.xml中指定的一致&ndash;&gt;
<!--注意,此id必须与setting.xml中指定的一致-->
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
......@@ -249,6 +248,6 @@
</distributionManagement>
</profile>
</profiles>-->
</profiles>
</project>
......@@ -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());
}
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册