Class GoogleCloudAiplatformV1Content
The base structured datatype containing multi-part content of a message. A Content
includes a role
field
designating the producer of the Content
and a parts
field containing multi-part data that contains the
content of the message turn.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1Content : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Parts
Required. Ordered Parts
that constitute a single message. Parts may have different IANA MIME types.
Declaration
[JsonProperty("parts")]
public virtual IList<GoogleCloudAiplatformV1Part> Parts { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudAiplatformV1Part> |
Role
Optional. The producer of the content. Must be either 'user' or 'model'. Useful to set for multi-turn conversations, otherwise can be left blank or unset.
Declaration
[JsonProperty("role")]
public virtual string Role { get; set; }
Property Value
Type | Description |
---|---|
string |