Skip to content

Releases: aallam/openai-kotlin

3.5.1

05 Nov 18:13
8c7c0fc
Compare
Choose a tag to compare

Fix

  • Models: permission field nullable (#251)

Experimental

  • Chat: add mergeToChatMessage extension (#250)

3.5.0

04 Oct 10:02
3ca84fb
Compare
Choose a tag to compare

Added

  • Fine-tuning: API implementation (#242)

Deprecated

  • Fine-tunes is deprecated

3.4.2

28 Sep 09:49
d34d6fd
Compare
Choose a tag to compare

Added

  • Config: Allow custom ktor http client configuration (#239) (Thanks @rasharab)

3.4.1

31 Aug 11:49
688d9c8
Compare
Choose a tag to compare

Fix

  • Chat: fix(chat): FunctionCall nullable name/arguments (#232)

3.4.0

24 Aug 21:35
b876b1c
Compare
Choose a tag to compare

Added

  • Introduced Parameters.Empty for functions without parameters.
  • Added File.statusDetails for retrieving file status details.
  • HyperParams new fields: computeClassificationMetrics, classificationNClasses and classificationPositiveClass.
  • Moderation: update categories and scores.

Removed

  • Removed beta status from the chat and audio features.

Deprecated

  • completions is deprecated.
  • edits as legacy.

Breaking Changes

  • Audio: Updated TranscriptionRequest's responseFormat type to AudioResponseFormat.
  • Fine Tune: set HyperParams.learningRateMultiplier to be non-nullable.
  • Edit: Choice.finishReason type to FinishReason.
  • Chat: Multiple changes have been implemented:
    • Set index, message, and finishReason fields in ChatChoice to be non-nullable.
    • Set index, delta, and finishReason fields in ChatChunk to be non-nullable.
    • Set ChatCompletionFunction.parameters to be non-nullable.
    • In FunctionCall, set name, arguments, and argumentsAsJson() to be non-nullable.
    • Modified ChatChoice.finishReason and ChatChunk.finishReason types to FinishReason.

3.3.2

21 Jul 22:04
e7723a8
Compare
Choose a tag to compare

Fix

  • Audio: Segment#transient property nullable (thanks @charlee-dev)

Dependencies

  • Kotlin to 1.9.0
  • Kotlin coroutines to 1.7.2
  • Kotlin serialization to 1.5.1
  • ktor to 2.3.2
  • okio to 3.4.0

3.3.1

24 Jun 15:01
e79b5ef
Compare
Choose a tag to compare

Fix

3.3.0

19 Jun 19:54
f6cc2e7
Compare
Choose a tag to compare

Added

3.2.5

03 Jun 20:42
a1a0c4c
Compare
Choose a tag to compare

Added

  • Add OpenAIHost builder for Azure (#196)
  • Support of OpenAIHost with a base path (#196)

3.2.4

21 May 19:07
f904fae
Compare
Choose a tag to compare

Added

  • Logging configuration using LoggingConfig
  • sanitize flag to sanitize authorization header in the logs
  • Enhance OpenAI() factory function parameters

Changed

  • Updated OpenAIConfig to replace logging fields with LoggingConfig
  • Authorization token is now hidden by default in the logs