Cloud AI Platform v1beta1 API - Class CountTokensResponse (1.0.0-beta03)

public sealed class CountTokensResponse : IMessage<CountTokensResponse>, IEquatable<CountTokensResponse>, IDeepCloneable<CountTokensResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1beta1 API class CountTokensResponse.

Response message for [PredictionService.CountTokens][google.cloud.aiplatform.v1beta1.PredictionService.CountTokens].

Inheritance

object > CountTokensResponse

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

CountTokensResponse()

public CountTokensResponse()

CountTokensResponse(CountTokensResponse)

public CountTokensResponse(CountTokensResponse other)
Parameter
Name Description
other CountTokensResponse

Properties

TotalBillableCharacters

public int TotalBillableCharacters { get; set; }

The total number of billable characters counted across all instances from the request.

Property Value
Type Description
int

TotalTokens

public int TotalTokens { get; set; }

The total number of tokens counted across all instances from the request.

Property Value
Type Description
int