Skip to main content

Module input

Module input 

Source

Structs§

CanonicalInput
Adapter output and tokenizer input: one record of canonical information.
TokenSequence
Token ids scoped to the exact vocabulary that produced them.

Enums§

Modality
What kind of information a payload carries. Declared by the adapter.
Payload
The two canonical shapes a tokenizer accepts (ADR-0004).
PayloadKind
UnknownPolicy
What an encoder does with a symbol its frozen vocabulary does not contain.

Constants§

MAX_ESCAPES
Most escaped symbols one sequence may carry.