| Package | Description |
|---|---|
| xyz.felh.openai.jtokkit | |
| xyz.felh.openai.jtokkit.api |
| Modifier and Type | Method and Description |
|---|---|
static EncodingRegistry |
Encodings.newDefaultEncodingRegistry()
Creates a new
EncodingRegistry with the default encodings found in the EncodingType enum. |
static EncodingRegistry |
Encodings.newLazyEncodingRegistry()
Creates a new
EncodingRegistry without any EncodingType registered. |
| Modifier and Type | Method and Description |
|---|---|
EncodingRegistry |
EncodingRegistry.registerCustomEncoding(Encoding encoding)
Registers a new custom encoding with the given name.
|
EncodingRegistry |
EncodingRegistry.registerGptBytePairEncoding(GptBytePairEncodingParams parameters)
Registers a new byte pair encoding with the given name.
|
Copyright © 2023. All Rights Reserved.