```tsx
import {useChatAdapter} from '@nlux/langchain-react';
import {AiChat} from '@nlux/react';

export type CustomDataType = {
    response: string;
    accuracy: number;
};

export default App = () => {
    const adapter = useChatAdapter<CustomDataType>({
        url: 'https://<Your LangServe Runnable URL>',
    });

    return <AiChat<CustomDataType> adapter={adapter} />;
};
```
