Huggingface.js documentation

インターフェース: TextGenerationInput

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

インターフェース: TextGenerationInput

テキスト生成の入力。

TGIの仕様から自動生成されました。 詳細については、https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-tgi-import.ts をご確認ください。

インデックス可能

▪ [プロパティ: string]: unknown

プロパティ

入力

• inputs: string

定義場所

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


パラメータ

• Optional パラメータ: TextGenerationInputGenerateParameters

定義場所

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


ストリーム

• Optional stream: boolean

定義場所

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

Update on GitHub