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
Instances of this class are associated with a specific Firebase AI backend (either the Vertex AI Gemini API or the Gemini Developer API via Google AI) and provide methods for interacting with the configured generative model.
15
+
Instances of this class are associated with a specific Firebase AI [Backend](./ai.backend.md#backend_class) and provide methods for interacting with the configured generative model.
16
16
17
17
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `AIModel` class.
Abstract base class representing the configuration for an AI service backend, determining whether to use the Gemini Developer API (via Google AI) or the Vertex AI Gemini API. This class should not be instantiated directly. Use its subclasses: - [GoogleAIBackend](./ai.googleaibackend.md#googleaibackend_class)<!---->: For the Gemini Developer API (via Google AI). - [VertexAIBackend](./ai.vertexaibackend.md#vertexaibackend_class)<!---->: For the Vertex AI Gemini API.
13
+
Abstract base class representing the configuration for an AI service backend. This class should not be instantiated directly. Use its subclasses; [GoogleAIBackend](./ai.googleaibackend.md#googleaibackend_class) for the Gemini Developer API (via [Google AI](https://ai.google/)<!---->), and [VertexAIBackend](./ai.vertexaibackend.md#vertexaibackend_class) for the Vertex AI Gemini API.
Configuration class for the Gemini Developer API (using Google AI).
13
+
Configuration class for the Gemini Developer API (using [Google AI](https://ai.google/)<!---->).
14
14
15
15
Use this with [AIOptions](./ai.aioptions.md#aioptions_interface) when initializing the AI service via [getAI()](./ai.md#getai_a94a413) to specify the Gemini Developer API as the backend.
Copy file name to clipboardExpand all lines: docs-devsite/ai.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -28,13 +28,13 @@ The Firebase AI Web SDK.
28
28
| Class | Description |
29
29
| --- | --- |
30
30
|[AIError](./ai.aierror.md#aierror_class)| Error class for the Firebase AI SDK. |
31
-
|[AIModel](./ai.aimodel.md#aimodel_class)| Base class for Firebase AI model APIs.<!---->Instances of this class are associated with a specific Firebase AI backend (either the Vertex AI Gemini API or the Gemini Developer API via Google AI) and provide methods for interacting with the configured generative model. |
31
+
|[AIModel](./ai.aimodel.md#aimodel_class)| Base class for Firebase AI model APIs.<!---->Instances of this class are associated with a specific Firebase AI [Backend](./ai.backend.md#backend_class) and provide methods for interacting with the configured generative model. |
32
32
|[ArraySchema](./ai.arrayschema.md#arrayschema_class)| Schema class for "array" types. The <code>items</code> param should refer to the type of item that can be a member of the array. |
33
-
|[Backend](./ai.backend.md#backend_class)| Abstract base class representing the configuration for an AI service backend, determining whether to use the Gemini Developer API (via Google AI) or the Vertex AI Gemini API. This class should not be instantiated directly. Use its subclasses: - [GoogleAIBackend](./ai.googleaibackend.md#googleaibackend_class)<!---->: For the Gemini Developer API (via Google AI). - [VertexAIBackend](./ai.vertexaibackend.md#vertexaibackend_class)<!---->: For the Vertex AI Gemini API. |
33
+
|[Backend](./ai.backend.md#backend_class)| Abstract base class representing the configuration for an AI service backend. This class should not be instantiated directly. Use its subclasses; [GoogleAIBackend](./ai.googleaibackend.md#googleaibackend_class) for the Gemini Developer API (via [Google AI](https://ai.google/)<!---->), and [VertexAIBackend](./ai.vertexaibackend.md#vertexaibackend_class) for the Vertex AI Gemini API. |
34
34
|[BooleanSchema](./ai.booleanschema.md#booleanschema_class)| Schema class for "boolean" types. |
35
35
|[ChatSession](./ai.chatsession.md#chatsession_class)| ChatSession class that enables sending chat messages and stores history of sent and received messages so far. |
36
36
|[GenerativeModel](./ai.generativemodel.md#generativemodel_class)| Class for generative model APIs. |
37
-
|[GoogleAIBackend](./ai.googleaibackend.md#googleaibackend_class)| Configuration class for the Gemini Developer API (using Google AI).<!---->Use this with [AIOptions](./ai.aioptions.md#aioptions_interface) when initializing the AI service via [getAI()](./ai.md#getai_a94a413) to specify the Gemini Developer API as the backend. |
37
+
|[GoogleAIBackend](./ai.googleaibackend.md#googleaibackend_class)| Configuration class for the Gemini Developer API (using [Google AI](https://ai.google/)<!---->).<!---->Use this with [AIOptions](./ai.aioptions.md#aioptions_interface) when initializing the AI service via [getAI()](./ai.md#getai_a94a413) to specify the Gemini Developer API as the backend. |
38
38
|[ImagenImageFormat](./ai.imagenimageformat.md#imagenimageformat_class)| <b><i>(Public Preview)</i></b> Defines the image format for images generated by Imagen.<!---->Use this class to specify the desired format (JPEG or PNG) and compression quality for images generated by Imagen. This is typically included as part of [ImagenModelParams](./ai.imagenmodelparams.md#imagenmodelparams_interface)<!---->. |
39
39
|[ImagenModel](./ai.imagenmodel.md#imagenmodel_class)| <b><i>(Public Preview)</i></b> Class for Imagen model APIs.<!---->This class provides methods for generating images using the Imagen model. |
40
40
|[IntegerSchema](./ai.integerschema.md#integerschema_class)| Schema class for "integer" types. |
|[@firebase/performance](./performance.md#performance_package)| The Firebase Performance Monitoring Web SDK. This SDK does not work in a Node.js environment. |
29
29
|[@firebase/remote-config](./remote-config.md#remote-config_package)| The Firebase Remote Config Web SDK. This SDK does not work in a Node.js environment. |
30
30
|[@firebase/storage](./storage.md#storage_package)| Cloud Storage for Firebase |
31
+
|[@firebase/vertexai](./vertexai.md#vertexai_package)| The Firebase AI Web SDK. |
0 commit comments