[Openid-specs-ab] SSE & ChatGPT
Brock Allen
brock at duendesoftware.com
Mon Mar 17 14:55:32 UTC 2025
For .NET/ASP.NET, it's always been fairly easy to implement the server-side code for SSE. It seems that recently .NET 9 added client-side support for the protocol. This was surprising to me given that historically browser-based JS clients have been the client-side of that equation. But I guess given recent popularity of LLMs, then it's understandable that Microsoft has added support.
Here's a nice comprehensive post for those interested and working in .NET/ASP.NET:
https://www.strathweb.com/2024/07/built-in-support-for-server-sent-events-in-net-9/
I'll put this in my queue as something to try to build a POC for.
-Brock
On 3/13/2025 5:23:07 PM, Dick Hardt via Openid-specs-ab <openid-specs-ab at lists.openid.net> wrote:
Hey
I'm hacking together a PoC for OP Commands -- I'm a strong believer in hands-on experience implementing a protocol, and I wanted to see if I could find any issues with SSE. One addition I'll be adding to the doc is an "error" event for when the RP has an unrecoverable error while sending the stream.
Anyway, I came across this library that enables a nodejs server to be an SSE client:
https://www.npmjs.com/package/eventsource [https://www.npmjs.com/package/eventsource]
and was surprised to see it has >5M weekly downloads. Looking at the dependencies, lots are ChatGPT related libraries. This makes sense as an LLM response often takes seconds, and is a stream. It also is a similar pattern to the proposal for how OP Commands would use SSE.
/Dick
_______________________________________________ Openid-specs-ab mailing list Openid-specs-ab at lists.openid.net https://lists.openid.net/mailman/listinfo/openid-specs-ab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openid.net/pipermail/openid-specs-ab/attachments/20250317/4dfdeb30/attachment.htm>
More information about the Openid-specs-ab
mailing list