English | 中文

⚖️ LangDiff DemoLangDiff 演示

Progressive UI from LLM - See the difference between standard JSON streaming and LangDiff

LLM 流式界面的新标准

Why LangDiff?

Ever tried streaming LLM responses to your users? You know the pain:

  • The problem: Structured output keeps failing on incomplete chunks. Users stare at loading spinners.
  • The solution: LangDiff streams structured updates instantly. Your UI feels alive.
  • The result: Users see progress immediately. No more waiting. No more broken UX.

为什么选择 LangDiff?

  • 即时更新:生成过程中实时传输结构化数据
  • 安全解析:基于 Pydantic 风格的模式保证类型安全
  • 高效传输:仅以 JSON Patch 发送变更部分
  • 灵活架构:服务器与客户端可独立演进

Your Streaming

Users see choppy, unpredictable loading

📋 Todo App
🔍 Behind the Scenes

LangDiff Streaming

Users see smooth, progressive loading

📋 Todo App
🔍 Behind the Scenes