Special thanks to @isKONSTANTIN for his first contribution in #17 🎉
This release contains the following additions:
General
- Made apiKey an optional parameter when building
OpenAI
- Add support for structured outputs
- Add support for Administration endpoints
In order to use the Administration endpoints, admin key has to be configured when building OpenAI
:
OpenAI openAI = OpenAI.newBuilder()
.adminKey(System.getenv("OPENAI_ADMIN_KEY"))
.build();
Runs/RunSteps
- Add file search details and ranker options
Full Changelog: v0.10.0...v0.11.0
The artifact is available on Maven Central and can be imported as follows:
Gradle
implementation("io.github.stefanbratanov:jvm-openai:0.11.0")
Maven
<dependency>
<groupId>io.github.stefanbratanov</groupId>
<artifactId>jvm-openai</artifactId>
<version>0.11.0</version>
</dependency>