Cloud AI Platform v1 API - Class CountTokensResponse (3.7.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
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