v0.7.0
Special thanks to @maciej-cz for his first contribution in #5 🎉
This release contains the following additions/improvements:
General
- Add
OpenAIModel
enum to simplify the selection of a model
Chat
- Improved handling of streaming events when
ChatCompletionStreamSubscriber
is used - Renamed
StreamChatCompletionSubscriber
toChatCompletionStreamSubscriber
Fine-tuning
- Add ability to pass
integrations
andseed
fields when creating a fine-tuning job - Add
integrations
andseed
field toFineTuningJob
- Add support for listing checkpoints for a fine-tuning job.
Messages
- Add ability to pass
run_id
query param when listing messages to allow filtering by the run id that generated them
Runs
- Add ability to pass
additional_messages
,temperature
andstream
fields when creating a run - Add
temperature
field toThreadRun
- Add ability to pass
stream
field when submitting tool outputs to run - Add
createRunAndStream
,createThreadAndRunAndStream
andsubmitToolOutputsAndStream
toRunsClient
to support Assistants Streaming
Full Changelog: v0.6.2...v0.7.0
The artifact is available on Maven Central and can be imported as follows:
Gradle
implementation("io.github.stefanbratanov:jvm-openai:0.7.0")
Maven
<dependency>
<groupId>io.github.stefanbratanov</groupId>
<artifactId>jvm-openai</artifactId>
<version>0.7.0</version>
</dependency>