Interface: TextGenerationInput
Text Generation Input.
Auto-generated from TGI specs. For more details, check out https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-tgi-import.ts.
Indexable
▪ [property: string
]: unknown
Properties
inputs
• inputs: string
Defined in
tasks/dist/src/tasks/text-generation/inference.d.ts:14
parameters
• Optional
parameters: TextGenerationInputGenerateParameters
Defined in
tasks/dist/src/tasks/text-generation/inference.d.ts:15
stream
• Optional
stream: boolean
Defined in
tasks/dist/src/tasks/text-generation/inference.d.ts:16
< > Update on GitHub