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

Saída de Geração de Texto.

Gerado automaticamente a partir das especificações do TGI. Para mais detalhes, consulte https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-tgi-import.ts.

Indexável

▪ [propriedade: string]: unknown

Propriedades

detalhes

• Optional detalhes: TextGenerationOutputDetails

Definido em

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


gerado _ texto

• generated_text: string

Definido em

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

Update on GitHub