v0.5.1
This release contains the following additions/fixes:
General
- Make
jackson-annotations
a compile dependency to resolve compile warnings
Chat
- Add capability to pass
StreamChatCompletionSubscriber
interface implementation for stream requests in order to subscribe to streamed responses - The following objects were renamed to align more closely with the API:
ChatRequest
->CreateChatCompletionRequest
ChatResponse
->ChatCompletion
ChatChunkResponse
->ChatCompletionChunk
Full Changelog: v0.5.0...v0.5.1
The artifact is available on Maven Central and can be imported as follows:
Gradle
implementation("io.github.stefanbratanov:jvm-openai:0.5.1")
Maven
<dependency>
<groupId>io.github.stefanbratanov</groupId>
<artifactId>jvm-openai</artifactId>
<version>0.5.1</version>
</dependency>