#
Interface: TextGenerationStreamOutput

##
Properties

###
details

• details: `null` | `TextGenerationStreamDetails`

Generation details Only available when the generation is finished

####
Defined in

inference/src/tasks/nlp/textGenerationStream.ts:84

###
generated _ text

• generated_text: `null` | `string`

Complete generated text Only available when the generation is finished

####
Defined in

inference/src/tasks/nlp/textGenerationStream.ts:79

###
index

• `Optional` index: `number`

####
Defined in

inference/src/tasks/nlp/textGenerationStream.ts:72

###
token

• token: `TextGenerationStreamToken`

Generated token, one at a time

####
Defined in

inference/src/tasks/nlp/textGenerationStream.ts:74

< > Update on GitHub