Uses of Enum Class
xyz.felh.openai.jtokkit.api.ModelType
Packages that use ModelType
-
Uses of ModelType in xyz.felh.openai.jtokkit.api
Methods in xyz.felh.openai.jtokkit.api that return ModelTypeModifier and TypeMethodDescriptionstatic ModelTypeReturns the enum constant of this class with the specified name.static ModelType[]ModelType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in xyz.felh.openai.jtokkit.api that return types with arguments of type ModelTypeModifier and TypeMethodDescriptionReturns aModelTypefor the given name, orOptional.empty()if no such model type exists.Methods in xyz.felh.openai.jtokkit.api with parameters of type ModelTypeModifier and TypeMethodDescriptionEncodingRegistry.getEncodingForModel(ModelType modelType) Returns the encoding that is used for the given model type.