Files
firebase-ios-sdk/FirebaseAI
Andrew Heard 27eaab3918 feat(ai): document and expose GeminiLanguageModel (#16631)
Remove the GEMINI_LANGUAGE_MODEL environment variable check in
Package.swift to unconditionally include GeminiLanguageModel targets
and dependencies on supported Swift 6.4+ toolchains.

Add DocC documentation comments for the GeminiLanguageModel integration
with Apple's Foundation Models framework.

Provide usage guidance, public preview warnings, and links to Apple's
LanguageModel protocol, LanguageModelSession, and DynamicProfile. In
addition, document FirebaseAI.geminiLanguageModel(name:) and include
a code example showing how to instantiate and use the model.
2026-09-09 15:57:01 -04:00
..

Firebase AI SDK

Development

After following the Swift Package Manager setup instructions, choose the FirebaseAI scheme to build the SDK.

Unit Tests

Important

These unit tests require mock response files, which can be downloaded by running scripts/update_vertexai_responses.sh from the root of this repository.

Choose the FirebaseAIUnit scheme to build and run the unit tests.

Updating Mock Responses

To update the mock responses, create a PR in the vertexai-sdk-test-data repo. After it is merged, re-run the update_vertexai_responses.sh script to download the updated files.