4 ms·
Probably as a result of https://news.ycombinator.com/item?id=35937554 https://news.ycombinator.com/item?id=35937554
by asplake 3y ago
Probably as a result of https://news.ycombinator.com/item?id=35937554 https://news.ycombinator.com/item?id=35937554
- marpstar 3y agoMy first thought was ChatGPT API's `stream` option: https://platform.openai.com/docs/api-reference/completions/create#completions/create-stream https://platform.openai.com/docs/api-reference/completions/c...
- corentin88 3y agoOP here. I was looking at Anthropic's website as a result of https://news.ycombinator.com/item?id=35948742 https://news.ycombinator.com/item?id=35948742 Turns out in their FAQ, they have this: > Our API is designed to be a backend that incorporates Claude into any application you’ve developed. Our application sends text to our API, then receives a response via *server-sent events*, a streaming protocol for the web. We have API documentation with drop-in example code in Python and Typescript to get you started. Was curious what it was and thought it was probably worth sharing. Didn't knew OpenAI uses the same mechanism.