2023-11-19 16:19:48 +08:00
|
|
|
<?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>
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
<groupId>dev.langchain4j</groupId>
|
|
|
|
<artifactId>langchain4j-parent</artifactId>
|
2023-11-19 19:59:24 +08:00
|
|
|
<version>0.24.0</version>
|
2023-11-19 16:19:48 +08:00
|
|
|
<relativePath>../langchain4j-parent/pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>langchain4j-graal</artifactId>
|
|
|
|
<packaging>jar</packaging>
|
2023-11-19 19:59:24 +08:00
|
|
|
|
|
|
|
<name>LangChain4j integration with GraalVM Polyglot/Truffle</name>
|
|
|
|
<description>Implementation of JavaScript and Python code execution tools using GraalVM Polyglot/Truffle</description>
|
|
|
|
|
2023-11-19 16:19:48 +08:00
|
|
|
<properties>
|
|
|
|
<maven.compiler.source>17</maven.compiler.source>
|
|
|
|
<maven.compiler.target>17</maven.compiler.target>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
2023-11-19 19:59:24 +08:00
|
|
|
<graalvm.version>23.1.1</graalvm.version>
|
2023-11-19 16:19:48 +08:00
|
|
|
</properties>
|
2023-11-19 19:59:24 +08:00
|
|
|
|
2023-11-19 16:19:48 +08:00
|
|
|
<dependencies>
|
2023-11-19 19:59:24 +08:00
|
|
|
|
2023-11-19 16:19:48 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>dev.langchain4j</groupId>
|
|
|
|
<artifactId>langchain4j-core</artifactId>
|
|
|
|
</dependency>
|
2023-11-19 19:59:24 +08:00
|
|
|
|
2023-11-19 16:19:48 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.graalvm.polyglot</groupId>
|
|
|
|
<artifactId>polyglot</artifactId>
|
2023-11-19 19:59:24 +08:00
|
|
|
<version>${graalvm.version}</version>
|
2023-11-19 16:19:48 +08:00
|
|
|
</dependency>
|
2023-11-19 19:59:24 +08:00
|
|
|
|
2023-11-19 16:19:48 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.graalvm.polyglot</groupId>
|
|
|
|
<artifactId>js</artifactId>
|
2023-11-19 19:59:24 +08:00
|
|
|
<version>${graalvm.version}</version>
|
2023-11-19 16:19:48 +08:00
|
|
|
<type>pom</type>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.graalvm.polyglot</groupId>
|
|
|
|
<artifactId>python</artifactId>
|
2023-11-19 19:59:24 +08:00
|
|
|
<version>${graalvm.version}</version>
|
2023-11-19 16:19:48 +08:00
|
|
|
<type>pom</type>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-engine</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-params</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.assertj</groupId>
|
|
|
|
<artifactId>assertj-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2023-11-19 19:59:24 +08:00
|
|
|
<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>
|
|
|
|
|
2023-11-19 16:19:48 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>dev.langchain4j</groupId>
|
|
|
|
<artifactId>langchain4j</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2023-11-19 19:59:24 +08:00
|
|
|
|
2023-11-19 16:19:48 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>dev.langchain4j</groupId>
|
|
|
|
<artifactId>langchain4j-open-ai</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2023-11-19 19:59:24 +08:00
|
|
|
|
2023-11-19 16:19:48 +08:00
|
|
|
</dependencies>
|
|
|
|
|
2023-11-19 19:59:24 +08:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.honton.chas</groupId>
|
|
|
|
<artifactId>license-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<!-- org.graalvm.polyglot has a UPL-1 license -->
|
|
|
|
<skipCompliance>true</skipCompliance>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2023-11-19 16:19:48 +08:00
|
|
|
</project>
|