```tsx
const ResponseCustomRendererComp: ResponseRenderer<AiMsg> = { ... };
const UserPromptCustomRendererComp: PromptRenderer = { ... };
```

```tsx
<AiChat
    adapter={adapter}
    messageOptions={{
        responseRenderer: ResponseCustomRendererComp,
        promptRenderer: UserPromptCustomRendererComp,
    }}
/>
```
