Huggingface.js documentation

接口:TextGenerationOutput

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

接口:TextGenerationOutput

文本生成输出。

根据 TGI 规范自动生成。 更多详情,请查看 https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-tgi-import.ts。

可索引

▪ [属性: string]: unknown

属性

详细信息

• Optional 详细信息:TextGenerationOutputDetails

定义于

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


生成的 _ 文本

• generated_text:string

定义于

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

Update on GitHub