Class GoogleCloudAiplatformV1beta1Content
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.FirebaseML.v2beta.Data
Assembly: Google.Apis.FirebaseML.v2beta.dll
Syntax
public class GoogleCloudAiplatformV1beta1Content : 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<GoogleCloudAiplatformV1beta1Part> Parts { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudAiplatformV1beta1Part> |
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 |