Skip to content

Releases: aallam/openai-kotlin

4.0.0-beta01

28 Oct 09:22
593e327
Compare
Choose a tag to compare
4.0.0-beta01 Pre-release
Pre-release

Added

Changed

  • Upgrade to Kotlin 2.0 (#387)
  • Update Ktor to 3.0 (#387)

Breaking Changes

  • Replace okio by kotlinx.io (#387)

3.8.2

20 Jul 17:54
629d751
Compare
Choose a tag to compare

Added

  • chat: add stream options (#363)
  • chat: add instanceId field to ChatCompletionRequest (#359) (thanks @harishv-collab)
  • messages: add assistant tools to attachments (#370)
  • assistants: add attachments.fileId field to MessageRequest (#367) (thanks @0chil)
  • runs: feat(runs): add new fields into assistant run (#366) (thanks @ahmedmirza994)

Fixed

  • messages: update quote to optional field for openai compatibility assistant on FileCitation (#361) (thanks @antoDev)
  • messages: serialization exception while retrieving thread messages (#369) (thanks @meroving)

3.8.1

19 Jun 08:29
ebbec25
Compare
Choose a tag to compare

Fixed

  • runs: set beta header to v2 (#357) (thanks @kdman98)
  • chat: default ChatChunk.finishReason to null (#358) (thanks @Him188)

3.8.0

18 Jun 08:38
5f39dfc
Compare
Choose a tag to compare

Added

  • assistant: added feature for assistant beta-v2, and option for version selection (thanks @kdman98)
  • vector-stores: add vector stores APIs (#324)
  • batch: add batch APIs (#334)

Fixed

  • models: make created and ownedBy nullable (#332) (thanks @thiswillbeyourgithub)
  • chat: enhance flow cancel capability (#333)
  • assistants: Assistant.name is nullable (#337) (thanks @Gama11)
  • chat: add Azure OpenAI Content Filter Support (#340) (thanks @Asharab)
  • config: request options headers override previous values (#353)
  • runs: get runs order param serialization (#355)

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)