Uses of Interface
xyz.felh.openai.jtokkit.api.EncodingRegistry
Packages that use EncodingRegistry
-
Uses of EncodingRegistry in xyz.felh.openai.jtokkit
Methods in xyz.felh.openai.jtokkit that return EncodingRegistryModifier and TypeMethodDescriptionstatic EncodingRegistryEncodings.newDefaultEncodingRegistry()Creates a newEncodingRegistrywith the default encodings found in theEncodingTypeenum.static EncodingRegistryEncodings.newLazyEncodingRegistry()Creates a newEncodingRegistrywithout anyEncodingTyperegistered. -
Uses of EncodingRegistry in xyz.felh.openai.jtokkit.api
Methods in xyz.felh.openai.jtokkit.api that return EncodingRegistryModifier and TypeMethodDescriptionEncodingRegistry.registerCustomEncoding(Encoding encoding) Registers a new custom encoding with the given name.EncodingRegistry.registerGptBytePairEncoding(GptBytePairEncodingParams parameters) Registers a new byte pair encoding with the given name.