0.5.0
版本发布时间: 2024-04-22 21:22:15
google-gemini/generative-ai-swift最新发布版本:0.5.6(2024-08-23 00:19:58)
What's Changed
- Update
Citation
decoding to handle optional values by @andrewheard in https://github.com/google-gemini/generative-ai-swift/pull/135 - Add URI-based file data support by @andrewheard in https://github.com/google-gemini/generative-ai-swift/pull/134
- Update default API version from
v1
tov1beta
by @andrewheard in https://github.com/google-gemini/generative-ai-swift/pull/137 - Switch to
gemini-1.5-pro-latest
in docs and tests by @andrewheard in https://github.com/google-gemini/generative-ai-swift/pull/138 - Make
Citation.license
optional by @andrewheard in https://github.com/google-gemini/generative-ai-swift/pull/141 - Remove public
Codable
(Decodable
and/orEncodable
) conformance by @andrewheard in https://github.com/google-gemini/generative-ai-swift/pull/142
Breaking Changes
-
Citation.license
is now optional (String?
) -
ModelContent.Part
adds a newfileData
enum case
Full Changelog: https://github.com/google-gemini/generative-ai-swift/compare/0.4.11...0.5.0