Expand description
TokenizerMap — the per-model dialect record. Maps are
content-addressed (sha256) and immutable.
Structs§
- Tokenizer
Map - A per-model tokenizer dialect — the data needed to encode text into token IDs and decode IDs back to text.
- Tool
Calling Block - Per-model tool-calling convention block carried inside a
TokenizerMap. Eachconventionvalue pins a specific argument layout, marker placement, and result framing — seespec/PROTOCOL.md§ “Tool-call calling conventions in the map” for the normative table. - Tool
Calling Markers - Start/end marker token names for a tool call.
Enums§
- Tokenizer
MapError - Errors raised by
TokenizerMapparsing/validation. - Tool
Calling Args Format - Tool
Calling Convention - Closed enum of tool-calling conventions. See
spec/PROTOCOL.mdfor the normative behaviour pinned to each value. - Tool
Calling Result Format