# com.google.firebase.vertexai

# com.google.firebase.vertexai

## Classes

|---|---|
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/vertexai/Chat` | **This class is deprecated.** The Vertex AI in Firebase SDK (firebase-vertexai) has been replaced with the FirebaseAI SDK (firebase-ai) to accommodate the evolving set of supported features and services. |
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/vertexai/FirebaseVertexAI` | Entry point for all *Vertex AI in Firebase* functionality. |
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/vertexai/GenerativeModel` | **This class is deprecated.** The Vertex AI in Firebase SDK (firebase-vertexai) has been replaced with the FirebaseAI SDK (firebase-ai) to accommodate the evolving set of supported features and services. |
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/vertexai/ImagenModel` | **This class is deprecated.** The Vertex AI in Firebase SDK (firebase-vertexai) has been replaced with the FirebaseAI SDK (firebase-ai) to accommodate the evolving set of supported features and services. |
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/vertexai/LiveGenerativeModel` | **This class is deprecated.** The Vertex AI in Firebase SDK (firebase-vertexai) has been replaced with the FirebaseAI SDK (firebase-ai) to accommodate the evolving set of supported features and services. |

## Extension functions summary

|---|---|
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/vertexai/FirebaseVertexAI` | `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/Firebase.https://firebase.google.com/docs/reference/kotlin/com/google/firebase/vertexai/package-summary#(com.google.firebase.Firebase).vertexAI(com.google.firebase.FirebaseApp,kotlin.String)(app: https://firebase.google.com/docs/reference/kotlin/com/google/firebase/FirebaseApp, location: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)` Returns the `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/vertexai/FirebaseVertexAI` instance of a given `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/FirebaseApp`. |

## Extension properties summary

|---|---|
| `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/vertexai/FirebaseVertexAI` | `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/Firebase.https://firebase.google.com/docs/reference/kotlin/com/google/firebase/vertexai/package-summary#(com.google.firebase.Firebase).vertexAI()` Returns the `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/vertexai/FirebaseVertexAI` instance of the default `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/FirebaseApp`. |

## Extension functions

### vertexAI

```
fun Firebase.vertexAI(
    app: FirebaseApp = Firebase.app,
    location: String = "us-central1"
): FirebaseVertexAI
```

Returns the `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/vertexai/FirebaseVertexAI` instance of a given `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/FirebaseApp`.

## Extension properties

### vertexAI

```
val Firebase.vertexAI: FirebaseVertexAI
```

Returns the `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/vertexai/FirebaseVertexAI` instance of the default `https://firebase.google.com/docs/reference/kotlin/com/google/firebase/FirebaseApp`.