# Interface: BodyParams\<T\>

## Type parameters[[interface-bodyparamst.type-parameters]]

| Name | Type |
| :------ | :------ |
| `T` | extends `Record`\<`string`, `unknown`\> = `Record`\<`string`, `unknown`\> |

## Properties

### args

• **args**: `T`

#### Defined in[[args.defined-in]]

[inference/src/types.ts:149](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/types.ts#L149)

___

### mapping

• `Optional` **mapping**: [`InferenceProviderMappingEntry`](InferenceProviderMappingEntry)

#### Defined in[[mapping.defined-in]]

[inference/src/types.ts:151](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/types.ts#L151)

___

### model

• **model**: `string`

#### Defined in[[model.defined-in]]

[inference/src/types.ts:150](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/types.ts#L150)

___

### task

• `Optional` **task**: [`InferenceTask`](../modules#inferencetask)

#### Defined in[[task.defined-in]]

[inference/src/types.ts:152](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/types.ts#L152)


<EditOnGithub source="https://github.com/huggingface/huggingface.js/blob/main/docs/inference/interfaces/BodyParams.md" />