<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Streaming on 有趣的AI</title>
    <link>http://www.wfcoding.com/tags/streaming/</link>
    <description>Recent content in Streaming on 有趣的AI</description>
    <generator>Hugo -- 0.164.0</generator>
    <language>zh-CN</language>
    <copyright>火云</copyright>
    <lastBuildDate>Thu, 27 Feb 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="http://www.wfcoding.com/tags/streaming/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>本地大模型编程实战(27)初探langgraph的流式输出</title>
      <link>http://www.wfcoding.com/articles/practice/0327/</link>
      <pubDate>Thu, 27 Feb 2025 00:00:00 +0000</pubDate>
      <guid>http://www.wfcoding.com/articles/practice/0327/</guid>
      <description>&lt;p&gt;对于 &lt;code&gt;LLM(大语言模型)&lt;/code&gt;，流式传输已成为一种越来越受欢迎的功能。其理念是在 &lt;code&gt;LLM&lt;/code&gt; 生成令牌时就快速返回，而不是等待创建完整响应后再返回全部内容。&lt;/p&gt;
&lt;p&gt;在简单的场景中，流式传输实际上非常容易实现，但当涉及到智能体之类的应用时，它会变得复杂，这些智能体有自己的运行逻辑，可能会阻止我们尝试进行流式传输。&lt;/p&gt;
&lt;p&gt;本文将探讨 &lt;code&gt;langchain&lt;/code&gt; 的流式输出，后面将实现&lt;strong&gt;智能体最终结果的流式输出&lt;/strong&gt;。&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;本次演练将全部使用 &lt;code&gt;qwen2.5:7b&lt;/code&gt; 开源大模型。&lt;/p&gt;
&lt;/blockquote&gt;</description>
    </item>
  </channel>
</rss>
