mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-05-04 22:13:59 +00:00
Add MiniMax AI as the 7th LLM provider, supporting chat (M2.7, M2.5, M2.5-highspeed) and embedding (embo-01) models via OpenAI-compatible API. Changes: - Add MINIMAX enum to ChatModeType - Add MinimaxServiceImpl chat provider (OpenAI-compat streaming) - Add MinimaxEmbeddingProvider for vector embeddings - Add SQL migration for provider and model registration - Add 14 unit tests + 3 integration tests - Update README/README_EN with MiniMax in provider list
169 lines
5.3 KiB
XML
169 lines
5.3 KiB
XML
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<parent>
|
|
<groupId>org.ruoyi</groupId>
|
|
<artifactId>ruoyi-modules</artifactId>
|
|
<version>${revision}</version>
|
|
</parent>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>ruoyi-chat</artifactId>
|
|
<description>
|
|
聊天模块 - API定义和服务实现
|
|
</description>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.ruoyi</groupId>
|
|
<artifactId>ruoyi-common-chat</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.ruoyi</groupId>
|
|
<artifactId>ruoyi-common-sse</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.ruoyi</groupId>
|
|
<artifactId>ruoyi-common-sensitive</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-open-ai</artifactId>
|
|
<version>${langchain4j.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-ollama</artifactId>
|
|
<version>${langchain4j.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-agentic</artifactId>
|
|
<version>${langchain4j.community.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-community-dashscope</artifactId>
|
|
<version>${langchain4j.community.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-community-zhipu-ai</artifactId>
|
|
<version>${langchain4j.community.version}</version>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>com.zaxxer</groupId>
|
|
<artifactId>HikariCP</artifactId>
|
|
</dependency>
|
|
|
|
<!--文档解析-->
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-document-parser-apache-tika</artifactId>
|
|
<version>${langchain4j.community.version}</version>
|
|
<exclusions>
|
|
<exclusion>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-compress</artifactId>
|
|
</exclusion>
|
|
</exclusions>
|
|
</dependency>
|
|
|
|
<!-- LangChain4j Milvus Embedding Store -->
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-milvus</artifactId>
|
|
<version>${langchain4j.community.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-weaviate</artifactId>
|
|
<version>${langchain4j.community.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>dev.langchain4j</groupId>
|
|
<artifactId>langchain4j-mcp</artifactId>
|
|
<version>${langchain4j.community.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.testcontainers</groupId>
|
|
<artifactId>weaviate</artifactId>
|
|
<version>${weaviate.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.ruoyi</groupId>
|
|
<artifactId>ruoyi-common-idempotent</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.ruoyi</groupId>
|
|
<artifactId>ruoyi-common-log</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.ruoyi</groupId>
|
|
<artifactId>ruoyi-common-web</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.ruoyi</groupId>
|
|
<artifactId>ruoyi-common-doc</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.neo4j.driver</groupId>
|
|
<artifactId>neo4j-java-driver</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.github.imfangs</groupId>
|
|
<artifactId>dify-java-client</artifactId>
|
|
<version>${dify.version}</version>
|
|
</dependency>
|
|
|
|
<!-- HikariCP 数据库连接池 -->
|
|
<dependency>
|
|
<groupId>com.zaxxer</groupId>
|
|
<artifactId>HikariCP</artifactId>
|
|
</dependency>
|
|
|
|
<!-- MySQL JDBC 驱动 -->
|
|
<dependency>
|
|
<groupId>com.mysql</groupId>
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Test dependencies -->
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-junit-jupiter</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project>
|