Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Modality.
Content Part modality
Protobuf type google.cloud.aiplatform.v1.Modality
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
MODALITY_UNSPECIFIED
Value: 0
Unspecified modality.
Generated from protobuf enum MODALITY_UNSPECIFIED = 0;
TEXT
Value: 1
Plain text.
Generated from protobuf enum TEXT = 1;
IMAGE
Value: 2
Image.
Generated from protobuf enum IMAGE = 2;
VIDEO
Value: 3
Video.
Generated from protobuf enum VIDEO = 3;
AUDIO
Value: 4
Audio.
Generated from protobuf enum AUDIO = 4;
DOCUMENT
Value: 5
Document, e.g. PDF.
Generated from protobuf enum DOCUMENT = 5;