modality property

String? modality
getter/setter pair

The modality associated with the token count. Possible string values are:

  • "RESPONSE_MODALITY_UNSPECIFIED" : Default value. This value is unused.
  • "TEXT" : Indicates the model should return text.
  • "IMAGE" : Indicates the model should return images.
  • "AUDIO" : Indicates the model should return audio.
  • "VIDEO" : Indicates the model should return video.
  • "DOCUMENT" : Indicates the model should return documents.

Implementation

core.String? modality;