#
Interface: TextGenerationOutput

Text Generation Output.

Auto-generated from TGI specs. For more details, check out https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-tgi-import.ts.

##
Indexable

▪ [property: `string`]: `unknown`

##
Properties

###
details

• `Optional` details: `TextGenerationOutputDetails`

####
Defined in

tasks/dist/esm/tasks/text-generation/inference.d.ts:121

###
generated _ text

• generated_text: `string`

####
Defined in

tasks/dist/esm/tasks/text-generation/inference.d.ts:122

< > Update on GitHub