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/vertexai.md
+11-19
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,6 @@ The Vertex AI in Firebase Web SDK.
55
55
|[ImagenAspectRatio](./vertexai.md#imagenaspectratio)| <b><i>(Public Preview)</i></b> Aspect ratios for Imagen images.<!---->To specify an aspect ratio for generated images, set the <code>aspectRatio</code> property in your [ImagenGenerationConfig](./vertexai.imagengenerationconfig.md#imagengenerationconfig_interface)<!---->.<!---->See the the [documentation](http://firebase.google.com/docs/vertex-ai/generate-images) for more details and examples of the supported aspect ratios. |
56
56
|[ImagenPersonFilterLevel](./vertexai.md#imagenpersonfilterlevel)| <b><i>(Public Preview)</i></b> A filter level controlling whether generation of images containing people or faces is allowed.<!---->See the <ahref="http://firebase.google.com/docs/vertex-ai/generate-images">personGeneration</a> documentation for more details. |
57
57
|[ImagenSafetyFilterLevel](./vertexai.md#imagensafetyfilterlevel)| <b><i>(Public Preview)</i></b> A filter level controlling how aggressively to filter sensitive content.<!---->Text prompts provided as inputs and images (generated or uploaded) through Imagen on Vertex AI are assessed against a list of safety filters, which include 'harmful categories' (for example, <code>violence</code>, <code>sexual</code>, <code>derogatory</code>, and <code>toxic</code>). This filter level controls how aggressively to filter out potentially harmful content from responses. See the [documentation](http://firebase.google.com/docs/vertex-ai/generate-images) and the [Responsible AI and usage guidelines](https://cloud.google.com/vertex-ai/generative-ai/docs/image/responsible-ai-imagen#safety-filters) for more details. |
58
-
|[InferenceMode](./vertexai.md#inferencemode)| Determines whether inference happens on-device or in-cloud. |
59
58
|[Modality](./vertexai.md#modality)| Content part modality. |
60
59
|[SchemaType](./vertexai.md#schematype)| Contains the list of OpenAPI data types as defined by the [OpenAPI specification](https://swagger.io/docs/specification/data-models/data-types/)|
61
60
|[VertexAIErrorCode](./vertexai.md#vertexaierrorcode)| Standardized error codes that [VertexAIError](./vertexai.vertexaierror.md#vertexaierror_class) can have. |
@@ -132,6 +131,7 @@ The Vertex AI in Firebase Web SDK.
132
131
133
132
| Type Alias | Description |
134
133
| --- | --- |
134
+
|[InferenceMode](./vertexai.md#inferencemode)| Determines whether inference happens on-device or in-cloud. |
135
135
|[Part](./vertexai.md#part)| Content part - includes text, image/video, or function call/response part types. |
136
136
|[Role](./vertexai.md#role)| Role is the producer of the content. |
137
137
|[Tool](./vertexai.md#tool)| Defines a tool that model can call to access external knowledge. |
| BLOCK\_NONE | <code>"block_none"</code> | <b><i>(Public Preview)</i></b> The least aggressive filtering level; blocks very few sensitive prompts and responses.<!-- -->Access to this feature is restricted and may require your case to be reviewed and approved by Cloud support. |
492
502
| BLOCK\_ONLY\_HIGH | <code>"block_only_high"</code> | <b><i>(Public Preview)</i></b> Blocks few sensitive prompts and responses. |
493
503
494
-
## InferenceMode
495
-
496
-
Determines whether inference happens on-device or in-cloud.
0 commit comments