MVN

dev.ai4j : openai4j

Maven & Gradle

Aug 16, 2023
83 stars

Java Client for OpenAI (ChatGPT) · Java Client for OpenAI (ChatGPT)

<dependency>
    <groupId>dev.ai4j</groupId>
    <artifactId>openai4j</artifactId>
    <version>0.9.0</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

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

  • Latest Stable: 0.9.0

All Versions

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

Version Vulnerabilities Updated
0.9.x
openai4j-0.9.0
0.8.x
openai4j-0.8.0
0.7.x
openai4j-0.7.0
0.6.x
openai4j-0.6.1
openai4j-0.6.0
0.5.x
openai4j-0.5.2
openai4j-0.5.1
openai4j-0.5.0
0.4.x
openai4j-0.4.0
0.3.x
openai4j-0.3.1
openai4j-0.3.0
0.2.x
openai4j-0.2.0
0.1.x
openai4j-0.1.0

How to add a dependency to Maven

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

<dependency>
    <groupId>dev.ai4j</groupId>
    <artifactId>openai4j</artifactId>
    <version>0.9.0</version>
</dependency>

How to add a dependency to Gradle

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

implementation 'dev.ai4j:openai4j:0.9.0'

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

implementation("dev.ai4j:openai4j:0.9.0")

How to add a dependency to SBT Scala

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

libraryDependencies += "dev.ai4j" % "openai4j" % "0.9.0"