Releases: google-gemini/generative-ai-swift
Releases · google-gemini/generative-ai-swift
0.4.8
What's Changed
- Add
RequestOptions
to theGenerativeModel
constructor, which allows developers to specify configuration options for requests sent to the backend (#100) - The PaLM API is deprecated for use with Google AI services and tools (but not for Vertex AI). Learn more about this deprecation, its timeline, and how to migrate to use Gemini in the PaLM API deprecation guide (#110)
- Update model name strings in README, docs and samples; see Gemini models for a list of supported model names (#109)
- Add support for any model name prefix, in addition to
models/
(#98) - Decrease minimum required Swift toolchain version to
5.7.1
(#102, #103)
Full Changelog: 0.4.7...0.4.8
0.4.7
What's Changed
- Resize images to 768x768px in GenerativeAIMultimodalSample by @andrewheard in #75
- Add
invalidAPIKey
case toGenerateContentError
by @andrewheard in #91, #92, #93 - Add
unsupportedUserLocation
case toGenerateContentError
by @andrewheard in #85 - Add new error case handling in the Chat Sample by @andrewheard, @peterfriese in #94, #95
Full Changelog: 0.4.6...0.4.7
0.4.6
What's Changed
- Use explicit python3 by @morganchen12 in #81
- Add image adapters and tests by @morganchen12 in #80
Full Changelog: 0.4.5...0.4.6
0.4.5
What's Changed
- Add support for non-streaming APIs on macOS 11 by @andrewheard in #84
Full Changelog: 0.4.4...0.4.5
0.4.4
What's Changed
- Add SPI shields by @paulb777 in #70
- Check for empty API_KEY in plist by @anupdsouza in #71
- Increment version to 0.4.4 for release by @andrewheard in #74
- Support model names prefixed with "models/" by @andrewheard in #73
New Contributors
- @anupdsouza made their first contribution in #71
Full Changelog: 0.4.3...0.4.4
0.4.3
What's Changed
- Add tests for unknown enum values in responses by @andrewheard in #60
- Fix MIME type to "image/png" in
ModelContent.png(_:)
by @andrewheard in #61 - Fix missing dependency for ChatSample by @treastrain in #62
- Set the scheme for the documentation build by @paulb777 in #65
- Add support for Mac Catalyst by @andrewheard in #66
- Warning for un-fully supported platforms by @paulb777 in #68
- Version 0.4.3 by @paulb777 in #63
New Contributors
- @treastrain made their first contribution in #62
Full Changelog: 0.4.2...0.4.3
0.4.2
What's Changed
- Update README.md by @ryanwilson in #55
- Set scheme to
generative-ai-swift
in.spi.yml
by @andrewheard in #56 - Version 0.4.2 by @paulb777 in #57
- Switch to shorter
catch let
syntax for checking underlying errors by @andrewheard in #58 - Remove a force unwrap and formating by @paulb777 in #59
Full Changelog: 0.4.1...0.4.2
0.4.1
What's Changed
- Add custom input field to fix onSubmit issue by @peterfriese in #53
- README update by @paulb777 in #54
Full Changelog: 0.4.0...0.4.1
Google AI SDK for Swift 0.4.0
What's Changed
- Initial support for Google's newest state-of-the-art generative AI model (Gemini) to build AI-powered features and applications. Details at ai.google.dev/
- To continue to use PaLM models, see instructions.
Full Changelog: 0.3.0...0.4.0
Generative AI Swift SDK 0.3.0
What's Changed
- 🐛 Use correct model name for embeddings by @peterfriese in #14
- Add sample for embeddings by @peterfriese in #16
- Fix model name for Unit test and add chat unit test by @jsharp83 in #17
- Create issue templates by @keertk in #19
- Automatically add and remove specific labels by @keertk in #20
- Adding github action workflow to mark stale issues and prs. by @ymodak in #21
- Create a PR template by @keertk in #22
- Update stale.yml by @ymodak in #24
- Clean up labels + automation by @keertk in #30
New Contributors
- @jsharp83 made their first contribution in #17
- @keertk made their first contribution in #19
- @ymodak made their first contribution in #21
Full Changelog: 0.2.0...0.3.0
What's Changed
- 🐛 Use correct model name for embeddings by @peterfriese in #14
- Add sample for embeddings by @peterfriese in #16
- Fix model name for Unit test and add chat unit test by @jsharp83 in #17
- Create issue templates by @keertk in #19
- Automatically add and remove specific labels by @keertk in #20
- Adding github action workflow to mark stale issues and prs. by @ymodak in #21
- Create a PR template by @keertk in #22
- Update stale.yml by @ymodak in #24
- Clean up labels + automation by @keertk in #30
- Add changelog for 0.3.0 by @peterfriese in #31
New Contributors
- @jsharp83 made their first contribution in #17
- @keertk made their first contribution in #19
- @ymodak made their first contribution in #21
Full Changelog: 0.2.0...0.3.0