Releases: LookforFPS/OJA
1.2.1
This release focuses on maintenance, dependency updates, and small polishing steps.
📝 Documentation
- Fixed minor typos and improved Gradle examples (separated Groovy DSL and Kotlin DSL)
♻️ Refactorings
- Refactored the Version class to use Number-based types
- Slightly reordered and cleaned up the Gradle Kotlin DSL configuration
📦 Dependency & Build Management
- Updated dependencies
1.2.0
This release primarily focuses on reorganization and improvements to the project’s maintainability, rather than delivering major new features. Below is a detailed summary of the updates:
✨ Features
- Implemented a GitHub Workflow for automated validation.
- Migrated the Gradle configuration to the Kotlin DSL.
📝 Documentation
- Added a build status badge and improved the order of badges in the README.
- Corrected typos and updated code examples for clarity.
♻️ Refactorings
- Renamed all packages from
me.lookforfps.ojatodev.lookforfps.ojato reflect the new project structure. - Renamed the
groupIdfromme.lookforfpstodev.lookforfps.ojato reflect the new project structure. - Cleaned up the
.gitignore.
🐛 Bugfixes
- Fixed minor typographical errors in examples and workflow specifications.
1.1.0
In this release, I am excited to introduce new features, bug fixes, and several refactorings. Below is a detailed summary of the updates:
✨ Features
- Added support for
o1models. - Implemented
okhttpand reworked error handling. - Implemented moderation features and updated
ModerationModelenum.
📝 Documentation
- Added moderation example and reworked other examples.
- Removed warning from the README.
- Added embeddings example to the README.
♻️ Refactorings
- Updated
SystemMessageto support multiple content parts. - Added a shortcut for moderation image and changed the wording for moderation results.
- Reworked logging system.
- Refactored
ChatCompletionResponseand Chunk model. - Shortened library names.
- Updated setters to accept respective model enums.
- Generalized
InputNotSupportedException. - Refactored constructors and
createmethods; added error prevention forChatCompletionService. - Updated assistant messages to support text, image, and refusal content parts.
🐛 Bugfixes
- Fixed a bug where multi-modal input was not detected correctly.
🔧 Configuration
- Added valid constructors for
Function. - Added new fields (
store,metadata, andmaxCompletionTokens) toChatCompletionConfiguration; markedmaxTokensas deprecated.
🔥 Removals
- Removed model enums for
AudioModelsandImageGenerationModels.
⬆️ Dependencies
- Upgraded dependencies.
1.0.2
In this release, I’ve made adjustments to keep up with recent API changes related to Chat Completion and did some reworking.
Modifications due API changes:
- added the
completion_tokens_detailsfield toUsageof Chat Completion.
Rework modifications:
- separated the Usage model of Chat Completion from the Usage model of Embeddings
- modified configuration of
objectMapperto prevent mapping from breaking when new fields are added to the API
1.0.1
In this release, I’ve made adjustments to keep up with recent API changes related to Chat Completion. These updates include:
- Adding the
refusalfield to AssistantMessage and Delta. - Implementing the new
json_schemain ResponseFormat.
Additionally, I've updated a few dependencies.
1.0.0
I'm excited to share that the OJA library has reached a point where it's ready for others to use.
Today marks the release of version 1.0.0.
Currently, the library only supports Chat Completion and Embeddings generation.
More features will be added in future updates.
This is my first public GitHub project, so please be a little lenient :)