Dash Chat Component

To get streaming working properly, you would need some kind of real time update mechanism (the Interval component is not suitable), e.g. SSE or Websockets. I have build a number of chat bots for clients using SSE. The only drawback is that you need to add a FastAPI backend (or similar) to stream the data to the client :slight_smile:

gpt

EDIT: Here is a small example

4 Likes