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
* Output response schema of the generated candidate text. This
86
-
* value can be a class generated with a <code>{@link Schema}</code> static method
99
+
* value can be a class generated with a {@link Schema} static method
87
100
* like `Schema.string()` or `Schema.object()` or it can be a plain
88
-
* JS object matching the <code>{@link SchemaRequest}</code> interface.
101
+
* JS object matching the {@link SchemaRequest} interface.
89
102
* <br/>Note: This only applies when the specified `responseMIMEType` supports a schema; currently
90
103
* this is limited to `application/json` and `text/x.enum`.
91
104
*/
92
105
responseSchema?: TypedSchema|SchemaRequest;
106
+
/**
107
+
* Generation modalities to be returned in generation responses.
108
+
*
109
+
* @remarks
110
+
* - Multimodal response generation is only supported by some Gemini models and versions; see {@link https://firebase.google.com/docs/vertex-ai/models | model versions}.
111
+
* - Only image generation (`ResponseModality.IMAGE`) is supported.
0 commit comments