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
Copy file name to clipboardExpand all lines: docs-devsite/ai.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,8 @@ The Firebase AI Web SDK.
21
21
| <b>function(ai, ...)</b> |
22
22
|[getGenerativeModel(ai, modelParams, requestOptions)](./ai.md#getgenerativemodel_80bd839)| Returns a [GenerativeModel](./ai.generativemodel.md#generativemodel_class) class with methods for inference and other functionality. |
23
23
|[getImagenModel(ai, modelParams, requestOptions)](./ai.md#getimagenmodel_e1f6645)| <b><i>(Public Preview)</i></b> Returns an [ImagenModel](./ai.imagenmodel.md#imagenmodel_class) class with methods for using Imagen.<!---->Only Imagen 3 models (named <code>imagen-3.0-*</code>) are supported. |
|[AI](./ai.ai.md#ai_interface)| An instance of the Firebase AI SDK.<!---->Do not create this instance directly. Instead, use [getAI()](./ai.md#getai_a94a413)<!---->. |
52
54
|[AIOptions](./ai.aioptions.md#aioptions_interface)| Options for initializing the AI service using [getAI()](./ai.md#getai_a94a413)<!---->. This allows specifying which backend to use (Vertex AI Gemini API or Gemini Developer API) and configuring its specific options (like location for Vertex AI). |
55
+
|[AppCheckOptions](./ai.appcheckoptions.md#appcheckoptions_interface)| Configures App Check usage for this AI service instance. |
53
56
|[BaseParams](./ai.baseparams.md#baseparams_interface)| Base parameters for a number of methods. |
54
57
|[Citation](./ai.citation.md#citation_interface)| A single citation. |
55
58
|[CitationMetadata](./ai.citationmetadata.md#citationmetadata_interface)| Citation metadata that may be found on a [GenerateContentCandidate](./ai.generatecontentcandidate.md#generatecontentcandidate_interface)<!---->. |
@@ -264,6 +267,27 @@ export declare function getImagenModel(ai: AI, modelParams: ImagenModelParams, r
264
267
265
268
If the `apiKey` or `projectId` fields are missing in your Firebase config.
0 commit comments