Class Token
Inherited Members
Namespace: Glitch9.AIDevKit.xAI
Assembly: Glitch9.AIDevKit.Provider.XAI.dll
Syntax
public class Token
Properties
| Edit this page View SourceStringToken
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 int[] TokenBytes { get; set; }
Property Value
| Type | Description |
|---|---|
| int[] |
TokenId
Required. The integer representation of the token for the model.
Declaration
[JsonProperty("token_id")]
public int TokenId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |