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
Class for Live generative model APIs. The Live API enables low-latency, two-way multimodal interactions with Gemini.
17
17
18
-
Do not call this class' constructor directly. Instead, call[getLiveGenerativeModel()](./ai.md#getlivegenerativemodel_f2099ac)<!---->.
18
+
This class should only be instantiated with[getLiveGenerativeModel()](./ai.md#getlivegenerativemodel_f2099ac)<!---->.
19
19
20
20
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `LiveGenerativeModel` class.
Represents an active, real-time, bidirectional conversation with the model.
17
17
18
-
Do not call this constructor directly. Instead, call[LiveGenerativeModel.connect()](./ai.livegenerativemodel.md#livegenerativemodelconnect)<!---->.
18
+
This class should only be instantiated by calling[LiveGenerativeModel.connect()](./ai.livegenerativemodel.md#livegenerativemodelconnect)<!---->.
19
19
20
20
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `LiveSession` class.
Copy file name to clipboardExpand all lines: docs-devsite/ai.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,8 +39,8 @@ The Firebase AI Web SDK.
39
39
|[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)<!---->. |
40
40
|[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. |
41
41
|[IntegerSchema](./ai.integerschema.md#integerschema_class)| Schema class for "integer" types. |
42
-
|[LiveGenerativeModel](./ai.livegenerativemodel.md#livegenerativemodel_class)| <b><i>(Public Preview)</i></b> Class for Live generative model APIs. The Live API enables low-latency, two-way multimodal interactions with Gemini.<!---->Do not call this class' constructor directly. Instead, call[getLiveGenerativeModel()](./ai.md#getlivegenerativemodel_f2099ac)<!---->. |
43
-
|[LiveSession](./ai.livesession.md#livesession_class)| <b><i>(Public Preview)</i></b> Represents an active, real-time, bidirectional conversation with the model.<!---->Do not call this constructor directly. Instead, call[LiveGenerativeModel.connect()](./ai.livegenerativemodel.md#livegenerativemodelconnect)<!---->. |
42
+
|[LiveGenerativeModel](./ai.livegenerativemodel.md#livegenerativemodel_class)| <b><i>(Public Preview)</i></b> Class for Live generative model APIs. The Live API enables low-latency, two-way multimodal interactions with Gemini.<!---->This class should only be instantiated with[getLiveGenerativeModel()](./ai.md#getlivegenerativemodel_f2099ac)<!---->. |
43
+
|[LiveSession](./ai.livesession.md#livesession_class)| <b><i>(Public Preview)</i></b> Represents an active, real-time, bidirectional conversation with the model.<!---->This class should only be instantiated by calling[LiveGenerativeModel.connect()](./ai.livegenerativemodel.md#livegenerativemodelconnect)<!---->. |
44
44
|[NumberSchema](./ai.numberschema.md#numberschema_class)| Schema class for "number" types. |
45
45
|[ObjectSchema](./ai.objectschema.md#objectschema_class)| Schema class for "object" types. The <code>properties</code> param must be a map of <code>Schema</code> objects. |
46
46
|[Schema](./ai.schema.md#schema_class)| Parent class encompassing all Schema types, with static methods that allow building specific Schema types. This class can be converted with <code>JSON.stringify()</code> into a JSON string accepted by Vertex AI REST endpoints. (This string conversion is automatically done when calling SDK methods.) |
0 commit comments