For Gradle projects, add this to your build.gradle
file in the dependencies block:
dependencies {
implementation 'com.cjcrafter:openai:2.1.1'
}
Or, if you are using Kotlin DSL (build.gradle.kts
), add this to your dependencies block:
dependencies {
implementation("com.cjcrafter:openai:2.1.1")
}
For Maven projects, add this to your pom.xml
file in the <dependencies>
block:
<dependency>
<groupId>com.cjcrafter</groupId>
<artifactId>openai</artifactId>
<version>2.1.1</version>
</dependency>
See the maven repository for gradle/ant/etc.
What's Changed
- add new chat models from January 25th by @CJCrafter in #44
- Moderations by @CJCrafter in #46
- Embeddings dimensions by @CJCrafter in #45
- fix: Implemented ChatResponseFormat Function by @CoasterFreakDE in #51
New Contributors
- @CoasterFreakDE made their first contribution in #51
Full Changelog: 2.1.0...2.1.1