Skip to content

Commit

Permalink
update version number
Browse files Browse the repository at this point in the history
modifying the README
  • Loading branch information
citmina committed Aug 5, 2023
1 parent 7142b78 commit 11d9e32
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
13 changes: 11 additions & 2 deletions README-EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,28 @@

[Project demo](https://github.com/gemingjia/springboot-wenxin-demo)

```text
This version almost refactoring the entire project, the path between the client and the parameter class has changed, there is a certain incompatibility with the previous version, the method has not changed, just re-guide the package.
"Bloomz7BClient" -> "BloomZ7BClient"
Except "ErnieBot" and "Prompt", the receiving parameter class of the other conversational models is unified as ChatBaseRequest, and the response class is ChatResponse
The receiving parameter class of the image generation model is unified as ChatImageRequest, the response class is ImageBaseRequest, and the content is base64 encoded image.
```

### 1、Add Dependencies
- Maven
```xml
<dependency>
<groupId>io.github.gemingjia</groupId>
<artifactId>gear-wenxinworkshop-starter</artifactId>
<version>0.0.5</version>
<version>0.0.6</version>
</dependency>
```
- Gradle
```gradle
dependencies {
implementation 'io.github.gemingjia:gear-wenxinworkshop-starter:0.0.3.2'
implementation 'io.github.gemingjia:gear-wenxinworkshop-starter:0.0.6'
}
```

Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,14 @@

[使用demo](https://github.com/gemingjia/springboot-wenxin-demo)

此版本近乎重构整个项目,与之前版本的存在一定的不兼容情况,请重新导包。
```text
此版本近乎重构整个项目,客户端与参数类的路径有变化,与之前版本的存在一定的不兼容情况,方法未改变,重新导包即可。
"Bloomz7B" -> "BloomZ7B"
"Bloomz7BClient" -> "BloomZ7BClient"
除 "ErnieBot"外,其余的接收参数统一为 ChatBaseRequest
除"ErnieBot"与"Prompt"外,其余的对话型模型接收参数类统一为 ChatBaseRequest,响应类为 ChatResponse
图片生成型模型接收参数类统一为 ChatImageRequest,响应类为 ImageBaseRequest,内容为base64编码的图片。
```

### 1、添加依赖
Repository Path: [/io/github/gemingjia/gear-wenxinworkshop-starter)
Expand All @@ -62,13 +65,13 @@ Repository Path: [/io/github/gemingjia/gear-wenxinworkshop-starter)
<dependency>
<groupId>io.github.gemingjia</groupId>
<artifactId>gear-wenxinworkshop-starter</artifactId>
<version>0.0.5</version>
<version>0.0.6</version>
</dependency>
```
- Gradle
```gradle
dependencies {
implementation 'io.github.gemingjia:gear-wenxinworkshop-starter:0.0.3.2'
implementation 'io.github.gemingjia:gear-wenxinworkshop-starter:0.0.6'
}
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>io.github.gemingjia</groupId>
<artifactId>gear-wenxinworkshop-starter</artifactId>
<version>0.0.5</version>
<version>0.0.6</version>
<name>gear-wenxinworkshop-starter</name>
<description>A springboot start of Baidu "WENXINWORKSHOP"</description>
<url>https://github.com/gemingjia/gear-wenxinworkshop-starter</url>
Expand Down

0 comments on commit 11d9e32

Please sign in to comment.