v0.8.0
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 theOpenAI
instance
Fine-tuning
- Change
learning_rate_multiplier
parameter inHyperparameters
to be adouble
instead of anint
Assistants
- Add ability to pass
temperature
,top_p
andresponse_format
when creating an assistant
Runs
- Add ability to pass
top_p
,max_prompt_tokens
,max_completion_tokens
,truncation_strategy
,tool_choice
andresponse_format
when creating a run - Add
top_p
,max_prompt_tokens
,max_completion_tokens
,truncation_strategy
,tool_choice
andresponse_format
fields toThreadRun
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>