responseModalities property

List<String>? responseModalities
getter/setter pair

The modalities of the response.

The model will generate a response that includes all the specified modalities. For example, if this is set to [TEXT, IMAGE], the response will include both text and an image.

Optional.

Implementation

core.List<core.String>? responseModalities;