text-event-stream

A demo repository showcasing the usage of the 'Content-Type: text/event-stream' HTTP response header, which enables streaming responses like those seen in AI tools such as ChatGPT or Tencent Yuanbao.

Check out text-event-stream on CurateClick

• Copy the embed code to showcase this product on your website

• Share on X to spread the word about this amazing tool

https://github.com/ppzreboot/text-event-stream像 ChatGPT 或腾讯元宝之类的 AI 工具,我们问问题时,腾讯元宝会把回答分成一小片、一小片的, 看起来像断断续续的, 就像在试卷上写答案。这并不是什么高深的技术,只是一个 http 响应头: json{ "Content-Type": "text/event-stream"}这个仓库的代码,就是演示这个响应头的用法(3 分钟读完)。

Latest Weekly Picks

pslscale.com favicon
Weekly Pick

Discover your PSL (Perceived Sexual Market Value) score with our AI-powered facial analysis

MILO

IPYNB to PDF Converter – Free & Secure

lejintian
www.reverie.im favicon
Weekly Pick

Dream It, Chat It, Create It

Louis
make.ink favicon
Weekly Pick

Your AI tattoo generator for pro-grade concepts

Leo Wade
sellfy.com favicon
Weekly Pick

A code-free online store builder to turn views into revenue. Sell digital products, subscriptions, and merch, without fees or hassle.

Maris
www.videotoblog.ai favicon
Weekly Pick

Convert videos into awesome blog posts.

Video To Blog
www.sellerpic.ai favicon
Weekly Pick

SellerPic is the all-in-one AI design platform for e-commerce

SellerPic
fastimage.ai favicon
Weekly Pick

Fast Image AI instantly transforms your photos into stunning styles like Ghibli, Sketch, and Pixar. Effortlessly control image elements and create amazing effects with just one click.

Fast AI Team