|
|
|
|
|
by Yanael
633 days ago
|
|
I have been working with streaming LLMs and Server Sent Events. It provides a very simple interface to work with, but you can feel SSE was never designed for this use case. As mentioned in the blog post: > Annoyingly these can't be directly consumed using the browser EventSource API because that only works for GET requests, and these APIs all use POST. It is not designed to send data to open a connection. You will then struggle to work with this streaming approach using frameworks and libraries that are based on the EventSource API. |
|