2024-03-12 21:07:09 +08:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>cn.iocoder.boot</groupId>
|
|
|
|
|
<artifactId>yudao-module-ai</artifactId>
|
|
|
|
|
<version>${revision}</version>
|
|
|
|
|
</parent>
|
2024-06-29 18:13:36 +08:00
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2024-03-12 21:07:09 +08:00
|
|
|
|
<artifactId>yudao-spring-boot-starter-ai</artifactId>
|
2024-07-03 21:11:10 +08:00
|
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
2024-06-29 18:13:36 +08:00
|
|
|
|
<name>${project.artifactId}</name>
|
|
|
|
|
<description>AI 大模型拓展,接入国内外大模型</description>
|
|
|
|
|
<properties>
|
2025-02-22 10:47:18 +08:00
|
|
|
|
<spring-ai.groupId>org.springframework.ai</spring-ai.groupId>
|
|
|
|
|
<spring-ai.version>1.0.0-M6</spring-ai.version>
|
2024-06-29 18:13:36 +08:00
|
|
|
|
</properties>
|
2024-03-12 21:07:09 +08:00
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
2025-03-04 23:12:24 +08:00
|
|
|
|
<groupId>cn.iocoder.boot</groupId>
|
|
|
|
|
<artifactId>yudao-common</artifactId>
|
2024-03-13 20:51:53 +08:00
|
|
|
|
</dependency>
|
2025-03-04 23:12:24 +08:00
|
|
|
|
|
|
|
|
|
<!-- Spring AI Model 模型接入 -->
|
2024-05-17 22:16:57 +08:00
|
|
|
|
<dependency>
|
2024-09-01 08:58:40 +08:00
|
|
|
|
<groupId>${spring-ai.groupId}</groupId>
|
2024-05-18 09:34:17 +08:00
|
|
|
|
<artifactId>spring-ai-openai-spring-boot-starter</artifactId>
|
2024-06-29 18:13:36 +08:00
|
|
|
|
<version>${spring-ai.version}</version>
|
2024-05-17 22:16:57 +08:00
|
|
|
|
</dependency>
|
2024-08-10 14:34:57 +08:00
|
|
|
|
<dependency>
|
2024-09-01 08:58:40 +08:00
|
|
|
|
<groupId>${spring-ai.groupId}</groupId>
|
2024-08-10 14:34:57 +08:00
|
|
|
|
<artifactId>spring-ai-azure-openai-spring-boot-starter</artifactId>
|
|
|
|
|
<version>${spring-ai.version}</version>
|
|
|
|
|
</dependency>
|
2024-07-06 18:16:47 +08:00
|
|
|
|
<dependency>
|
2024-09-01 08:58:40 +08:00
|
|
|
|
<groupId>${spring-ai.groupId}</groupId>
|
2024-07-06 18:16:47 +08:00
|
|
|
|
<artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
|
|
|
|
|
<version>${spring-ai.version}</version>
|
|
|
|
|
</dependency>
|
2024-06-01 11:24:39 +08:00
|
|
|
|
<dependency>
|
2024-09-01 08:58:40 +08:00
|
|
|
|
<groupId>${spring-ai.groupId}</groupId>
|
2024-06-29 18:13:36 +08:00
|
|
|
|
<artifactId>spring-ai-stability-ai-spring-boot-starter</artifactId>
|
|
|
|
|
<version>${spring-ai.version}</version>
|
2024-06-01 11:24:39 +08:00
|
|
|
|
</dependency>
|
2024-08-05 14:00:35 +08:00
|
|
|
|
<dependency>
|
2025-03-04 23:12:24 +08:00
|
|
|
|
<!-- 通义千问 -->
|
|
|
|
|
<groupId>com.alibaba.cloud.ai</groupId>
|
|
|
|
|
<artifactId>spring-ai-alibaba-starter</artifactId>
|
|
|
|
|
<version>1.0.0-M5.1</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<!-- 文心一言 -->
|
2024-09-01 08:58:40 +08:00
|
|
|
|
<groupId>${spring-ai.groupId}</groupId>
|
2025-03-04 23:12:24 +08:00
|
|
|
|
<artifactId>spring-ai-qianfan-spring-boot-starter</artifactId>
|
2024-08-05 14:00:35 +08:00
|
|
|
|
<version>${spring-ai.version}</version>
|
|
|
|
|
</dependency>
|
2024-08-05 13:53:50 +08:00
|
|
|
|
<dependency>
|
2025-03-04 23:12:24 +08:00
|
|
|
|
<!-- 智谱 GLM -->
|
2024-09-01 08:58:40 +08:00
|
|
|
|
<groupId>${spring-ai.groupId}</groupId>
|
2025-03-04 23:12:24 +08:00
|
|
|
|
<artifactId>spring-ai-zhipuai-spring-boot-starter</artifactId>
|
2024-08-05 13:53:50 +08:00
|
|
|
|
<version>${spring-ai.version}</version>
|
|
|
|
|
</dependency>
|
2024-08-09 00:09:19 +08:00
|
|
|
|
|
2025-03-04 23:12:24 +08:00
|
|
|
|
<!-- 向量存储:https://db-engines.com/en/ranking/vector+dbms -->
|
2024-08-05 13:53:50 +08:00
|
|
|
|
<dependency>
|
2025-03-04 23:12:24 +08:00
|
|
|
|
<!-- Qdrant:https://qdrant.tech/ -->
|
|
|
|
|
<groupId>${spring-ai.groupId}</groupId>
|
|
|
|
|
<artifactId>spring-ai-qdrant-store</artifactId>
|
|
|
|
|
<version>${spring-ai.version}</version>
|
2024-08-05 13:53:50 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
2025-03-04 23:12:24 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
<!-- Redis:https://redis.io/docs/latest/develop/get-started/vector-database/ -->
|
|
|
|
|
<groupId>${spring-ai.groupId}</groupId>
|
|
|
|
|
<artifactId>spring-ai-redis-store</artifactId>
|
|
|
|
|
<version>${spring-ai.version}</version>
|
|
|
|
|
</dependency>
|
2024-03-13 20:51:53 +08:00
|
|
|
|
<dependency>
|
2024-05-16 22:42:39 +08:00
|
|
|
|
<groupId>cn.iocoder.boot</groupId>
|
2025-03-04 23:12:24 +08:00
|
|
|
|
<artifactId>yudao-spring-boot-starter-redis</artifactId>
|
2024-03-13 20:51:53 +08:00
|
|
|
|
</dependency>
|
2024-05-16 22:42:39 +08:00
|
|
|
|
|
2024-06-29 18:33:16 +08:00
|
|
|
|
<dependency>
|
2025-03-04 23:12:24 +08:00
|
|
|
|
<!-- Milvus:https://milvus.io/ -->
|
|
|
|
|
<groupId>org.springframework.ai</groupId>
|
|
|
|
|
<artifactId>spring-ai-milvus-store</artifactId>
|
2024-09-01 08:58:40 +08:00
|
|
|
|
<version>${spring-ai.version}</version>
|
2024-06-29 18:33:16 +08:00
|
|
|
|
</dependency>
|
|
|
|
|
|
2024-03-14 20:16:07 +08:00
|
|
|
|
<dependency>
|
2025-03-04 23:12:24 +08:00
|
|
|
|
<!-- Tika:负责内容的解析 -->
|
|
|
|
|
<groupId>${spring-ai.groupId}</groupId>
|
|
|
|
|
<artifactId>spring-ai-tika-document-reader</artifactId>
|
|
|
|
|
<version>${spring-ai.version}</version>
|
|
|
|
|
<!-- TODO 芋艿:boot 项目里,不引入 cloud 依赖!!!另外,这样也是为了解决启动报错的问题! -->
|
2024-07-27 22:36:08 +08:00
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
2025-03-04 23:12:24 +08:00
|
|
|
|
<artifactId>spring-cloud-function-context</artifactId>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>spring-cloud-function-core</artifactId>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
2024-07-27 22:36:08 +08:00
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
2024-03-14 20:16:07 +08:00
|
|
|
|
</dependency>
|
2024-05-16 22:42:39 +08:00
|
|
|
|
|
2024-07-03 21:11:10 +08:00
|
|
|
|
<!-- Test 测试相关 -->
|
2024-03-24 20:10:34 +08:00
|
|
|
|
<dependency>
|
2024-07-06 08:56:36 +08:00
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
2024-05-16 22:42:39 +08:00
|
|
|
|
<scope>test</scope>
|
2024-03-24 20:10:34 +08:00
|
|
|
|
</dependency>
|
2024-03-12 21:07:09 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
</project>
|