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

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

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

Response message for ComputeTokens RPC call.

Inheritance

object > ComputeTokensResponse

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

ComputeTokensResponse()

public ComputeTokensResponse()

ComputeTokensResponse(ComputeTokensResponse)

public ComputeTokensResponse(ComputeTokensResponse other)
Parameter
Name Description
other ComputeTokensResponse

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
Type Description
RepeatedFieldTokensInfo