Interface: TextGenerationInput
Inputs for Text Generation inference
Indexable
▪ [property: string
]: unknown
Properties
inputs
• inputs: string
The text to initialize generation with
Defined in
inference/src/tasks/nlp/textGeneration.ts:12
parameters
• Optional
parameters: TextGenerationParameters
Additional inference parameters
Defined in
inference/src/tasks/nlp/textGeneration.ts:16
stream
• Optional
stream: boolean
Whether to stream output tokens
Defined in
inference/src/tasks/nlp/textGeneration.ts:20
< > Update on GitHub