Uses of Enum Class
io.github.kirstenali.deepj.nn.transformer.ContextWindowMode
Packages that use ContextWindowMode
-
Uses of ContextWindowMode in io.github.kirstenali.deepj.chatui
Methods in io.github.kirstenali.deepj.chatui with parameters of type ContextWindowModeModifier and TypeMethodDescriptiondefault StringChatService.generate(String prompt, int maxTokens, float temperature, int topK, long seed, float repetitionPenalty, ContextWindowMode mode, Consumer<String> listener) DeepJChatService.generate(String prompt, int maxTokens, float temperature, int topK, long seed, float repetitionPenalty, ContextWindowMode mode, Consumer<String> listener) DeepJPrismChatService.generate(String prompt, int maxTokens, float temperature, int topK, long seed, float repetitionPenalty, ContextWindowMode mode, Consumer<String> listener) -
Uses of ContextWindowMode in io.github.kirstenali.deepj.nn.transformer
Methods in io.github.kirstenali.deepj.nn.transformer that return ContextWindowModeModifier and TypeMethodDescriptionstatic ContextWindowModeReturns the enum constant of this class with the specified name.static ContextWindowMode[]ContextWindowMode.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.github.kirstenali.deepj.nn.transformer with parameters of type ContextWindowModeModifier and TypeMethodDescriptiondefault GenerationSessionCausalLM.openGeneration(ContextWindowMode mode) DecoderOnlyModel.openGeneration(ContextWindowMode mode) DeepJChat.withContextWindow(ContextWindowMode mode) Returns a view sharing this model and tokenizer, with independent request-scoped caches.