You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[getGenAI(app, options)](./vertexai.md#getgenai_65c48ee)| Returns the default [GenAI](./vertexai.genai.md#genai_interface) instance that is associated with the provided [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface)<!---->. If no instance exists, initializes a new instance with the default settings. |
20
20
|[getVertexAI(app, options)](./vertexai.md#getvertexai_04094cf)| Returns a <code>[VertexAI](./vertexai.md#vertexai)</code> instance for the given app. |
21
21
| <b>function()</b> |
22
-
|[googleAIBackend()](./vertexai.md#googleaibackend)| Creates a <code>[Backend](./vertexai.md#backend)</code> instance configured to use Google AI. |
22
+
|[googleAIBackend()](./vertexai.md#googleaibackend)| Creates a [Backend](./vertexai.md#backend) instance configured to use Google AI. |
23
23
| <b>function(genAI, ...)</b> |
24
-
|[getGenerativeModel(genAI, modelParams, requestOptions)](./vertexai.md#getgenerativemodel_e3ccf80)| Returns a <code>[GenerativeModel](./vertexai.generativemodel.md#generativemodel_class)</code> class with methods for inference and other functionality. |
24
+
|[getGenerativeModel(genAI, modelParams, requestOptions)](./vertexai.md#getgenerativemodel_e3ccf80)| Returns a <code>[GenerativeModel](./vertexai.generativemodel.md#generativemodel_class) class with methods for inference and other functionality. |
25
25
|[getImagenModel(genAI, modelParams, requestOptions)](./vertexai.md#getimagenmodel_bffbd6b)| <b><i>(Public Preview)</i></b> Returns an <code>[ImagenModel](./vertexai.imagenmodel.md#imagenmodel_class)</code> class with methods for using Imagen.<!---->Only Imagen 3 models (named <code>imagen-3.0-*</code>) are supported. |
26
26
| <b>function(location, ...)</b> |
27
-
|[vertexAIBackend(location)](./vertexai.md#vertexaibackend_d0a4534)| Creates a <code>[Backend](./vertexai.md#backend)</code> instance configured to use Vertex AI. |
27
+
|[vertexAIBackend(location)](./vertexai.md#vertexaibackend_d0a4534)| Creates a [Backend](./vertexai.md#backend) instance configured to use Vertex AI. |
|[BackendType](./vertexai.md#backendtype)| An enum-like object containing constants that represent the supported backends for the Firebase GenAI SDK.<!---->These values are assigned to the <code>backendType</code> property within the specific backend configuration objects ([GoogleAIBackend](./vertexai.md#googleaibackend) or [VertexAIBackend](./vertexai.md#vertexaibackend)<!---->) to identify which service to target. |
133
133
|[POSSIBLE\_ROLES](./vertexai.md#possible_roles)| Possible roles. |
134
-
|[VertexAIError](./vertexai.md#vertexaierror)| Error class for the Vertex AI in Firebase SDK.<!---->For more information, refer to the documentation for the new <code>[GenAIError](./vertexai.genaierror.md#genaierror_class)</code>. |
134
+
|[VertexAIError](./vertexai.md#vertexaierror)| Error class for the Vertex AI in Firebase SDK.<!---->For more information, refer to the documentation for the new [GenAIError](./vertexai.genaierror.md#genaierror_class)<!---->. |
135
135
|[VertexAIModel](./vertexai.md#vertexaimodel)| Base class for Vertex AI in Firebase model APIs.<!---->For more information, refer to the documentation for the new [GenAIModel](./vertexai.genaimodel.md#genaimodel_class)<!---->. |
136
136
137
137
## Type Aliases
@@ -164,14 +164,14 @@ export declare function getGenAI(app?: FirebaseApp, options?: GenAIOptions): Gen
164
164
165
165
| Parameter | Type | Description |
166
166
| --- | --- | --- |
167
-
| app |[FirebaseApp](./app.firebaseapp.md#firebaseapp_interface)| The <code>[FirebaseApp](./app.firebaseapp.md#firebaseapp_interface)</code> to use. |
168
-
| options |[GenAIOptions](./vertexai.genaioptions.md#genaioptions_interface)|<code>[GenAIOptions](./vertexai.genaioptions.md#genaioptions_interface)</code> that configure the GenAI instance. |
167
+
| app |[FirebaseApp](./app.firebaseapp.md#firebaseapp_interface)| The [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface) to use. |
168
+
| options |[GenAIOptions](./vertexai.genaioptions.md#genaioptions_interface)|[GenAIOptions](./vertexai.genaioptions.md#genaioptions_interface) that configure the GenAI instance. |
169
169
170
170
<b>Returns:</b>
171
171
172
172
[GenAI](./vertexai.genai.md#genai_interface)
173
173
174
-
The default <code>[GenAI](./vertexai.genai.md#genai_interface)</code> instance for the given <code>[FirebaseApp](./app.firebaseapp.md#firebaseapp_interface)</code>.
174
+
The default [GenAI](./vertexai.genai.md#genai_interface) instance for the given [FirebaseApp](./app.firebaseapp.md#firebaseapp_interface)<!---->.
Returns a <code>[GenerativeModel](./vertexai.generativemodel.md#generativemodel_class)</code> class with methods for inference and other functionality.
244
+
Returns a <code>[GenerativeModel](./vertexai.generativemodel.md#generativemodel_class) class with methods for inference and other functionality.
245
245
246
246
<b>Signature:</b>
247
247
@@ -296,7 +296,7 @@ If the `apiKey` or `projectId` fields are missing in your Firebase config.
0 commit comments