Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c019530

Browse files
2.0.2
1 parent 7e14398 commit c019530

File tree

3 files changed

+6
-41
lines changed

3 files changed

+6
-41
lines changed

‎.github/workflows/readme-version.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

‎README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,25 @@ An unofficial, easy-to-use Java/Kotlin OpenAI API for ChatGPT, Text Completions,
1717
* Streaming support via `OpenAI#streamChatCompletion`
1818
* Functions support, check out the [java examples](https://github.com/CJCrafter/ChatGPT-Java-API/blob/master/examples/src/main/java/chat/StreamChatCompletionFunction.java#L49) and [kotlin examples](https://github.com/CJCrafter/ChatGPT-Java-API/blob/master/examples/src/main/kotlin/chat/StreamChatCompletionFunction.kt#L37)
1919
* [Azure OpenAI](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/reference) support via `AzureOpenAI` class
20+
* [Embeddings](https://platform.openai.com/docs/api-reference/embeddings) (New!)
21+
* [Files](https://platform.openai.com/docs/api-reference/files) (New!)
2022

2123
## Installation
2224
For Kotlin DSL (`build.gradle.kts`), add this to your dependencies block:
2325
```kotlin
2426
dependencies {
25-
implementation("com.cjcrafter:openai:2.0.1")
27+
implementation("com.cjcrafter:openai:2.0.2")
2628
}
2729
```
2830
For Maven projects, add this to your `pom.xml` file in the `<dependencies>` block:
2931
```xml
3032
<dependency>
3133
<groupId>com.cjcrafter</groupId>
3234
<artifactId>openai</artifactId>
33-
<version>2.0.1</version>
35+
<version>2.0.2</version>
3436
</dependency>
3537
```
36-
See the [maven repository](https://central.sonatype.com/artifact/com.cjcrafter/openai/2.0.1) for gradle/ant/etc.
38+
See the [maven repository](https://central.sonatype.com/artifact/com.cjcrafter/openai/2.0.2) for gradle/ant/etc.
3739

3840

3941
## Working Example

‎build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import com.github.breadmoirai.githubreleaseplugin.GithubReleaseTask
22

33
group = "com.cjcrafter"
4-
version = "2.0.1"
4+
version = "2.0.2"
55

66
plugins {
77
`java-library`

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /