Huggingface.js documentation

Interface: TextGenerationOutput

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interface: TextGenerationOutput

Outputs for Text Generation inference

Indexable

▪ [property: string]: unknown

Properties

details

Optional details: TextGenerationOutputDetails

When enabled, details about the generation

Defined in

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


generated _ text

generated_text: string

The generated text

Defined in

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

< > Update on GitHub