mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-05-15 11:47:54 +00:00
378 lines
13 KiB
XML
378 lines
13 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">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
|
||
<parent>
|
||
<groupId>com.bytedesk</groupId>
|
||
<artifactId>modules</artifactId>
|
||
<version>${revision}</version>
|
||
</parent>
|
||
|
||
<groupId>com.bytedesk</groupId>
|
||
<artifactId>bytedesk-module-ai</artifactId>
|
||
<version>${revision}</version>
|
||
|
||
<name>bytedesk-module-ai</name>
|
||
<description>https://www.bytedesk.com</description>
|
||
|
||
<properties>
|
||
<ollama4j.version>1.0.100</ollama4j.version>
|
||
<spring-ai-alibaba.version>1.0.0-M6.1</spring-ai-alibaba.version>
|
||
<!-- <spring-ai.version>1.0.0-M6</spring-ai.version> -->
|
||
<spring-ai.version>1.0.0-SNAPSHOT</spring-ai.version>
|
||
<jsonp.version>1.18.3</jsonp.version>
|
||
<selenium.version>4.30.0</selenium.version>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
|
||
<!-- 明确依赖,否则会拉取M6版 -->
|
||
<!-- https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-core -->
|
||
<dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-core</artifactId>
|
||
<version>${spring-ai.version}</version>
|
||
</dependency>
|
||
<!-- https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-retry -->
|
||
<dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-retry</artifactId>
|
||
<version>${spring-ai.version}</version>
|
||
</dependency>
|
||
<!-- https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-spring-boot-autoconfigure -->
|
||
<dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-spring-boot-autoconfigure</artifactId>
|
||
<version>${spring-ai.version}</version>
|
||
</dependency>
|
||
|
||
<!-- llm -->
|
||
<!-- https://docs.spring.io/spring-ai/reference/api/chat/deepseek-chat.html -->
|
||
<!--
|
||
https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-openai-spring-boot-starter -->
|
||
<dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-openai-spring-boot-starter</artifactId>
|
||
<version>${spring-ai.version}</version>
|
||
</dependency>
|
||
|
||
<!-- https://docs.spring.io/spring-ai/reference/index.html -->
|
||
<!--
|
||
https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-ollama-spring-boot-starter -->
|
||
<dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
|
||
<version>${spring-ai.version}</version>
|
||
</dependency>
|
||
|
||
<!--
|
||
https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-zhipuai-spring-boot-starter -->
|
||
<dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-zhipuai-spring-boot-starter</artifactId>
|
||
<version>${spring-ai.version}</version>
|
||
</dependency>
|
||
|
||
|
||
<!-- reader -->
|
||
<!--
|
||
https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-pdf-document-reader -->
|
||
<dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-pdf-document-reader</artifactId>
|
||
<version>${spring-ai.version}</version>
|
||
<!-- <version>1.0.0-M7</version> -->
|
||
<!-- 排除 io.swagger.core.v3:swagger-annotations 依赖 -->
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>io.swagger.core.v3</groupId>
|
||
<artifactId>swagger-annotations</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<!--
|
||
https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-markdown-document-reader -->
|
||
<dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-markdown-document-reader</artifactId>
|
||
<version>${spring-ai.version}</version>
|
||
<!-- <version>1.0.0-M7</version> -->
|
||
</dependency>
|
||
<!-- https://docs.spring.io/spring-ai/reference/api/etl-pipeline.html -->
|
||
<!-- https://tika.apache.org/2.9.0/formats.html -->
|
||
<!--
|
||
https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-tika-document-reader -->
|
||
<dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-tika-document-reader</artifactId>
|
||
<version>${spring-ai.version}</version>
|
||
<!-- <version>1.0.0-M7</version> -->
|
||
</dependency>
|
||
|
||
|
||
<!-- rag -->
|
||
<!-- https://docs.spring.io/spring-ai/reference/api/retrieval-augmented-generation.html -->
|
||
<!--
|
||
https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-advisors-vector-store -->
|
||
<dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-advisors-vector-store</artifactId>
|
||
</dependency>
|
||
|
||
<!-- vector store -->
|
||
<!-- https://docs.spring.io/spring-ai/reference/api/vectordbs/redis.html -->
|
||
<!-- https://redis.io/docs/latest/develop/interact/search-and-query/ -->
|
||
<!--
|
||
https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-redis-store-spring-boot-starter -->
|
||
<dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-redis-store-spring-boot-starter</artifactId>
|
||
<version>${spring-ai.version}</version>
|
||
</dependency>
|
||
|
||
<!-- https://docs.spring.io/spring-ai/reference/api/vectordbs/elasticsearch.html -->
|
||
<!--
|
||
https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-starter-vector-store-elasticsearch -->
|
||
<dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-starter-vector-store-elasticsearch</artifactId>
|
||
<version>${spring-ai.version}</version>
|
||
</dependency>
|
||
|
||
<!-- https://docs.spring.io/spring-ai/reference/api/vectordbs/chroma.html -->
|
||
<!--
|
||
https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-chroma-store-spring-boot-starter -->
|
||
<!-- <dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-chroma-store-spring-boot-starter</artifactId>
|
||
<version>${spring-ai.version}</version>
|
||
</dependency> -->
|
||
|
||
<!-- https://docs.spring.io/spring-ai/reference/api/vectordbs/weaviate.html -->
|
||
<!-- <dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-weaviate-store-spring-boot-starter</artifactId>
|
||
<version>${spring-ai.version}</version>
|
||
</dependency> -->
|
||
|
||
<!-- https://docs.spring.io/spring-ai/reference/api/vectordbs/milvus.html -->
|
||
<!-- <dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-milvus-store-spring-boot-starter</artifactId>
|
||
<version>${spring-ai.version}</version>
|
||
</dependency> -->
|
||
|
||
<!-- https://docs.spring.io/spring-ai/reference/api/vectordbs/pgvector.html -->
|
||
<!-- <dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-pgvector-store-spring-boot-starter</artifactId>
|
||
<version>${spring-ai.version}</version>
|
||
</dependency> -->
|
||
|
||
<!-- https://docs.spring.io/spring-ai/reference/api/vectordbs/oracle.html -->
|
||
<!-- <dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-oracle-store-spring-boot-starter</artifactId>
|
||
</dependency> -->
|
||
|
||
<!-- https://docs.spring.io/spring-ai/reference/api/vectordbs/pinecone.html -->
|
||
<!-- <dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-pinecone-store-spring-boot-starter</artifactId>
|
||
</dependency> -->
|
||
|
||
<!-- https://docs.spring.io/spring-ai/reference/api/vectordbs/qdrant.html -->
|
||
<!-- <dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-qdrant-store-spring-boot-starter</artifactId>
|
||
</dependency> -->
|
||
|
||
<!-- https://docs.spring.io/spring-ai/reference/api/vectordbs/typesense.html -->
|
||
<!-- <dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-typesense-spring-boot-starter</artifactId>
|
||
</dependency> -->
|
||
|
||
<!-- mcp -->
|
||
<!--
|
||
https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-mcp-client-spring-boot-starter -->
|
||
<!-- <dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-mcp-client-spring-boot-starter</artifactId>
|
||
</dependency> -->
|
||
|
||
<!--
|
||
https://mvnrepository.com/artifact/org.springframework.ai/spring-ai-mcp-server-webmvc-spring-boot-starter -->
|
||
<!-- <dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-mcp-server-webmvc-spring-boot-starter</artifactId>
|
||
</dependency> -->
|
||
|
||
<!-- ///////////////////////////////////////////////////////////////////////////// -->
|
||
|
||
<dependency>
|
||
<groupId>com.bytedesk</groupId>
|
||
<artifactId>bytedesk-module-core</artifactId>
|
||
<version>${revision}</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.bytedesk</groupId>
|
||
<artifactId>bytedesk-module-kbase</artifactId>
|
||
<version>${revision}</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
|
||
<!-- ///////////////////////////////////////////////////////////////////////////// -->
|
||
|
||
<!-- https://java2ai.com/docs/1.0.0-M5.1/overview/?spm=5176.29160081.0.0.2856aa5cNBNg4X -->
|
||
<!-- https://github.com/alibaba/spring-ai-alibaba/blob/main/README-zh.md -->
|
||
<!-- https://mvnrepository.com/artifact/com.alibaba.cloud.ai/spring-ai-alibaba-starter -->
|
||
<dependency>
|
||
<groupId>com.alibaba.cloud.ai</groupId>
|
||
<artifactId>spring-ai-alibaba-starter</artifactId>
|
||
<version>${spring-ai-alibaba.version}</version>
|
||
<!-- 排除 io.swagger.core.v3:swagger-annotations 依赖 -->
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>io.swagger.core.v3</groupId>
|
||
<artifactId>swagger-annotations</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<!-- https://open.bigmodel.cn/dev/api#sdk_install -->
|
||
<!-- https://github.com/MetaGLM/zhipuai-sdk-java-v4 -->
|
||
<!--
|
||
https://central.sonatype.com/artifact/cn.bigmodel.openapi/oapi-java-sdk/release-V4-2.3.1 -->
|
||
<!-- <dependency>
|
||
<groupId>cn.bigmodel.openapi</groupId>
|
||
<artifactId>oapi-java-sdk</artifactId>
|
||
<version>${zhipuai.version}</version>
|
||
</dependency> -->
|
||
|
||
<!-- https://ollama4j.github.io/ollama4j/intro -->
|
||
<!-- https://central.sonatype.com/artifact/io.github.ollama4j/ollama4j/overview -->
|
||
<dependency>
|
||
<groupId>io.github.ollama4j</groupId>
|
||
<artifactId>ollama4j</artifactId>
|
||
<version>${ollama4j.version}</version>
|
||
</dependency>
|
||
|
||
<!-- https://jsoup.org/download -->
|
||
<dependency>
|
||
<groupId>org.jsoup</groupId>
|
||
<artifactId>jsoup</artifactId>
|
||
<version>${jsonp.version}</version>
|
||
</dependency>
|
||
|
||
<!-- Open Manus -->
|
||
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java -->
|
||
<!--
|
||
https://github.com/SeleniumHQ/seleniumhq.github.io/blob/trunk/examples/java/src/test/java/dev/selenium/actions_api/ActionsTest.java -->
|
||
<dependency>
|
||
<groupId>org.seleniumhq.selenium</groupId>
|
||
<artifactId>selenium-java</artifactId>
|
||
<version>${selenium.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.seleniumhq.selenium</groupId>
|
||
<artifactId>selenium-chrome-driver</artifactId>
|
||
<version>${selenium.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.seleniumhq.selenium</groupId>
|
||
<artifactId>selenium-api</artifactId>
|
||
<version>${selenium.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.seleniumhq.selenium</groupId>
|
||
<artifactId>selenium-remote-driver</artifactId>
|
||
<version>${selenium.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.seleniumhq.selenium</groupId>
|
||
<artifactId>selenium-manager</artifactId>
|
||
<version>${selenium.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.seleniumhq.selenium</groupId>
|
||
<artifactId>selenium-http</artifactId>
|
||
<version>${selenium.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 添加Chrome 134版本对应的DevTools支持 -->
|
||
<!-- https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-devtools-v134 -->
|
||
<dependency>
|
||
<groupId>org.seleniumhq.selenium</groupId>
|
||
<artifactId>selenium-devtools-v134</artifactId>
|
||
<version>${selenium.version}</version>
|
||
</dependency>
|
||
|
||
<!-- ///////////////////////////////////////////////////////////////////////////// -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
|
||
</dependencies>
|
||
|
||
<!-- https://docs.spring.io/spring-ai/reference/getting-started.html -->
|
||
<dependencyManagement>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.springframework.ai</groupId>
|
||
<artifactId>spring-ai-bom</artifactId>
|
||
<version>${spring-ai.version}</version>
|
||
<type>pom</type>
|
||
<scope>import</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
</dependencyManagement>
|
||
|
||
<build>
|
||
<plugins>
|
||
<!-- <plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
</plugin> -->
|
||
</plugins>
|
||
</build>
|
||
|
||
<repositories>
|
||
<!-- https://java2ai.com/docs/dev/get-started/ -->
|
||
<!-- <repository>
|
||
<id>spring-milestones</id>
|
||
<name>Spring Milestones</name>
|
||
<url>https://repo.spring.io/milestone</url>
|
||
<snapshots>
|
||
<enabled>false</enabled>
|
||
</snapshots>
|
||
</repository> -->
|
||
<!-- https://docs.spring.io/spring-ai/reference/getting-started.html -->
|
||
<repository>
|
||
<id>spring-snapshots</id>
|
||
<name>Spring Snapshots</name>
|
||
<url>https://repo.spring.io/snapshot</url>
|
||
<releases>
|
||
<enabled>false</enabled>
|
||
</releases>
|
||
</repository>
|
||
<repository>
|
||
<name>Central Portal Snapshots</name>
|
||
<id>central-portal-snapshots</id>
|
||
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
|
||
<releases>
|
||
<enabled>false</enabled>
|
||
</releases>
|
||
<snapshots>
|
||
<enabled>true</enabled>
|
||
</snapshots>
|
||
</repository>
|
||
</repositories>
|
||
|
||
</project> |