Releases: aallam/openai-kotlin
Releases · aallam/openai-kotlin
3.2.4
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 withLoggingConfig
- Authorization token is now hidden by default in the logs
3.2.3
3.2.2
3.2.1
3.2.0
3.1.1
3.1.0
3.0.0
Important changes since 2.1.3
Added
- Requests: DSL builder functions to create requests (#80)
- Completions and
Edit
: addusage
to the responses (#82) - Files: add
download
anddelete
functions (#86) - OpenAIConfig:
headers
andorganization
(#96) - Embeddings:
similarity
anddistance
(#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 includeusage
. (#82)
Fixed
- Non-blocking SSE
Flow
events (#95)
Dependencies
- Update Kotlin to
1.8.10
3.0.0-beta02
3.0.0-beta01
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