GenerationOptions

constructor(maxTokens: Int = 256, temperature: Float = 0.8f, topK: Int = 40, topP: Float = 0.95f, minP: Float = 0.05f, repeatPenalty: Float = 1.0f, repeatLastN: Int = 64, seed: Long? = null, grammar: LlamaGrammar? = null, stopSequences: List<String> = emptyList(), addSpecialTokens: Boolean = true, parseSpecialTokens: Boolean = true, renderSpecialTokens: Boolean = false, reusePromptCache: Boolean = true)(source)