Skip to content

v0.8.0

Compare
Choose a tag to compare
@StefanBratanov StefanBratanov released this 19 Apr 11:08
· 61 commits to master since this release

This release contains the following additions/fixes:

General

  • Add support for Batch API
  • Add ability to pass a project id (OpenAI-Project header) when building the OpenAI instance

Fine-tuning

  • Change learning_rate_multiplier parameter in Hyperparameters to be a double instead of an int

Assistants

  • Add ability to pass temperature, top_p and response_format when creating an assistant

Runs

  • Add ability to pass top_p, max_prompt_tokens, max_completion_tokens, truncation_strategy, tool_choice and response_format when creating a run
  • Add top_p, max_prompt_tokens, max_completion_tokens, truncation_strategy, tool_choice and response_format fields to ThreadRun

Full Changelog: v0.7.0...v0.8.0

The artifact is available on Maven Central and can be imported as follows:

Gradle

implementation("io.github.stefanbratanov:jvm-openai:0.8.0")

Maven

<dependency>
    <groupId>io.github.stefanbratanov</groupId>
    <artifactId>jvm-openai</artifactId>
    <version>0.8.0</version>
</dependency>