Huggingface.js documentation

Interface: BodyParams

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interface: BodyParams

Properties

args

args: Record\<string, unknown>

Defined in

inference/src/types.ts:114


chatCompletion

Optional chatCompletion: boolean

Defined in

inference/src/types.ts:115


model

model: string

Defined in

inference/src/types.ts:116


task

Optional task: InferenceTask

Defined in

inference/src/types.ts:117

< > Update on GitHub