2023-09-25 02:11:09 +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>
|
2024-09-09 16:11:09 +08:00
|
|
|
<version>0.35.0-SNAPSHOT</version>
|
2023-09-25 02:11:09 +08:00
|
|
|
<relativePath>../langchain4j-parent/pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
<artifactId>langchain4j-azure-open-ai</artifactId>
|
2024-01-30 23:54:54 +08:00
|
|
|
<name>LangChain4j :: Integration :: Azure OpenAI</name>
|
2023-09-25 02:11:09 +08:00
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
2024-01-29 14:35:53 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>dev.langchain4j</groupId>
|
|
|
|
<artifactId>langchain4j-core</artifactId>
|
2023-09-25 02:11:09 +08:00
|
|
|
</dependency>
|
|
|
|
|
2024-08-26 23:17:34 +08:00
|
|
|
<!-- DEPENDENCY CONFLICT RESOLUTION FOR AZURE-AI-OPENAI (START) -->
|
|
|
|
|
|
|
|
<!-- To resolve version conflicts inside the 'azure-ai-openai' library, we are excluding the transitive -->
|
|
|
|
<!-- dependencies causing version divergence errors and including them explicitly. This ensures a consistent -->
|
|
|
|
<!-- version to be used in the project and satisfies Maven Enforcer requirements to avoid version divergence -->
|
|
|
|
<!-- in the project. -->
|
|
|
|
|
|
|
|
<!-- Please check whether version conflicts are gone after upgrading this library as this will make it -->
|
|
|
|
<!-- possible to remove these exclusions and explicit inclusions below. -->
|
|
|
|
|
2023-12-08 17:51:26 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.azure</groupId>
|
|
|
|
<artifactId>azure-ai-openai</artifactId>
|
2024-08-26 23:17:34 +08:00
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-transport-native-unix-common</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-codec-http2</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-transport</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-common</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-resolver</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-handler-proxy</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-codec-http</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-buffer</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-codec</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-handler</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
|
|
<version>4.1.110.Final</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-transport-native-epoll</artifactId>
|
|
|
|
<version>4.1.110.Final</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-codec-http2</artifactId>
|
|
|
|
<version>4.1.110.Final</version>
|
2023-12-08 17:51:26 +08:00
|
|
|
</dependency>
|
|
|
|
|
2024-08-26 23:17:34 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-transport</artifactId>
|
|
|
|
<version>4.1.110.Final</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-common</artifactId>
|
|
|
|
<version>4.1.110.Final</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-resolver</artifactId>
|
|
|
|
<version>4.1.110.Final</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-handler-proxy</artifactId>
|
|
|
|
<version>4.1.110.Final</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-codec-http</artifactId>
|
|
|
|
<version>4.1.110.Final</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-buffer</artifactId>
|
|
|
|
<version>4.1.110.Final</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-codec</artifactId>
|
|
|
|
<version>4.1.110.Final</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
<artifactId>netty-handler</artifactId>
|
|
|
|
<version>4.1.110.Final</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- DEPENDENCY CONFLICT RESOLUTION FOR AZURE-AI-OPENAI (END) -->
|
|
|
|
|
2023-12-22 20:20:20 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.azure</groupId>
|
|
|
|
<artifactId>azure-identity</artifactId>
|
|
|
|
<optional>true</optional>
|
|
|
|
</dependency>
|
|
|
|
|
2024-04-30 23:24:17 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>dev.langchain4j</groupId>
|
|
|
|
<artifactId>langchain4j-core</artifactId>
|
|
|
|
<classifier>tests</classifier>
|
|
|
|
<type>test-jar</type>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2024-02-22 21:46:12 +08:00
|
|
|
<dependency>
|
2024-06-06 20:38:22 +08:00
|
|
|
<groupId>com.knuddels</groupId>
|
|
|
|
<artifactId>jtokkit</artifactId>
|
2024-02-22 21:46:12 +08:00
|
|
|
</dependency>
|
|
|
|
|
2023-12-08 17:51:26 +08:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
|
<version>2.22.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-core</artifactId>
|
|
|
|
<version>2.22.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
<artifactId>log4j-slf4j2-impl</artifactId>
|
|
|
|
<version>2.20.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
2023-09-25 02:11:09 +08:00
|
|
|
<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-12-09 00:29:56 +08:00
|
|
|
|
2023-09-25 02:11:09 +08:00
|
|
|
</dependencies>
|
|
|
|
|
2024-08-26 23:17:34 +08:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
<version>3.5.0</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce</id>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<dependencyConvergence/>
|
|
|
|
</rules>
|
|
|
|
</configuration>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2023-09-25 02:11:09 +08:00
|
|
|
<licenses>
|
|
|
|
<license>
|
|
|
|
<name>Apache-2.0</name>
|
|
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
<comments>A business-friendly OSS license</comments>
|
|
|
|
</license>
|
|
|
|
</licenses>
|
|
|
|
|
|
|
|
</project>
|