Skip to main content

CurateClick

github.com favicon

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

promptbuilder.cc favicon
Weekly Pick

Generate, optimize, test, and manage AI prompts in one place. Turn an idea into a ready-to-use prompt in seconds.

Prompt Builder
freqz.net favicon
Weekly Pick

Your Personal K-Style Vibe Photo Studio

Freqz
webleadr.com favicon
Weekly Pick

Find and contact web design leads and businesses without websites, like local dentists, effortlessly from any location in just a few clicks.

Webleadr

the art of having something to say

pretty-scale.com favicon
Weekly Pick

How Pretty Are You? Let AI Decide.

Pretty Scale
c2story.com favicon
Weekly Pick

Create Illustrated Stories with AI

C2story

Impromptu Speech Topics & Timer

Seedance 2.0: Multimodal AI video creator. Precisely direct characters and cameras to create production-ready, multi-shot cinematic stories in one click.