API reference · Kjarni 0.2.7

Interface: ChatOptions

kjarni-wasm • Docs


kjarni-wasm / ChatOptions

How Kjarni.chat generates a reply.

Properties

maxNewTokens?

optional maxNewTokens: number

The most tokens to generate. Defaults to 256.

Defined in

index.ts:40


temperature?

optional temperature: number

Sampling temperature. Defaults to 0, greedy decoding, which is deterministic.

Defined in

index.ts:42

Kjarni runs the same engine on every platform: