<?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>Conversational RAG on 有趣的AI</title>
    <link>http://www.wfcoding.com/tags/conversational-rag/</link>
    <description>Recent content in Conversational RAG on 有趣的AI</description>
    <generator>Hugo -- 0.164.0</generator>
    <language>zh-CN</language>
    <copyright>火云</copyright>
    <lastBuildDate>Thu, 10 Oct 2024 00:00:00 +0000</lastBuildDate>
    <atom:link href="http://www.wfcoding.com/tags/conversational-rag/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>基于langchain和本地大模型以及会话式检索增强生成技术实现知识问答</title>
      <link>http://www.wfcoding.com/articles/practice/0105/</link>
      <pubDate>Thu, 10 Oct 2024 00:00:00 +0000</pubDate>
      <guid>http://www.wfcoding.com/articles/practice/0105/</guid>
      <description>&lt;p&gt;本文概述了基于langchian框架和对话式增强生成（&lt;code&gt;Conversational RAG&lt;/code&gt;(&lt;code&gt;Retrieval Augmented Generation&lt;/code&gt;)）技术实现知识问答。&lt;br&gt;
具体来说，系统&lt;mark&gt;自动记录聊天历史&lt;/mark&gt;，并把它作为上下文提供给大模型，这样它让大模型产生了“记忆”，可以“理解”和关联上下文，体验更好。&lt;br&gt;
此样例程序使用本地部署的&lt;code&gt;nomic-embed-text&lt;/code&gt;模型做嵌入检索，使用本地部署的&lt;code&gt;llama3.1&lt;/code&gt;做回答内容生成。&lt;/p&gt;</description>
    </item>
    <item>
      <title>基于langchain和本地大模型以及会话式检索增强生成技术实现知识问答</title>
      <link>http://www.wfcoding.com/articles/practice/0104/</link>
      <pubDate>Wed, 09 Oct 2024 00:00:00 +0000</pubDate>
      <guid>http://www.wfcoding.com/articles/practice/0104/</guid>
      <description>&lt;p&gt;本文讲述了基于&lt;code&gt;langchian&lt;/code&gt;框架，使用本地部署的&lt;code&gt;nomic-embed-text&lt;/code&gt;模型做嵌入检索、&lt;code&gt;llama3.1&lt;/code&gt;做回答内容生成的知识问答系统实例。&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;会话式检索增强生成，即：&lt;code&gt;Conversational RAG&lt;/code&gt;。&lt;/li&gt;
&lt;li&gt;&lt;code&gt;nomic-embed-text&lt;/code&gt;：一个高性能开放嵌入模型，具有较大的标记上下文窗口。这个模型只有274M，但实际做嵌入和检索时，感觉&lt;strong&gt;比llama3好&lt;/strong&gt;。&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;通过对比测试使用历史聊天记录和不使用历史聊天记录两种情况，我们可以明显看出来使用历史聊天记录的优点：它让大模型产生了“记忆”，可以“理解”和关联上下文，体验更好。&lt;/p&gt;
&lt;/blockquote&gt;</description>
    </item>
  </channel>
</rss>
