Cloud AI Platform v1 API - Class ComputeTokensResponse (2.23.0)

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

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

Response message for ComputeTokens RPC call.

Inheritance

object > ComputeTokensResponse

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

ComputeTokensResponse()

public ComputeTokensResponse()

ComputeTokensResponse(ComputeTokensResponse)

public ComputeTokensResponse(ComputeTokensResponse other)
Parameter
NameDescription
otherComputeTokensResponse

Properties

TokensInfo

public RepeatedField<TokensInfo> TokensInfo { get; }

Lists of tokens info from the input. A ComputeTokensRequest could have multiple instances with a prompt in each instance. We also need to return lists of tokens info for the request with multiple instances.

Property Value
TypeDescription
RepeatedFieldTokensInfo