Preview: Vertex AI for Firebase is in Public Preview, which means that the product is not subject to any SLA or deprecation policy and could change in backwards-incompatible ways.
After following the Swift Package Manager
setup instructions,
choose the FirebaseVertexAI-Preview scheme to build the SDK.
[!IMPORTANT] These unit tests require mock response files, which can be downloaded by running
scripts/update_vertexai_responses.shfrom the root of this repository.
Choose the FirebaseVertexAIUnit scheme to build and run the unit tests.
To update the mock responses, create a PR in the
vertexai-sdk-test-data
repo. After it is merged, re-run the
script
above to download the updated files.