Interface ChatResponsePartRenderer<T>

interface ChatResponsePartRenderer<T> {
    canHandle(response): number;
    render(response, parentNode): ReactNode;
}

Type Parameters

  • T extends ChatResponseContent

Implemented by

Methods