Skip to content

Releases: aallam/openai-kotlin

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

3.2.3

01 May 14:12
2c5574f
Compare
Choose a tag to compare

Added

  • OpenAIIOException and GenericIOException (#178)

3.2.2

29 Apr 09:06
40c2daf
Compare
Choose a tag to compare

Feat

  • Completion: add suffix request param (#174)
  • Exceptions: Add more detailed api errors (#163)

Change

  • Replace Autocloseable until stable (#173)

3.2.1

09 Apr 18:35
07169bc
Compare
Choose a tag to compare

Added

  • Proguard / R8 rules for jvm (#149)
  • OpenAI implements AutoCloseable (#151)

Dependencies

  • Kotlin to 1.8.20 (#146)
  • Kotlin serialization to 1.5.0 (#146)
  • Ktor to 2.2.4 (#146)

3.2.0

23 Mar 22:00
cf697c7
Compare
Choose a tag to compare

Added

  • Audio: add other formats support (#127)
  • Chat: add user param to chat request (#128)

Changed

  • Simplify and add more exceptions (#123)

3.1.1

17 Mar 20:15
69dd1a9
Compare
Choose a tag to compare

Changed

  • Add error details to OpenAIAPIException (#120) (thanks @rosuH)

Fixed

  • Audio: switch mixed-up translation and transcription paths (#119) (thanks @matusekma)

3.1.0

10 Mar 21:08
Compare
Choose a tag to compare

Added

  • Audio: api implementation (#105)
  • Config: proxy config (#111)
  • Config: retry strategy config (#112)

3.0.0

02 Mar 13:59
Compare
Choose a tag to compare

Important changes since 2.1.3

Added

  • Requests: DSL builder functions to create requests (#80)
  • Completions and Edit: add usage to the responses (#82)
  • Files: add download and delete functions (#86)
  • OpenAIConfig: headers and organization (#96)
  • Embeddings: similarity and distance (#88) (experimental)
  • Chat implementation (#99) (beta)
  • OpenAIConfig: custom host config (#102)

Changed

  • FileSource and okio for I/O operations (e.g. files, images) (#75)
  • FineTunes: remove experimental (#90)
  • Images: mark as experimental (#91)
  • Embeddings: response changed to EmbeddingResponse to include usage. (#82)

Fixed

  • Non-blocking SSE Flow events (#95)

Dependencies

  • Update Kotlin to 1.8.10

3.0.0-beta02

19 Feb 22:26
Compare
Choose a tag to compare
3.0.0-beta02 Pre-release
Pre-release

Added

  • OpenAIConfig: headers and organization (#96)

Changed

  • FineTunes: remove experimental (#90)
  • Images: mark as experimental (#91)

Fixed

  • Non-blocking SSE Flow events (#95)

3.0.0-beta01

06 Feb 22:40
187516f
Compare
Choose a tag to compare
3.0.0-beta01 Pre-release
Pre-release

This release contains changes from 3.0.0-alpha01, plus the following:

Added

  • Embeddings: similarity and distance (#88) (Experimental)

Changed

  • Update Kotlin to 1.8.10