Interface: TextGenerationOutputToken

Generated token.

Indexable

▪ [property: string]: unknown

Properties

id

id: number

Defined in

inference/src/tasks/nlp/textGeneration.ts:184


logprob

Optional logprob: number

Defined in

inference/src/tasks/nlp/textGeneration.ts:185


special

special: boolean

Whether or not that token is a special one

Defined in

inference/src/tasks/nlp/textGeneration.ts:189


text

text: string

The text associated with that token

Defined in

inference/src/tasks/nlp/textGeneration.ts:193