Skip to content

v0.7.0

Compare
Choose a tag to compare
@StefanBratanov StefanBratanov released this 10 Apr 11:00
· 71 commits to master since this release

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 to ChatCompletionStreamSubscriber

Fine-tuning

  • Add ability to pass integrations and seed fields when creating a fine-tuning job
  • Add integrations and seed field to FineTuningJob
  • 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 and stream fields when creating a run
  • Add temperature field to ThreadRun
  • Add ability to pass stream field when submitting tool outputs to run
  • Add createRunAndStream, createThreadAndRunAndStream and submitToolOutputsAndStream to RunsClient 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>