Skip to content

Files

FirebaseVertexAI

Vertex AI for Firebase SDK

Development

After following the Swift Package Manager setup instructions, choose the FirebaseVertexAI 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 FirebaseVertexAIUnit 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.