Interface: TextGenerationStreamPrefillToken

Properties

id

id: number

Token ID from the model tokenizer

Defined in

HfInference.ts:246


logprob

Optional logprob: number

Logprob Optional since the logprob of the first token cannot be computed

Defined in

HfInference.ts:253


text

text: string

Token text

Defined in

HfInference.ts:248