Cloud AI Platform v1 API - Class TokensInfo (3.3.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
Name Description
other TokensInfo

Properties

TokenIds

public RepeatedField<long> TokenIds { get; }

A list of token ids from the input.

Property Value
Type Description
RepeatedFieldlong

Tokens

public RepeatedField<ByteString> Tokens { get; }

A list of tokens from the input.

Property Value
Type Description
RepeatedFieldByteString