Cloud AI Platform v1 API - Class CountTokensResponse (2.21.0)

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

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

Response message for [PredictionService.CountTokens][].

Inheritance

object > CountTokensResponse

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

CountTokensResponse()

public CountTokensResponse()

CountTokensResponse(CountTokensResponse)

public CountTokensResponse(CountTokensResponse other)
Parameter
NameDescription
otherCountTokensResponse

Properties

TotalBillableCharacters

public int TotalBillableCharacters { get; set; }

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

Property Value
TypeDescription
int

TotalTokens

public int TotalTokens { get; set; }

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

Property Value
TypeDescription
int