Crate tiktoken_rust
source ·Expand description
tiktoken_rust
This crate is a tokeniser for use with OpenAI’s models.
Structs
Enums
Functions
- Returns the encoding used by a model.
- Return Encoding object TODO: cache created Encoding object
- List available encodings by name