Share via


Model.IdToToken(Int32, Boolean) Method

Definition

Map the tokenized Id to the token.

public abstract string? IdToToken (int id, bool skipSpecialTokens = false);
abstract member IdToToken : int * bool -> string
Public MustOverride Function IdToToken (id As Integer, Optional skipSpecialTokens As Boolean = false) As String

Parameters

id
Int32

The Id to map to the token.

skipSpecialTokens
Boolean

Indicate if want to skip the special tokens during the decoding.

Returns

The mapped token of the Id.

Applies to