Class GoogleCloudAiplatformV1beta1CountTokensRequest
Request message for PredictionService.CountTokens.
Implements
Inherited Members
Namespace: Google.Apis.FirebaseML.v2beta.Data
Assembly: Google.Apis.FirebaseML.v2beta.dll
Syntax
public class GoogleCloudAiplatformV1beta1CountTokensRequest : 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 |
GenerationConfig
Optional. Generation config that the model will use to generate the response.
Declaration
[JsonProperty("generationConfig")]
public virtual GoogleCloudAiplatformV1beta1GenerationConfig GenerationConfig { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAiplatformV1beta1GenerationConfig |
Instances
Optional. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model.
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 |
SystemInstruction
Optional. The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph.
Declaration
[JsonProperty("systemInstruction")]
public virtual GoogleCloudAiplatformV1beta1Content SystemInstruction { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudAiplatformV1beta1Content |
Tools
Optional. A list of Tools
the model may use to generate the next response. A Tool
is a piece of code
that enables the system to interact with external systems to perform an action, or set of actions, outside
of knowledge and scope of the model.
Declaration
[JsonProperty("tools")]
public virtual IList<GoogleCloudAiplatformV1beta1Tool> Tools { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudAiplatformV1beta1Tool> |