Skip to content

Releases: aallam/openai-kotlin

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)

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)