generative-ai-swift icon indicating copy to clipboard operation
generative-ai-swift copied to clipboard

Google AI SDK for Swift

Results 35 generative-ai-swift issues
Sort by recently updated
recently updated
newest added

## Description of the change I changed the files to also run if on watchOS 7.0+ ## Motivation So this can be used on watchOS. ## Type of change Not...

component:swift sdk
status:awaiting review

Replaced uses of `gemini-1.5-pro-latest` and `gemini-1.5-flash-latest` ([latest versions](https://ai.google.dev/gemini-api/docs/models/gemini#model-versions) -- can be previews) with `gemini-1.5-flash` (latest stable version) in docs and samples. Note: The current sample apps don't have any `1.5-pro`-specific...

component:swift sdk
status:awaiting review

### Description of the feature request: I'm wondering if it's possible to add support to cancel streaming requests ### What problem are you trying to solve with this feature? While...

component:swift sdk
status:triaged
type:feature request

## Description of the change Modified the url computed property within the GenerativeAIRequest extension to use the provided baseURL if available. If baseURL is nil, it defaults to GenerativeAISwift.baseURL. ##...

component:swift sdk
status:awaiting review

component:swift sdk
status:awaiting review

This PR demonstrates how an app can be migrated from the `GoogleGenerativeAI` SDK provided in this repo to the new `FirebaseAI` SDK from [`firebase-ios-sdk`](https://github.com/firebase/firebase-ios-sdk/).

### Description of the bug: According to [this page](https://ai.google.dev/gemini-api/docs/libraries#previous-sdks) mentions the SDK is deprecated. The following is a set of our previous SDK's which are no longer being actively developed:...

### Description of the feature request: Does the current Gemini swift sdk support MCP? I only see python and javascript examples in the documentation document link: https://ai.google.dev/gemini-api/docs/function-calling?example=weather&hl=zh-cn#use_model_context_protocol_mcp ### What problem...

## Description of the change Add support for the Gemini Image Generation Also fixed `mime_type` to `mimeType` for `inlineData` response field ## Motivation Fix of issue https://github.com/google-gemini/generative-ai-swift/issues/220 ## Type of...

component:swift sdk
status:awaiting review

## Description of the change Add support for the Grounding with Google Search feature. Added google_search tool for Google Search enabling ## Motivation Fix of issue https://github.com/google-gemini/generative-ai-swift/issues/217 ## Type of...

component:swift sdk
status:awaiting review