Andrew Heard 46b6c52fcf Use resultBuilder in sample app for testing 1 rok temu
..
Sample 46b6c52fcf Use resultBuilder in sample app for testing 1 rok temu
Sources 90b013bef7 Fix infinite recursion in Chat 1 rok temu
Tests b16709d66e Add `PartsBuilder` resultBuilder 1 rok temu
CHANGELOG.md 78c341f1bd [Vertex AI] Remove `CountTokensError` enum (#13736) 1 rok temu
README.md 18db6d8ba7 [Vertex AI] Add README for unit test mock files (#13233) 1 rok temu

README.md

Vertex AI for Firebase SDK

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.

Development

After following the Swift Package Manager setup instructions, choose the FirebaseVertexAI-Preview 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 script above to download the updated files.