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 parameters: TextGenerationInputGenerateParameters

معرّف في

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


بث

• stream Optional: boolean

معرّف في

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

Update on GitHub