Releases: dylanshine/openai-kit
OpenAIKit 1.8.2
OpenAIKit 1.8.1
- Audio has been changed to Transcription and Translation
- m4a MIMEType added
- Content setter helped added to Chat.Message
OpenAIKit 1.8.0
Thanks to @ftp27, The OpenAIKit.Client can now be powered using a URLSession
OpenAIKit 1.7.2
OpenAIKit 1.7.1
Adds decoding strategy when performing stream requests.
OpenAIKit 1.7.0
This release exposes properties on ChatStream
and ChatStream.Choice
.
Configuration
now allows you to inject a custom API
public func retrieveFileContent(id: String) async throws -> Data
-> public func retrieveFileContent<T: Decodable>(id: String) async throws -> T
OpenAIKit 1.6.0
The ChatProvider now supports the ability to create Chat completions with HTTP Streamed responses.
OpenAIKit 1.5.0
Refer to #33
OpenAIKit 1.4.2
HTTPClient is now an optional parameter on the Client.init
. By default, the Client will create and shutdown its own internal HTTPClient.
@sulsanaul Also added a computed public var content: String
property on Chat.Message
OpenAIKit 1.4.1
Add GPT4 Support thanks to @ronaldmannak