|
|
1 год назад | |
|---|---|---|
| .. | ||
| Sample | 1e63a556a0 [Vertex AI] Use `struct` instead of `enum` for `HarmProbability` (#13854) | 1 год назад |
| Sources | 02025cef95 [Vertex AI] Replace "enum" computed properties with `static let` (#13870) | 1 год назад |
| Tests | fde2baf3d4 [Vertex AI] Refactor `StringFormat` and `IntegerFormat` as structs (#13865) | 1 год назад |
| CHANGELOG.md | 4b263b6ce5 [Vertex AI] Refactor `BlockReason` as a `struct` and add new values (#13861) | 1 год назад |
| README.md | 18db6d8ba7 [Vertex AI] Add README for unit test mock files (#13233) | 1 год назад |
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.