Google Cloud Ai Platform V1 Client - Class Modality (1.56.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Modality.

The modalities of the response.

Protobuf type google.cloud.aiplatform.v1.GenerationConfig.Modality

Namespace

Google \ Cloud \ AIPlatform \ V1 \ GenerationConfig

Methods

static::name

Parameter
Name
Description
value
mixed

static::value

Parameter
Name
Description
name
mixed

Constants

MODALITY_UNSPECIFIED

  Value: 0 
 

Unspecified modality. Will be processed as text.

Generated from protobuf enum MODALITY_UNSPECIFIED = 0;

TEXT

  Value: 1 
 

Text modality.

Generated from protobuf enum TEXT = 1;

IMAGE

  Value: 2 
 

Image modality.

Generated from protobuf enum IMAGE = 2;

AUDIO

  Value: 3 
 

Audio modality.

Generated from protobuf enum AUDIO = 3;

Create a Mobile Website
View Site in Mobile | Classic
Share by: