Cloud AI Platform v1 API - Class TokensInfo (2.21.0)

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

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

Tokens info with a list of tokens and the corresponding list of token ids.

Inheritance

object > TokensInfo

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

TokensInfo()

public TokensInfo()

TokensInfo(TokensInfo)

public TokensInfo(TokensInfo other)
Parameter
NameDescription
otherTokensInfo

Properties

TokenIds

public RepeatedField<long> TokenIds { get; }

A list of token ids from the input.

Property Value
TypeDescription
RepeatedFieldlong

Tokens

public RepeatedField<ByteString> Tokens { get; }

A list of tokens from the input.

Property Value
TypeDescription
RepeatedFieldByteString