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

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/src/tasks/text-generation/inference.d.ts:121


generated _ text

generated_text: string

Defined in

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

< > Update on GitHub