mirror of
https://gitee.com/270580156/weiyu.git
synced 2025-12-30 10:52:26 +00:00
132 lines
3.6 KiB
XML
132 lines
3.6 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>ai module for https://www.weiyuai.cn</description>
|
|
|
|
<properties>
|
|
<spring-ai.version>1.0.0-SNAPSHOT</spring-ai.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.ai</groupId>
|
|
<artifactId>spring-ai-spring-boot-autoconfigure</artifactId>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!--
|
|
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>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Spring AI ZhiPuAI Auto Configuration -->
|
|
<!--
|
|
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>
|
|
<scope>provided</scope>
|
|
</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://open.bigmodel.cn/dev/api#sdk_install -->
|
|
<!-- https://github.com/MetaGLM/zhipuai-sdk-java-v4 -->
|
|
<dependency>
|
|
<groupId>cn.bigmodel.openapi</groupId>
|
|
<artifactId>oapi-java-sdk</artifactId>
|
|
<version>release-V4-2.2.0</version>
|
|
</dependency>
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java -->
|
|
<dependency>
|
|
<groupId>com.google.protobuf</groupId>
|
|
<artifactId>protobuf-java</artifactId>
|
|
<version>3.25.2</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- ///////////////////////////////////////////////////////////////////////////// -->
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<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>
|
|
<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>
|
|
|
|
</project> |