<?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</artifactId>
|
<version>${revision}</version>
|
</parent>
|
<modelVersion>4.0.0</modelVersion>
|
<packaging>jar</packaging>
|
<artifactId>yudao-module-ai</artifactId>
|
|
<name>${project.artifactId}</name>
|
<description>
|
ai 模块下,接入 LLM 大模型,支持聊天、绘图、音乐、写作、思维导图等功能。
|
目前已接入各种模型,不限于:
|
国内:通义千问、文心一言、讯飞星火、智谱 GLM、DeepSeek
|
国外:OpenAI、Ollama、Midjourney、StableDiffusion、Suno
|
</description>
|
<properties>
|
<spring-ai.version>2.0.0</spring-ai.version>
|
<!-- https://mvnrepository.com/artifact/com.alibaba.cloud.ai/spring-ai-alibaba -->
|
<alibaba-ai.version>2.0.0-M1.1</alibaba-ai.version>
|
</properties>
|
|
<dependencies>
|
<dependency>
|
<groupId>cn.iocoder.boot</groupId>
|
<artifactId>yudao-module-ai-api</artifactId>
|
<version>${revision}</version>
|
</dependency>
|
<dependency>
|
<groupId>cn.iocoder.boot</groupId>
|
<artifactId>yudao-module-system</artifactId>
|
<version>${revision}</version>
|
</dependency>
|
<dependency>
|
<groupId>cn.iocoder.boot</groupId>
|
<artifactId>yudao-module-infra</artifactId>
|
<version>${revision}</version>
|
</dependency>
|
|
<!-- 业务组件 -->
|
|
<dependency>
|
<groupId>cn.iocoder.boot</groupId>
|
<artifactId>yudao-spring-boot-starter-biz-tenant</artifactId>
|
</dependency>
|
|
<!-- Web 相关 -->
|
<dependency>
|
<groupId>cn.iocoder.boot</groupId>
|
<artifactId>yudao-spring-boot-starter-security</artifactId>
|
</dependency>
|
|
<!-- DB 相关 -->
|
<dependency>
|
<groupId>cn.iocoder.boot</groupId>
|
<artifactId>yudao-spring-boot-starter-mybatis</artifactId>
|
</dependency>
|
|
<!-- Job 相关 -->
|
<dependency>
|
<groupId>cn.iocoder.boot</groupId>
|
<artifactId>yudao-spring-boot-starter-job</artifactId>
|
</dependency>
|
|
<!-- Test 测试相关 -->
|
<dependency>
|
<groupId>cn.iocoder.boot</groupId>
|
<artifactId>yudao-spring-boot-starter-test</artifactId>
|
</dependency>
|
|
<!-- 工具类相关 -->
|
<dependency>
|
<groupId>cn.iocoder.boot</groupId>
|
<artifactId>yudao-spring-boot-starter-excel</artifactId>
|
</dependency>
|
|
<!-- Spring AI Model 模型接入 -->
|
<dependency>
|
<groupId>org.springframework.ai</groupId>
|
<artifactId>spring-ai-starter-model-openai</artifactId>
|
<version>${spring-ai.version}</version>
|
<exclusions>
|
<exclusion>
|
<groupId>io.swagger.core.v3</groupId>
|
<artifactId>swagger-annotations-jakarta</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<!-- 向量存储:https://db-engines.com/en/ranking/vector+dbms -->
|
<dependency>
|
<groupId>cn.iocoder.boot</groupId>
|
<artifactId>yudao-spring-boot-starter-redis</artifactId>
|
</dependency>
|
|
<dependency>
|
<!-- Milvus:https://milvus.io/ -->
|
<groupId>org.springframework.ai</groupId>
|
<artifactId>spring-ai-starter-vector-store-milvus</artifactId>
|
<version>${spring-ai.version}</version>
|
<exclusions>
|
<!-- 解决和 logback 的日志冲突 -->
|
<exclusion>
|
<groupId>org.slf4j</groupId>
|
<artifactId>slf4j-reload4j</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
|
<!-- Apache POI:负责 .doc/.docx 文件内容提取,比 Tika 对中文支持更好 -->
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi-ooxml</artifactId>
|
<version>5.4.0</version>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi-scratchpad</artifactId>
|
<version>5.4.0</version>
|
</dependency>
|
|
</dependencies>
|
|
</project>
|