chore(config): 添加开发环境配置及项目依赖管理
- 新增application-dev.yaml,配置PostgreSQL数据库连接和MyBatis Plus参数 - 添加Spring AI配置及MinIO对象存储服务参数 - 配置日志输出级别,便于开发环境调试 - 新建pom.xml,声明项目依赖及版本管理 - 集成Spring Boot、Spring AI、MyBatis Plus及MinIO客户端依赖 - 增加多种文档解析相关依赖,支持PDF、Word、Excel、Markdown和通用文档解析 - 设定Java 17编译版本和Spring Boot父项目版本管理
This commit is contained in:
22
pom.xml
22
pom.xml
@@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>3.5.12</version>
|
<version>3.2.1</version>
|
||||||
<relativePath/> <!-- lookup parent from repository -->
|
<relativePath/> <!-- lookup parent from repository -->
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>cn.yinlihupo</groupId>
|
<groupId>cn.yinlihupo</groupId>
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
<maven.compiler.target>17</maven.compiler.target>
|
<maven.compiler.target>17</maven.compiler.target>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<java.version>17</java.version>
|
<java.version>17</java.version>
|
||||||
<spring-ai.version>1.0.0-M6</spring-ai.version>
|
<spring-ai.version>1.1.0</spring-ai.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
@@ -38,33 +38,31 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.projectlombok</groupId>
|
<groupId>org.projectlombok</groupId>
|
||||||
<artifactId>lombok</artifactId>
|
<artifactId>lombok</artifactId>
|
||||||
<version>${lombok.version}</version>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!--hutool all-->
|
<!--hutool all-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>cn.hutool</groupId>
|
<groupId>cn.hutool</groupId>
|
||||||
<artifactId>hutool-all</artifactId>
|
<artifactId>hutool-all</artifactId>
|
||||||
<version>5.8.11</version>
|
<version>5.8.23</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- PostgreSQL 数据库驱动 -->
|
<!-- PostgreSQL 数据库驱动 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.postgresql</groupId>
|
<groupId>org.postgresql</groupId>
|
||||||
<artifactId>postgresql</artifactId>
|
<artifactId>postgresql</artifactId>
|
||||||
<scope>runtime</scope>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Spring AI -->
|
<!-- Spring AI -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.ai</groupId>
|
<groupId>org.springframework.ai</groupId>
|
||||||
<artifactId>spring-ai-openai-spring-boot-starter</artifactId>
|
<artifactId>spring-ai-starter-model-openai</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Spring AI PostgreSQL Vector Store -->
|
<!-- Spring AI PostgreSQL Vector Store -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.ai</groupId>
|
<groupId>org.springframework.ai</groupId>
|
||||||
<artifactId>spring-ai-pgvector-store-spring-boot-starter</artifactId>
|
<artifactId>spring-ai-starter-vector-store-pgvector</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- MyBatis Plus -->
|
<!-- MyBatis Plus -->
|
||||||
@@ -134,6 +132,16 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<!-- Maven Central is included by default in Maven builds.
|
||||||
|
You usually don’t need to configure it explicitly,
|
||||||
|
but it's shown here for clarity. -->
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>central</id>
|
||||||
|
<url>https://repo.maven.apache.org/maven2</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ spring:
|
|||||||
base-url: https://sg1.proxy.yinlihupo.cc/proxy/https://openrouter.ai/api/v1
|
base-url: https://sg1.proxy.yinlihupo.cc/proxy/https://openrouter.ai/api/v1
|
||||||
chat:
|
chat:
|
||||||
options:
|
options:
|
||||||
model: Qwen3
|
model: google/gemini-2.5-flash
|
||||||
|
|
||||||
# MinIO 对象存储配置
|
# MinIO 对象存储配置
|
||||||
minio:
|
minio:
|
||||||
|
|||||||
Reference in New Issue
Block a user