MVN

cn.codingguide : chatgpt4j

Maven & Gradle

May 11, 2023
17 stars

chatgpt4j · chatgpt4j is a Java client library for accessing the ChatGPT API. It supports all OpenAI interfaces. A few lines of code can help users quickly integrate ChatGPT into their own projects.

<dependency>
    <groupId>cn.codingguide</groupId>
    <artifactId>chatgpt4j</artifactId>
    <version>1.0.1</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of cn.codingguide : chatgpt4j to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 1.0.1

All Versions

Choose a version of cn.codingguide : chatgpt4j to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
1.0.x
chatgpt4j-1.0.1
chatgpt4j-1.0.0

How to add a dependency to Maven

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

<dependency>
    <groupId>cn.codingguide</groupId>
    <artifactId>chatgpt4j</artifactId>
    <version>1.0.1</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following cn.codingguide : chatgpt4j gradle dependency to your build.gradle file:

implementation 'cn.codingguide:chatgpt4j:1.0.1'

Gradle Kotlin DSL: Add the following cn.codingguide : chatgpt4j gradle kotlin dependency to your build.gradle.kts file:

implementation("cn.codingguide:chatgpt4j:1.0.1")

How to add a dependency to SBT Scala

SBT Scala: Add the following cn.codingguide : chatgpt4j sbt scala dependency to your build.sbt file:

libraryDependencies += "cn.codingguide" % "chatgpt4j" % "1.0.1"

Advertisement