FirebaseVertexAI.Companion

public static class FirebaseVertexAI.Companion


Summary

Public fields

static final @NonNull FirebaseVertexAI

The FirebaseVertexAI instance for the default FirebaseApp

Public methods

static final @NonNull FirebaseVertexAI
static final @NonNull FirebaseVertexAI

Returns the FirebaseVertexAI instance for the provided FirebaseApp and location.

Public fields

instance

public static final @NonNull FirebaseVertexAI instance

The FirebaseVertexAI instance for the default FirebaseApp

Public methods

getInstance

public static final @NonNull FirebaseVertexAI getInstance(@NonNull FirebaseApp app)

getInstance

public static final @NonNull FirebaseVertexAI getInstance(@NonNull FirebaseApp app, @NonNull String location)

Returns the FirebaseVertexAI instance for the provided FirebaseApp and location.

Parameters
@NonNull String location

location identifier, defaults to us-central1; see available Vertex AI regions .