Huggingface.js documentation

Interfaz: TextGenerationOutput

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interfaz: TextGenerationOutput

Salida de generación de texto.

Generado automáticamente a partir de las especificaciones de TGI. Para más detalles, consulta https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-tgi-import.ts.

Indexable

▪ [propiedad: string]: unknown

Propiedades

detalles

• Optional detalles: TextGenerationOutputDetails

Definido en

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


generado _ texto

• generated_text: string

Definido en

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

Update on GitHub