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:144


mapping

• Optional mapping: InferenceProviderMappingEntry

Defined in

inference/src/types.ts:146


model

• model: string

Defined in

inference/src/types.ts:145


outputType

• Optional outputType: OutputType

Defined in

inference/src/types.ts:148


task

• Optional task: InferenceTask

Defined in

inference/src/types.ts:147

Update on GitHub