配置 yudao-dependencies spring-ai依赖

This commit is contained in:
cherishsince 2024-03-03 20:19:06 +08:00
parent 20ac7c6451
commit 33d77b9b16
4 changed files with 33 additions and 6 deletions

17
pom.xml
View File

@ -150,6 +150,23 @@
<name>aliyun</name> <name>aliyun</name>
<url>https://maven.aliyun.com/repository/public</url> <url>https://maven.aliyun.com/repository/public</url>
</repository> </repository>
<repository>
<id>spring-milestones</id>
<name>Spring Milestones</name>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>spring-snapshots</id>
<name>Spring Snapshots</name>
<url>https://repo.spring.io/snapshot</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories> </repositories>
</project> </project>

View File

@ -76,6 +76,7 @@
<xercesImpl.version>2.12.2</xercesImpl.version> <xercesImpl.version>2.12.2</xercesImpl.version>
<weixin-java.version>4.6.0</weixin-java.version> <weixin-java.version>4.6.0</weixin-java.version>
<ureport2.version>2.2.9</ureport2.version> <ureport2.version>2.2.9</ureport2.version>
<spring-ai-bom.version>0.8.0</spring-ai-bom.version>
</properties> </properties>
<dependencyManagement> <dependencyManagement>
@ -628,6 +629,14 @@
<version>${ureport2.version}</version> <version>${ureport2.version}</version>
</dependency> </dependency>
<!-- 添加ai模块 -->
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-bom</artifactId>
<version>${spring-ai-bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>

View File

@ -13,7 +13,7 @@
<modules> <modules>
<module>yudao-module-ai-api</module> <module>yudao-module-ai-api</module>
<module>/yudao-module-ai-biz</module> <module>yudao-module-ai-biz</module>
</modules> </modules>
<properties> <properties>
@ -23,11 +23,6 @@
</properties> </properties>
<dependencies> <dependencies>
<!-- 增加 openai -->
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-openai-spring-boot-starter</artifactId>
</dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -32,6 +32,12 @@
<version>${revision}</version> <version>${revision}</version>
</dependency> </dependency>
<dependency>
<groupId>cn.iocoder.boot</groupId>
<artifactId>yudao-module-ai-biz</artifactId>
<version>${revision}</version>
</dependency>
<!-- 会员中心。默认注释,保证编译速度 --> <!-- 会员中心。默认注释,保证编译速度 -->
<!-- <dependency>--> <!-- <dependency>-->
<!-- <groupId>cn.iocoder.boot</groupId>--> <!-- <groupId>cn.iocoder.boot</groupId>-->