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