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.
For developer documentation, please visit https://firebase.google.com/docs/vertex-ai. This README is for contributors building and running tests for the SDK.
All Gradle commands should be run from the root of this repository.
./gradlew :firebase-vertexai:publishToMavenLocal
Important
These unit tests require mock response files, which can be downloaded by running
./firebase-vertexai/update_responses.sh
from the root of this repository.
Unit tests:
./gradlew :firebase-vertexai:check
Integration tests, requiring a running and connected device (emulator or real):
./gradlew :firebase-vertexai:deviceCheck
Format Kotlin code in this SDK in Android Studio using the ktfmt plugin with code style to Google (internal), or by running:
./gradlew :firebase-vertexai:ktfmtFormat