Skip to content

Releases: aallam/openai-kotlin

3.7.2

28 Apr 22:00
e166fd3
Compare
Choose a tag to compare

Added

Fix

3.7.1

01 Apr 20:51
20eeb9b
Compare
Choose a tag to compare

Added

  • Audio: add timestampGranularities (thanks @mxwell)

Fixed

  • Core: nullable OpenAIErrorDetails fields (#315)
  • Messages: content as image file (#313)

3.7.0

11 Feb 18:48
ebb2d52
Compare
Choose a tag to compare

Added

  • add RequestOptions (#296)

Fixed

  • chat: add systemFingerprint to ChatCompletionChunk (#303)
  • chat: move description to FunctionTool (#304)
  • chat: make FunctionTool#Parameters nullable (#304)
  • finetuning: nullable ErrorInfo#message and ErrorInfo#code (#304)
  • image: correct Quality package name (#302) (thanks @voqaldev)
  • assistants: files endpoint (#298) (thanks @rjeeb)
  • runs: RunRequest builder

3.6.3

13 Jan 12:45
ccc6e83
Compare
Choose a tag to compare

Added

  • Images: add quality and style fields (#292)
  • Runs: add additionalInstructions property to RunRequest (#293) (thanks @ahmedmirza994)

Fixed

  • Messages: MessageFile optional fields (#290)
  • proguard: Add EnclosingMethod proguard rule (thanks @rafsanjani)

3.6.2

15 Dec 12:22
33b3f27
Compare
Choose a tag to compare

Fixed

  • Completion: Choice.finishReason as nullable (#285)
  • Chat: ChatCompletion.created field change type from Int to Long (#282) (thanks @VarenytsiaMykhailo)
  • Runs: incorrect property name Run.cancelledAt (#279) (thanks @Gama11)
  • Proguard: add EnclosingMethod rule (#283) (thanks @rafsanjani)

3.6.1

26 Nov 15:19
5bda8be
Compare
Choose a tag to compare

Fixed

  • Runs: ToolCalls, ToolCallStep and RunSteps serialization (#266, #269, #271, #273) (thanks @voqaldev)
  • Messages: MessageContent serialization (#275)

3.6.0

24 Nov 18:07
61c2733
Compare
Choose a tag to compare

This release represents a significant update to the library. Following OpenAI DevDay 2023, it introduces a range of new features and improvements, including new APIs and multimodal capabilities.

Added

  • Images: Support for model selection for ImageCreation, ImageEdit and ImageVariations (#257) (thanks @FilipObornik)
  • Chat: add tool calls (#256)
  • Chat: add vision feature (#258)
  • Config: adding ktor engine config to support Kotlin Scripting (#261) (thanks @DevSrSouza)
  • Audio: add speech-to-text (#263)

Beta

  • Assistants: api implementation (#259)
  • Threads: api implementation (#262)
  • Messages: api implementation (#262)
  • Runs: api implementation (#262)

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)