build: v1.0.0-beta.12 release (^.^)YYa!!

This commit is contained in:
Michael Yang 2024-10-25 10:28:17 +08:00
parent 91d18f650f
commit 70195b14c4
41 changed files with 125 additions and 72 deletions

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<groupId>com.agentsflex</groupId>
@ -16,7 +16,7 @@
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<agents-flex.version>1.0.0-beta.11</agents-flex.version>
<agents-flex.version>1.0.0-beta.12</agents-flex.version>
</properties>
<dependencies>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-chain</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-chain-groovy</artifactId>
@ -27,7 +27,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<scope>compile</scope>
</dependency>
</dependencies>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-chain</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-chain-qlexpress</artifactId>
@ -26,7 +26,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<scope>compile</scope>
</dependency>
</dependencies>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<packaging>pom</packaging>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-core</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-document-parser</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-document-parser-omniparse</artifactId>
@ -21,7 +21,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</dependency>
</dependencies>
</project>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-document-parser</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-document-parser-pdfbox</artifactId>
@ -21,7 +21,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</dependency>
<dependency>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-document-parser</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-document-parser-poi</artifactId>
@ -23,7 +23,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</dependency>
<dependency>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<groupId>com.agentsflex</groupId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-image</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-image-gitee</artifactId>
@ -20,7 +20,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<scope>compile</scope>
</dependency>
<dependency>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-image</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-image-openai</artifactId>
@ -20,7 +20,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<scope>compile</scope>
</dependency>
<dependency>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-image</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-image-siliconflow</artifactId>
@ -20,7 +20,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<scope>compile</scope>
</dependency>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-image</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-image-stability</artifactId>
@ -20,7 +20,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</dependency>
<dependency>
<groupId>junit</groupId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-image</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-llm</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-llm-chatglm</artifactId>
@ -21,7 +21,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<scope>compile</scope>
</dependency>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-llm</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-llm-coze</artifactId>
@ -21,7 +21,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<scope>compile</scope>
</dependency>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-llm</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-llm-gitee</artifactId>
@ -21,7 +21,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</dependency>
<dependency>
<groupId>junit</groupId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-llm</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-llm-moonshot</artifactId>
@ -19,7 +19,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<scope>compile</scope>
</dependency>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-llm</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-llm-ollama</artifactId>
@ -21,7 +21,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<scope>compile</scope>
</dependency>
<dependency>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-llm</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-llm-openai</artifactId>
@ -20,7 +20,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</dependency>
<dependency>
<groupId>junit</groupId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-llm</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-llm-qwen</artifactId>
@ -20,7 +20,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<scope>compile</scope>
</dependency>
<dependency>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-llm</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-llm-spark</artifactId>
@ -20,7 +20,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<scope>compile</scope>
</dependency>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-llm</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-samples</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>milvus-samples</artifactId>
@ -20,13 +20,13 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-store-milvus</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-llm-spark</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<scope>compile</scope>
</dependency>
</dependencies>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-samples</artifactId>
@ -24,7 +24,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-llm-openai</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<scope>compile</scope>
</dependency>
</dependencies>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-spring-boot-starter</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-store</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-store-aliyun</artifactId>
@ -21,7 +21,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</dependency>
<dependency>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-store</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-store-chroma</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-store</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-store-elasticsearch</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-store</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-store-milvus</artifactId>
@ -22,7 +22,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</dependency>
<dependency>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-store</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-store-opensearch</artifactId>
@ -24,7 +24,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</dependency>
<dependency>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-store</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-store-qcloud</artifactId>
@ -20,7 +20,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<scope>compile</scope>
</dependency>
</dependencies>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-store</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-store-redis</artifactId>
@ -21,7 +21,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-core</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<scope>compile</scope>
</dependency>
@ -34,7 +34,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-llm-spark</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<scope>test</scope>
</dependency>
</dependencies>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-store</artifactId>

View File

@ -6,7 +6,7 @@
<parent>
<groupId>com.agentsflex</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</parent>
<artifactId>agents-flex-test</artifactId>

View File

@ -1,6 +1,59 @@
# Agents-Flex ChangeLog
## v1.0.0-beta.12 20241025
refactoradd DocumentStoreConfig
refactoroptimize HistoriesPrompt.java
refactor: update pom.xml in agents-flex-bom
refactor: upgrade jedis version to "5.2.0"
refactor: optimize RedisVectorStore
fix: NoClassDefFoundError in jdk17: javax/xml/bind/DatatypeConverter 感谢 @songyinyin #I9AELG
---
- 优化:添加 DocumentStoreConfig向量数据库的配置都实现 DocumentStoreConfig
- 优化:重构优化 HistoriesPrompt使其支持更多的属性配置
- 优化:更新 agents-flex-bom 的 pom.xml
- 优化:升级 jedis 版本为 "5.2.0"
- 优化:重构 RedisVectorStore 的错误信息,使之错误信息更加友好
- 修复:修复 jdk17 下出现 NoSuchMethodError 问题,感谢 @songyinyin #I9AELG
## v1.0.0-beta.11 20240918
- feat: GenerateImageRequest add negativePrompt property
- feat: Maps Util add putOrDefault method
- feat: add siliconFlow image models
- feat: ChatOptions add "seed" property
- feat: Maps can put a child map by key
- feat: Ollama add options config
- feat: Ollama function calling support
- feat: add StringUtil.isJsonObject method
- refactor: BaseImageRequest add extend options property
- refactor: make ImagePrompt to extends HumanMessage
- refactor: ImageResponse add error flag and errorMessage properties
- refactor: rename Image.writeBytesToFile to writeToFile
- refactor: rename "giteesd3" to "gitee"
- refactor: optimize VectorData.toString
---
- 新增GenerateImageRequest 添加反向提示词相关属性
- 新增Maps 工具类添加 putOrDefault 方法
- 新增:添加 siliconFlow 的图片模型的支持
- 新增: ChatOptions 添加 "seed" 属性
- 新增Maps 可以 put 一个子 map 的功能
- 新增:新增 Ollama 的函数调用Function Calling的支持
- 新增:添加 StringUtil.isJsonObject 方法
- 优化:重构 BaseImageRequest 类,添加 options 属性
- 优化:重构 ImagePrompt 使之继承于 HumanMessage
- 优化:重构 ImageResponse 类,添加 error 和 errorMessage 属性
- 优化:修改 Image.writeBytesToFile 方法为 writeToFile
- 优化:重命名 "giteesd3" 为 "gitee"
- 优化:重构 VectorData.toString 方法
## v1.0.0-beta.10 20240909
- feat: Added support for RedisStore vector storage, thanks to @giteeClass
- feat: Added support for large model dialogues for Coze Bot, thanks to @yulongsheng

View File

@ -17,14 +17,14 @@ Before you begin, ensure you are:
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-bom</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</dependency>
```
Or use Gradle:
```java
implementation 'com.agentsflex:agents-flex-bom:1.0.0-beta.11'
implementation 'com.agentsflex:agents-flex-bom:1.0.0-beta.12'
```
**Step 2: Create a Java class with a `main` method:**

View File

@ -12,7 +12,7 @@ You can check the latest version at: https://search.maven.org/artifact/com.agent
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-spring-boot-starter</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</dependency>
```
@ -23,6 +23,6 @@ You can check the latest version at: https://search.maven.org/artifact/com.agent
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-bom</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</dependency>
```

View File

@ -17,14 +17,14 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-bom</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</dependency>
```
或者使用 Gradle:
```java
implementation 'com.agentsflex:agents-flex-bom:1.0.0-beta.11'
implementation 'com.agentsflex:agents-flex-bom:1.0.0-beta.12'
```
**第 2 步:创建一个带有 Main 方法的 Java 类**

View File

@ -10,7 +10,7 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-bom</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</dependency>
```
@ -20,6 +20,6 @@
<dependency>
<groupId>com.agentsflex</groupId>
<artifactId>agents-flex-spring-boot-starter</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
</dependency>
```

View File

@ -6,7 +6,7 @@
<groupId>com.agentsflex</groupId>
<artifactId>parent</artifactId>
<version>1.0.0-beta.11</version>
<version>1.0.0-beta.12</version>
<packaging>pom</packaging>
<name>agents-flex</name>
@ -62,7 +62,7 @@
<okhttp.version>4.9.3</okhttp.version>
<fastjson.version>2.0.47</fastjson.version>
<spring-boot.version>2.7.18</spring-boot.version>
<agents-flex.version>1.0.0-beta.11</agents-flex.version>
<agents-flex.version>1.0.0-beta.12</agents-flex.version>
</properties>