# 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[[inputs.defined-in]]

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

___

### parameters

• `Optional` **parameters**: `TextGenerationInputGenerateParameters`

#### Defined in[[parameters.defined-in]]

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

___

### stream

• `Optional` **stream**: `boolean`

#### Defined in[[stream.defined-in]]

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


<EditOnGithub source="https://github.com/huggingface/huggingface.js/blob/main/docs/inference/interfaces/TextGenerationInput.md" />