MVN

dev.langchain4j : langchain4j

Maven & Gradle

Aug 19, 2023

langchain4j · Java implementation of LangChain: Integrate your Java application with countless AI tools and services smoothly

<dependency>
    <groupId>dev.langchain4j</groupId>
    <artifactId>langchain4j</artifactId>
    <version>0.21.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of dev.langchain4j : langchain4j to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 0.21.0

All Versions

Choose a version of dev.langchain4j : langchain4j to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
0.21.x
langchain4j-0.21.0
0.20.x
langchain4j-0.20.0
0.19.x
langchain4j-0.19.0
0.18.x
langchain4j-0.18.0
0.17.x
langchain4j-0.17.0
0.16.x
langchain4j-0.16.0
0.15.x
langchain4j-0.15.0
0.14.x
langchain4j-0.14.0
0.13.x
langchain4j-0.13.0
0.12.x
langchain4j-0.12.0
0.11.x
langchain4j-0.11.0
0.10.x
langchain4j-0.10.0
0.9.x
langchain4j-0.9.0
0.8.x
langchain4j-0.8.0
0.7.x
langchain4j-0.7.0
0.6.x
langchain4j-0.6.0
0.5.x
langchain4j-0.5.0
0.4.x
langchain4j-0.4.0

How to add a dependency to Maven

Add the following dev.langchain4j : langchain4j maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>dev.langchain4j</groupId>
    <artifactId>langchain4j</artifactId>
    <version>0.21.0</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following dev.langchain4j : langchain4j gradle dependency to your build.gradle file:

implementation 'dev.langchain4j:langchain4j:0.21.0'

Gradle Kotlin DSL: Add the following dev.langchain4j : langchain4j gradle kotlin dependency to your build.gradle.kts file:

implementation("dev.langchain4j:langchain4j:0.21.0")

How to add a dependency to SBT Scala

SBT Scala: Add the following dev.langchain4j : langchain4j sbt scala dependency to your build.sbt file:

libraryDependencies += "dev.langchain4j" % "langchain4j" % "0.21.0"