Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What is the developer experience of using OpenAI's Server-Sent Events endpoint from something else than their Python and Node.js libraries?

The SSE endpoint is required for use cases like chat so the end user doesn't have to wait until the whole reply has been generated.

I started implementing a simple SSE client on top of C#/.Net's HttpClient but it's harder than I first assumed.



We had to restream server events from openai -> our backend -> client. It was pretty simple.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: