Closed vishnu-dev closed 9 months ago
@vishnu-dev @chatscope/chat-ui-kit-react is a UI library independent of communication and data delivery libraries.
You can use for example the MessageList
and Message
components to display messages in the order they are received, but how you receive the message stream is up to you. For example you can use websocket or Server-Sent Events for that.
I'm also looking for a way to stream messages piece by piece, like chatGPT
@vishnu-dev @chatscope/chat-ui-kit-react is a UI library independent of communication and data delivery libraries. You can use for example the
MessageList
andMessage
components to display messages in the order they are received, but how you receive the message stream is up to you. For example you can use websocket or Server-Sent Events for that.
Thank you for the reply. I was able to achieve the desired results.
Would you be willing to share details of how you implemented the streaming? I’m interested in doing it as well so would love to know what works. TIA!
List of features on chatscope.io/features states
But, I couldn't find an example on how to use this feature. Can someone point me in the right direction? For example: Which component to use?