> * Method: `withInputPreProcessor(inputPreProcessor)`
> * Type: `LangServeInputPreProcessor`
> * Usage:

```ts
const myInputPreProcessor: LangServeInputPreProcessor = (
    input: string,
    conversationHistory?: readonly ConversationItem[],
): any => {
    return {
        user_prompt: input,
        // Additional data can be added here
        additional_data: {
            value_1: getDataDynamically(),
            value_2: 'some string'
        }
    }
};

const adapter = createChatAdapter()
    .withUrl('https://<My LangServe Runnable URL>')
    .withInputPreProcessor(myInputPreProcessor);
```
