Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The Firebase Apple SDK (11.4.0) is now available. For more details, see
the Firebase Apple SDK release notes.
To install this SDK, see Add Firebase to your project.
What's Changed
Use the Vertex AI in Firebase library to call the Vertex AI Gemini API directly from your app.
This client library is built specifically for use with Swift apps, offering security options against
unauthorized clients as well as integrations with other Firebase services.
Note: Vertex AI in Firebase is currently only available in Swift Package Manager and CocoaPods.
Stay tuned for the next release for the Zip and Carthage distributions.
Schema
declarations by @andrewheard in [Vertex AI] RefactorSchema
declarations firebase/firebase-ios-sdk#13616CountTokensResponse.totalBillableCharacters
by @andrewheard in [Vertex AI] OptionalCountTokensResponse.totalBillableCharacters
firebase/firebase-ios-sdk#13721FirebaseLogger
by @andrewheard in [Vertex AI] Migrate logging toFirebaseLogger
firebase/firebase-ios-sdk#13638ImageConversionError
from public API by @andrewheard in [Vertex AI] RemoveImageConversionError
from public API firebase/firebase-ios-sdk#13735CountTokensError
enum by @andrewheard in [Vertex AI] RemoveCountTokensError
enum firebase/firebase-ios-sdk#13736#warning
by @andrewheard in [Vertex AI] Remove supported platforms#warning
firebase/firebase-ios-sdk#13738NSObject
superclass fromVertexAI
by @andrewheard in [Vertex AI] RemoveNSObject
superclass fromVertexAI
firebase/firebase-ios-sdk#13742-Preview
suffix in SPM library name by @andrewheard in [Vertex AI] Remove-Preview
suffix in SPM library name firebase/firebase-ios-sdk#13744-beta
from pod version by @andrewheard in [Vertex AI] Removed-beta
from pod version firebase/firebase-ios-sdk#13759Functions
by @yakovmanshin in Refactored Duplicate Methods inFunctions
firebase/firebase-ios-sdk#13771countTokens
by @andrewheard in [Vertex AI] Add sysInstructs, tools, genConfig tocountTokens
firebase/firebase-ios-sdk#13813ModelContent.Part
enum with protocol/structs by @andrewheard in [Vertex AI] ReplaceModelContent.Part
enum with protocol/structs firebase/firebase-ios-sdk#13767ModelContent
initializers by @andrewheard in [Vertex AI] SimplifyModelContent
initializers firebase/firebase-ios-sdk#13832spm-package-resolved
on all macOS versions by @andrewheard in [Vertex AI] Revert runningspm-package-resolved
on all macOS versions firebase/firebase-ios-sdk#13846CustomStringConvertible
extensions by @andrewheard in [Vertex AI] Replace sampleCustomStringConvertible
extensions firebase/firebase-ios-sdk#13845struct
instead ofenum
forHarmCategory
by @andrewheard in [Vertex AI] Usestruct
instead ofenum
forHarmCategory
firebase/firebase-ios-sdk#13728Schema
constructor andDataType
enum internal by @andrewheard in [Vertex AI] MakeSchema
constructor andDataType
enum internal firebase/firebase-ios-sdk#13852struct
instead ofenum
forHarmProbability
by @andrewheard in [Vertex AI] Usestruct
instead ofenum
forHarmProbability
firebase/firebase-ios-sdk#13854FinishReason
as astruct
and add new values by @andrewheard in [Vertex AI] RefactorFinishReason
as astruct
and add new values firebase/firebase-ios-sdk#13860EncodableProtoEnum
protocol and fix encoding by @andrewheard in [Vertex AI] AddEncodableProtoEnum
protocol and fix encoding firebase/firebase-ios-sdk#13862HarmBlockThreshold
as a struct and add.off
by @andrewheard in [Vertex AI] RefactorHarmBlockThreshold
as a struct and add.off
firebase/firebase-ios-sdk#13863BlockReason
as astruct
and add new values by @andrewheard in [Vertex AI] RefactorBlockReason
as astruct
and add new values firebase/firebase-ios-sdk#13861FunctionCallingConfig.Mode
as astruct
by @andrewheard in [Vertex AI] RefactoredFunctionCallingConfig.Mode
as astruct
firebase/firebase-ios-sdk#13864StringFormat
andIntegerFormat
as structs by @andrewheard in [Vertex AI] RefactorStringFormat
andIntegerFormat
as structs firebase/firebase-ios-sdk#13865static let
by @andrewheard in [Vertex AI] Replace "enum" computed properties withstatic let
firebase/firebase-ios-sdk#13870firebasevertexai.googleapis.com
API by @andrewheard in [Vertex AI] Switch tofirebasevertexai.googleapis.com
API firebase/firebase-ios-sdk#13725DispatchGroup
’s Excessive Wait inFunctionsContext
by @yakovmanshin in FixedDispatchGroup
’s Excessive Wait inFunctionsContext
firebase/firebase-ios-sdk#13887HarmSeverity
enum andSafetyRating
properties by @andrewheard in [Vertex AI] AddHarmSeverity
enum andSafetyRating
properties firebase/firebase-ios-sdk#13875HarmBlockMethod
enum andmethod
property by @andrewheard in [Vertex AI] AddHarmBlockMethod
enum andmethod
property firebase/firebase-ios-sdk#13876blockReasonMessage
toPromptFeedback
by @andrewheard in [Vertex AI] AddblockReasonMessage
toPromptFeedback
firebase/firebase-ios-sdk#13891Citation.publicationDate
by @andrewheard in [Vertex AI] AddCitation.publicationDate
firebase/firebase-ios-sdk#13893CandidateResponse
toCandidate
by @andrewheard in [Vertex AI] RenameCandidateResponse
toCandidate
firebase/firebase-ios-sdk#13897presencePenalty
andfrequencyPenalty
by @andrewheard in [Vertex AI] AddpresencePenalty
andfrequencyPenalty
firebase/firebase-ios-sdk#13899LocalizedError
conformance by @vvisionnn in fix: correctLocalizedError
conformance firebase/firebase-ios-sdk#13895GenerationConfig
properties internal by @andrewheard in [Vertex AI] MakeGenerationConfig
properties internal firebase/firebase-ios-sdk#13904New Contributors
LocalizedError
conformance firebase/firebase-ios-sdk#13895Full Changelog: firebase/firebase-ios-sdk@11.3.0...11.4.0