|
|
<?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">
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
<groupId>xyz.wbsite</groupId>
|
|
|
<artifactId>starter-dl4j</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
<packaging>jar</packaging>
|
|
|
|
|
|
<properties>
|
|
|
<java.version>17</java.version>
|
|
|
<!-- 需要jdk17以上 -->
|
|
|
<langchain4j.version>1.0.0-beta2</langchain4j.version>
|
|
|
</properties>
|
|
|
|
|
|
<repositories>
|
|
|
<!-- 将中央仓库地址指向阿里云聚合仓库,提高下载速度 -->
|
|
|
<repository>
|
|
|
<id>central</id>
|
|
|
<name>Central Repository</name>
|
|
|
<layout>default</layout>
|
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
|
</repository>
|
|
|
</repositories>
|
|
|
<pluginRepositories>
|
|
|
<!-- 将插件的仓库指向阿里云聚合仓库,解决低版本maven下载插件异常或提高下载速度 -->
|
|
|
<pluginRepository>
|
|
|
<id>central</id>
|
|
|
<name>Central Repository</name>
|
|
|
<url>https://maven.aliyun.com/repository/public</url>
|
|
|
<layout>default</layout>
|
|
|
</pluginRepository>
|
|
|
</pluginRepositories>
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<configuration>
|
|
|
<source>17</source>
|
|
|
<target>17</target>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|
|
|
<dependencies>
|
|
|
<!-- 糊涂工具,包含常用API,避免重复造轮子 -->
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
<version>5.8.24</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Deeplearning4J核心库,包含Word2Vec实现 -->
|
|
|
<dependency>
|
|
|
<groupId>org.deeplearning4j</groupId>
|
|
|
<artifactId>deeplearning4j-core</artifactId>
|
|
|
<version>1.0.0-M2.1</version>
|
|
|
</dependency>
|
|
|
<!-- ND4J数值计算库,Deeplearning4J依赖 -->
|
|
|
<dependency>
|
|
|
<groupId>org.nd4j</groupId>
|
|
|
<artifactId>nd4j-native</artifactId>
|
|
|
<version>1.0.0-M2.1</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.nd4j</groupId>
|
|
|
<artifactId>nd4j-native-platform</artifactId>
|
|
|
<version>1.0.0-beta7</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.deeplearning4j</groupId>
|
|
|
<artifactId>arbiter-ui</artifactId>
|
|
|
<version>1.0.0-beta7</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 日志框架 -->
|
|
|
<dependency>
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
<version>1.2.11</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
<version>1.7.32</version>
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
</project> |