API reference · Kjarni 0.2.7
Interface: ChatOptions
kjarni-wasm • Docs
kjarni-wasm / ChatOptions
How Kjarni.chat generates a reply.
Properties
maxNewTokens?
optionalmaxNewTokens:number
The most tokens to generate. Defaults to 256.
Defined in
temperature?
optionaltemperature:number
Sampling temperature. Defaults to 0, greedy decoding, which is deterministic.
Defined in
Kjarni runs the same engine on every platform: