Huggingface.js documentation

Interface: BodyParams<T >

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interface: BodyParams<T >

Type parameters

NameType
Textends Record<string, unknown> = Record<string, unknown>

Properties

args

args: T

Defined in

inference/src/types.ts:178


mapping

Optional mapping: InferenceProviderMappingEntry

Defined in

inference/src/types.ts:180


model

model: string

Defined in

inference/src/types.ts:179


outputType

Optional outputType: OutputType

Defined in

inference/src/types.ts:182


task

Optional task: InferenceTask

Defined in

inference/src/types.ts:181

Update on GitHub