Class TokenId
Represents a tokenization output as an asset structure,
designed to be used with Generated<TokenId>.
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
public class TokenId
Properties
| Edit this page View SourceId
Required. The integer representation of the token for the model. Minimum: 0
Declaration
[JsonProperty("token_id")]
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StringToken
Required. The string of the token.
Declaration
[JsonProperty("string_token")]
public string StringToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TokenBytes
Required. The bytes that constituted the token.
Declaration
[JsonProperty("token_bytes")]
public List<int> TokenBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| List<int> |