Class GoogleCloudAiplatformV1beta1ComputeTokensRequest
Request message for ComputeTokens RPC call.
Implements
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1.Data
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class GoogleCloudAiplatformV1beta1ComputeTokensRequest : IDirectResponseSchema
Properties
Contents
Optional. Input content.
Declaration
[JsonProperty("contents")]
public virtual IList<GoogleCloudAiplatformV1beta1Content> Contents { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudAiplatformV1beta1Content> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Instances
Optional. The instances that are the input to token computing API call. Schema is identical to the prediction schema of the text model, even for the non-text models, like chat models, or Codey models.
Declaration
[JsonProperty("instances")]
public virtual IList<object> Instances { get; set; }
Property Value
Type | Description |
---|---|
IList<object> |
Model
Optional. The name of the publisher model requested to serve the prediction. Format: projects/{project}/locations/{location}/publishers//models/
Declaration
[JsonProperty("model")]
public virtual string Model { get; set; }
Property Value
Type | Description |
---|---|
string |