v0.9.1
This release contains the following fixes/additions:
General
Chat
- Add ability to pass
stream_options
when creating a chat completion. More information for this functionality can be found at https://community.openai.com/t/usage-stats-now-available-when-using-streaming-with-the-chat-completions-api-or-completions-api/738156. - Add
usage
field toChatCompletionChunk
Full Changelog: v0.9.0...v0.9.1
The artifact is available on Maven Central and can be imported as follows:
Gradle
implementation("io.github.stefanbratanov:jvm-openai:0.9.1")
Maven
<dependency>
<groupId>io.github.stefanbratanov</groupId>
<artifactId>jvm-openai</artifactId>
<version>0.9.1</version>
</dependency>