<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>向量检索 on AI 观察</title><link>https://ai.wujiong.cc/tags/%E5%90%91%E9%87%8F%E6%A3%80%E7%B4%A2/</link><description>Recent content in 向量检索 on AI 观察</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Mon, 24 Aug 2026 15:16:29 +0800</lastBuildDate><atom:link href="https://ai.wujiong.cc/tags/%E5%90%91%E9%87%8F%E6%A3%80%E7%B4%A2/index.xml" rel="self" type="application/rss+xml"/><item><title>文本向量（Embedding）入门：语义搜索背后的数学直觉</title><link>https://ai.wujiong.cc/posts/2026-08-24-embeddings-explained/</link><pubDate>Mon, 24 Aug 2026 15:16:29 +0800</pubDate><guid>https://ai.wujiong.cc/posts/2026-08-24-embeddings-explained/</guid><description>&lt;p>传统搜索靠关键词匹配：搜“笔记本电脑发热”，找不到只写了“手提电脑温度过高”的文章。&lt;strong>Embedding（文本向量）把文字映射为高维空间中的一个点，意思相近的文本在空间中距离也近&lt;/strong>，于是计算机可以按“语义”而不是“字面”来检索。它是语义搜索、RAG 知识库、推荐系统和文本聚类的共同基础。&lt;/p></description></item><item><title>混合检索实战：BM25 关键词检索与向量检索如何结合</title><link>https://ai.wujiong.cc/posts/2026-08-07-hybrid-search/</link><pubDate>Fri, 07 Aug 2026 10:54:42 +0800</pubDate><guid>https://ai.wujiong.cc/posts/2026-08-07-hybrid-search/</guid><description>&lt;p>很多团队在搭建 RAG 时直接上了向量数据库，结果发现：用户搜一个具体的产品型号、一个错误码或一个人名，系统却返回了一堆“语义相近”但完全不相关的内容。&lt;strong>向量检索和关键词检索各有盲区，把两者结合起来的混合检索，往往是提升召回质量最直接的方法之一。&lt;/strong>&lt;/p>
&lt;h2 id="两种检索方式的特点">两种检索方式的特点&lt;/h2>
&lt;h3 id="关键词检索bm25">关键词检索（BM25）&lt;/h3>
&lt;p>BM25 是经典的关键词相关性算法，核心思想是：查询词在文档中出现得越多、在整个语料中越稀有，文档得分越高，同时对文档长度做归一化。&lt;/p></description></item></channel></rss>