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


mapping

• Optional mapping: InferenceProviderMappingEntry

Defined in

inference/src/types.ts:182


model

• model: string

Defined in

inference/src/types.ts:181


outputType

• Optional outputType: OutputType

Defined in

inference/src/types.ts:184


task

• Optional task: InferenceTask

Defined in

inference/src/types.ts:183

Update on GitHub