> * Property: `preProcessors.input`
> * Type: `HfInputPreProcessor`
> * Usage:

```tsx
const inputPreProcessor: HfInputPreProcessor = (
    input: string,
    adapterOptions: Readonly<HfAdapterOptions>,
) => {
    // Pre-process the user input
    return inputReadyToSend;
};

const adapter = useChatAdapter({
    preProcessors: {
        input: inputPreProcessor
    }
});
```

`NLUX` provides a default input pre-processor that can be used with LLAMA2 model on Hugging Face:

```tsx
import {llama2InputPreProcessor} from '@nlux/hf-react';

const adapter = useChatAdapter({
    preProcessors: {
        input: llama2InputPreProcessor
    }
});
```
