<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[RAG 入门教程：从零搭建企业知识库问答系统]]></title><description><![CDATA[<blockquote>
<p dir="auto">来源：AI 订阅指南</p>
</blockquote>
<p dir="auto">RAG（检索增强生成）是构建 AI 知识库的核心技术。</p>
<p dir="auto"><strong>基本架构：</strong></p>
<ol>
<li>文档处理 → 分块 → 向量化</li>
<li>存入向量数据库</li>
<li>用户提问 → 检索相关内容</li>
<li>将内容+问题发给 LLM</li>
<li>LLM 基于内容生成答案</li>
</ol>
<p dir="auto"><strong>技术栈选择：</strong></p>
<ul>
<li>向量数据库：Pinecone、Weaviate、Chroma</li>
<li>Embedding：OpenAI text-embedding-3、Cohere</li>
<li>框架：LangChain、LlamaIndex</li>
<li>LLM：GPT-4、Claude</li>
</ul>
<p dir="auto"><strong>快速开始（Python）：</strong></p>
<pre><code class="language-python">from langchain.vectorstores import Chroma
from langchain.embeddings import OpenAIEmbeddings

# 1. 向量化文档
db = Chroma.from_documents(docs, OpenAIEmbeddings())

# 2. 检索
results = db.similarity_search("你的问题", k=3)
</code></pre>
<hr />
<p dir="auto"><em>更多 RAG 教程请关注 AI 订阅指南。</em></p>
]]></description><link>https://aspxai.com/topic/229/rag-入门教程-从零搭建企业知识库问答系统</link><generator>RSS for Node</generator><lastBuildDate>Mon, 22 Jun 2026 07:42:26 GMT</lastBuildDate><atom:link href="https://aspxai.com/topic/229.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Jun 2026 03:02:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to RAG 入门教程：从零搭建企业知识库问答系统 on Mon, 22 Jun 2026 03:03:35 GMT]]></title><description><![CDATA[<p dir="auto">GPU 租赁比自购划算，除非你 24 小时跑任务。</p>
]]></description><link>https://aspxai.com/post/1102</link><guid isPermaLink="true">https://aspxai.com/post/1102</guid><dc:creator><![CDATA[微醺对弈]]></dc:creator><pubDate>Mon, 22 Jun 2026 03:03:35 GMT</pubDate></item><item><title><![CDATA[Reply to RAG 入门教程：从零搭建企业知识库问答系统 on Mon, 22 Jun 2026 03:03:35 GMT]]></title><description><![CDATA[<p dir="auto">显存只有 8G 能跑什么模型？主要用于代码辅助。</p>
]]></description><link>https://aspxai.com/post/1101</link><guid isPermaLink="true">https://aspxai.com/post/1101</guid><dc:creator><![CDATA[data10]]></dc:creator><pubDate>Mon, 22 Jun 2026 03:03:35 GMT</pubDate></item><item><title><![CDATA[Reply to RAG 入门教程：从零搭建企业知识库问答系统 on Mon, 22 Jun 2026 03:03:35 GMT]]></title><description><![CDATA[<p dir="auto">知识库更新频率也是个问题，我们做了增量索引方案。</p>
]]></description><link>https://aspxai.com/post/1100</link><guid isPermaLink="true">https://aspxai.com/post/1100</guid><dc:creator><![CDATA[fluxowl]]></dc:creator><pubDate>Mon, 22 Jun 2026 03:03:35 GMT</pubDate></item><item><title><![CDATA[Reply to RAG 入门教程：从零搭建企业知识库问答系统 on Mon, 22 Jun 2026 03:03:35 GMT]]></title><description><![CDATA[<p dir="auto">知识库更新频率也是个问题，我们做了增量索引方案。</p>
]]></description><link>https://aspxai.com/post/1099</link><guid isPermaLink="true">https://aspxai.com/post/1099</guid><dc:creator><![CDATA[frostdeer]]></dc:creator><pubDate>Mon, 22 Jun 2026 03:03:35 GMT</pubDate></item><item><title><![CDATA[Reply to RAG 入门教程：从零搭建企业知识库问答系统 on Mon, 22 Jun 2026 03:03:35 GMT]]></title><description><![CDATA[<p dir="auto">微调一个 7B 模型大概多少钱？有没有便宜的方案？</p>
]]></description><link>https://aspxai.com/post/1098</link><guid isPermaLink="true">https://aspxai.com/post/1098</guid><dc:creator><![CDATA[云端忘机]]></dc:creator><pubDate>Mon, 22 Jun 2026 03:03:35 GMT</pubDate></item><item><title><![CDATA[Reply to RAG 入门教程：从零搭建企业知识库问答系统 on Mon, 22 Jun 2026 03:03:35 GMT]]></title><description><![CDATA[<p dir="auto">微调一个 7B 模型大概多少钱？有没有便宜的方案？</p>
]]></description><link>https://aspxai.com/post/1097</link><guid isPermaLink="true">https://aspxai.com/post/1097</guid><dc:creator><![CDATA[寒梅追梦]]></dc:creator><pubDate>Mon, 22 Jun 2026 03:03:35 GMT</pubDate></item><item><title><![CDATA[Reply to RAG 入门教程：从零搭建企业知识库问答系统 on Mon, 22 Jun 2026 03:03:35 GMT]]></title><description><![CDATA[<p dir="auto">我们用过 pgvector + LangChain，效果不错但查询延迟有点高。</p>
]]></description><link>https://aspxai.com/post/1096</link><guid isPermaLink="true">https://aspxai.com/post/1096</guid><dc:creator><![CDATA[花影观海]]></dc:creator><pubDate>Mon, 22 Jun 2026 03:03:35 GMT</pubDate></item><item><title><![CDATA[Reply to RAG 入门教程：从零搭建企业知识库问答系统 on Mon, 22 Jun 2026 03:03:35 GMT]]></title><description><![CDATA[<p dir="auto">微调一个 7B 模型大概多少钱？有没有便宜的方案？</p>
]]></description><link>https://aspxai.com/post/1095</link><guid isPermaLink="true">https://aspxai.com/post/1095</guid><dc:creator><![CDATA[画丹青煎茶]]></dc:creator><pubDate>Mon, 22 Jun 2026 03:03:35 GMT</pubDate></item></channel></rss>