id: 0b9d594fc348470f97962c22bfe03064
parent_id: 
item_type: 1
item_id: 78385ffc821f4152b9988ba26bcba32e
item_updated_time: 1764345632312
title_diff: "[{\"diffs\":[[1,\"【最强知识库】Qwen3大模型永久白嫖！手把手教你搭建本地知识库，打造你的专属最强大脑！\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":44}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>【最强知识库】Qwen3大模型永久白嫖！手把手教你搭建本地知识库，打造你的专属最强大脑！</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"content-class\\\" content=\\\"yinxiang.peso.superNote\\\"/>\\\r\\\n  <meta name=\\\"application-data:yinxiang.noteLayout\\\" content=\\\"{\\\"lineSpace\\\":\\\"recommend\\\",\\\"paragraphSpace\\\":\\\"recommend\\\"}\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"42259\\\"></a>\\\r\\\n<h1>【最强知识库】Qwen3大模型永久白嫖！手把手教你搭建本地知识库，打造你的专属最强大脑！</h1>\\\r\\\n\\\r\\\n<div><span style=\\\"\\\"><div style=\\\"max-width: 700px;\\\"><p></p><div style=\\\"--en-blockquote: true; box-sizing: border-box; border-left: 3px solid #b4c0cc; background-position: initial initial; background-repeat: initial initial;\\\"><div>原文链接: <a href=\\\"http://mp.weixin.qq.com/s?__biz=Mzg3NDk3MDE1Mw==&amp;mid=2247485037&amp;idx=1&amp;sn=9f82842305251e95933a9e68e2d38e85&amp;chksm=cfc52c3dcc9d970d590b2cae48efa8c59a67fab0cecc475528bcd2fbae0f2ad8c60069dd3af6&amp;mpshare=1&amp;scene=1&amp;srcid=0510sAIuQj2QR9B4knIwkuQw&amp;sharer_shareinfo=a633f45bca97e58d77ee34b7080ecf1d&amp;sharer_shareinfo_first=a633f45bca97e58d77ee34b7080ecf1d#rd\\\"><span>http://mp.weixin.qq.com/s?__biz=Mzg3NDk3MDE1Mw==&amp;mid=2247485...</span></a></div></div><p></p><div style=\\\"\\\"><div><div><div><span style=\\\"\\\">原创</span><span><span style=\\\"\\\">大鹏飞呀飞</span></span><span><a style=\\\"\\\"> 智见AI </a></span><span><em></em></span></div><div style=\\\"\\\"><div style=\\\"background: none 0% 0% / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0); width: auto; color: rgb(0, 0, 0); word-spacing: 0em; letter-spacing: 0em; word-break: break-word; overflow-wrap: break-word; text-align: justify;\\\"><div style=\\\"--en-blockquote: true; border-style: none none none solid; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px; background: none 0% 0% / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0.05); width: auto; height: auto; display: block; overflow: auto;\\\"><p style=\\\"text-indent: 0; color: rgb(0,0,0); letter-spacing: 0; text-align: justify; font-weight: normal;\\\"><span>上一期文章给大家介绍了如何利用Cherry studio和魔搭社区的api白嫖满血版Qwen3（Qwen3-235B-A22B）。 每天可以免费调用2000次，很多朋友反馈说日常对话根本用不掉啊，有没有什么其他使用场景？</span></p></div><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>今天就来给大家介绍一个Cherry studio中非常实用的功能，那就是</span><strong style=\\\"color: rgb(0, 0, 0); font-weight: bold; background: none 0% 0% / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0); width: auto; height: auto; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px;\\\"><span>本地知识库的构建</span></strong><span>。</span></p><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>废话不多说，开整！</span></p><hr style=\\\"border-style: solid none none; border-width: 1px 3px 3px; border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4); border-radius: 0px; background: none 0% 0% / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0); width: auto; height: 1px;\\\"/><h2 style=\\\"background-attachment: scroll; background-clip: border-box; background-color: unset; background-image: none; background-origin: padding-box; background-position: 0 0; background-repeat: no-repeat; background-size: auto; border-style: none; border-width: 1px; border-color: rgb(0,0,0); border-radius: 0; display: block; height: auto; overflow: unset; text-align: justify; text-shadow: none; transform: none; width: auto; -webkit-box-reflect: unset;\\\"><span style=\\\"color: rgb(34, 34, 34); letter-spacing: 0em; border-style: none none none solid; border-width: 1px 1px 1px 5px; border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0) rgb(248, 57, 41); border-radius: 0px; background-attachment: scroll; background-clip: border-box; background-color: unset; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: no-repeat; background-size: auto; display: block; font-weight: bold; height: auto; overflow: unset; text-indent: 0em; text-shadow: none; transform: none; width: auto; -webkit-box-reflect: unset;\\\"><span>RAG原理简介</span></span></h2><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>先给大家简单科普一下RAG的原理。</span></p><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><strong style=\\\"color: rgb(0, 0, 0); font-weight: bold; background: none 0% 0% / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0); width: auto; height: auto; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px;\\\"><span>RAG（检索增强生成）</span></strong><span>是一种生成式AI技术，通过结合外部知识库的信息和模型生成的内容，提升生成内容的质量和相关性。</span></p><div style=\\\"display: flex;\\\"><span><img src=\\\":/ef450a0e926f443291059a0fbe10b9c2\\\" type=\\\"image/gif\\\" data-filename=\\\"640.gif\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; display: block; max-width: 100%; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px; object-fit: fill; width: auto;\\\" width=\\\"auto\\\"/></span></div><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>具体的流程就是：</span></p><ol style=\\\"list-style-type: decimal; color: rgb(0,0,0);\\\"><li><div style=\\\"color: rgb(1, 1, 1); letter-spacing: 0em; text-align: justify; font-weight: normal;\\\"><span>首先，将外部知识库中的信息进行</span><strong style=\\\"color: rgb(0, 0, 0); font-weight: bold; background: none 0% 0% / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0); width: auto; height: auto; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px;\\\"><span>向量化处理</span></strong><span>，形成一个向量数据库。</span></div></li><li><div style=\\\"color: rgb(1, 1, 1); letter-spacing: 0em; text-align: justify; font-weight: normal;\\\"><span>然后，将用户的问题输入到模型中，模型会根据问题从向量数据库中</span><strong style=\\\"color: rgb(0, 0, 0); font-weight: bold; background: none 0% 0% / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0); width: auto; height: auto; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px;\\\"><span>检索</span></strong><span>出相关的信息。</span></div></li><li><div style=\\\"color: rgb(1, 1, 1); letter-spacing: 0em; text-align: justify; font-weight: normal;\\\"><span>最后，将检索出的信息与模型生成的内容</span><strong style=\\\"color: rgb(0, 0, 0); font-weight: bold; background: none 0% 0% / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0); width: auto; height: auto; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px;\\\"><span>相结合</span></strong><span>，生成最终的回答。</span></div></li></ol><hr style=\\\"border-style: solid none none; border-width: 1px 3px 3px; border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4); border-radius: 0px; background: none 0% 0% / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0); width: auto; height: 1px;\\\"/><h2 style=\\\"background-attachment: scroll; background-clip: border-box; background-color: unset; background-image: none; background-origin: padding-box; background-position: 0 0; background-repeat: no-repeat; background-size: auto; border-style: none; border-width: 1px; border-color: rgb(0,0,0); border-radius: 0; display: block; height: auto; overflow: unset; text-align: justify; text-shadow: none; transform: none; width: auto; -webkit-box-reflect: unset;\\\"><span style=\\\"color: rgb(34, 34, 34); letter-spacing: 0em; border-style: none none none solid; border-width: 1px 1px 1px 5px; border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0) rgb(248, 57, 41); border-radius: 0px; background-attachment: scroll; background-clip: border-box; background-color: unset; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: no-repeat; background-size: auto; display: block; font-weight: bold; height: auto; overflow: unset; text-indent: 0em; text-shadow: none; transform: none; width: auto; -webkit-box-reflect: unset;\\\"><span>实操环节</span></span></h2><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>下面进入实操环节。</span></p><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>首先，我默认大家已经配置好了白嫖的Qwen3-235B-A22B模型的api，如果没有配置的可以看我上一期文章。</span></p><h3 style=\\\"border-color: rgb(0,0,0) rgb(0,0,0) rgb(89,89,89); background-attachment: scroll; background-clip: border-box; background-color: unset; background-image: none; background-origin: padding-box; background-position: 0 0; background-repeat: no-repeat; background-size: auto; border-style: none none solid; border-width: 1px 1px 2px; border-radius: 0; display: flex; height: auto; overflow: unset; text-align: justify; text-shadow: none; transform: none; width: auto; -webkit-box-reflect: unset;\\\"><span style=\\\"color: rgb(89, 89, 89); border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(89, 89, 89); letter-spacing: 0em; background-attachment: scroll; background-clip: border-box; background-color: unset; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: no-repeat; background-size: auto; border-style: none none solid; border-width: 1px 1px 2px; border-radius: 0px; display: block; font-weight: bold; height: auto; overflow: unset; text-indent: 0em; text-shadow: none; transform: none; width: auto; -webkit-box-reflect: unset;\\\"><span>1. 准备嵌入模型</span></span></h3><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>注册登录硅基流动，注册之后2000万Tokens，deepseek爆火那会儿好像是直接送余额。</span></p><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>这个Token多少无所谓，因为我们已经设置了白嫖的qwen3了，我们实际上是要使用硅基流动</span><strong style=\\\"color: rgb(0, 0, 0); font-weight: bold; background: none 0% 0% / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0); width: auto; height: auto; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px;\\\"><span>免费的嵌入模型</span></strong><span>。</span></p><div style=\\\"display: flex;\\\"><span><img src=\\\":/abe2c87c2abc471ca99157c9440a3e6c\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; display: block; max-width: 100%; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px; object-fit: fill; width: auto;\\\" width=\\\"auto\\\"/></span></div><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>嵌入模型的作用就是将文本转换为向量，然后存储在向量数据库中。这是构建本地知识库很关键的一步。</span></p><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>和上期一样，我们注册登录认证后，新建一个API密钥，然后复制备用。</span></p><div style=\\\"display: flex;\\\"><span><img src=\\\":/db8381fc26334e15b2af7f280664450e\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; display: block; max-width: 100%; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px; object-fit: fill; width: auto;\\\" width=\\\"auto\\\"/></span></div><h3 style=\\\"border-color: rgb(0,0,0) rgb(0,0,0) rgb(89,89,89); background-attachment: scroll; background-clip: border-box; background-color: unset; background-image: none; background-origin: padding-box; background-position: 0 0; background-repeat: no-repeat; background-size: auto; border-style: none none solid; border-width: 1px 1px 2px; border-radius: 0; display: flex; height: auto; overflow: unset; text-align: justify; text-shadow: none; transform: none; width: auto; -webkit-box-reflect: unset;\\\"><span style=\\\"color: rgb(89, 89, 89); border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(89, 89, 89); letter-spacing: 0em; background-attachment: scroll; background-clip: border-box; background-color: unset; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: no-repeat; background-size: auto; border-style: none none solid; border-width: 1px 1px 2px; border-radius: 0px; display: block; font-weight: bold; height: auto; overflow: unset; text-indent: 0em; text-shadow: none; transform: none; width: auto; -webkit-box-reflect: unset;\\\"><span>2. 配置模型</span></span></h3><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>打开Cherry studio的模型配置页面，选择硅基流动，粘贴刚刚复制的API密钥，然后点击模型管理。</span></p><div style=\\\"display: flex;\\\"><span><img src=\\\":/472470a8dec24dd2b84b0ea9d015f0cc\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; display: block; max-width: 100%; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px; object-fit: fill; width: auto;\\\" width=\\\"auto\\\"/></span></div><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>点击嵌入模型列表，第一个</span><strong style=\\\"color: rgb(0, 0, 0); font-weight: bold; background: none 0% 0% / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0); width: auto; height: auto; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px;\\\"><span>BAAI/bge-m3</span></strong><span>就是免费的版本，1024维（维度越高，匹配越精准），8k的输入长度，这个参数足够我们日常使用了。</span></p><div style=\\\"display: flex;\\\"><span><img src=\\\":/527b79031499484d8b114f16baa56f6c\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; display: block; max-width: 100%; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px; object-fit: fill; width: auto;\\\" width=\\\"auto\\\"/></span></div><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>接着点击重排模型列表，选择免费的</span><strong style=\\\"color: rgb(0, 0, 0); font-weight: bold; background: none 0% 0% / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0); width: auto; height: auto; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px;\\\"><span>BAAI/bge-reranker-v2-m3</span></strong><span>，这个模型是用来对检索出的信息进行重排序的，提升匹配的精准度。</span></p><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>到这，我们需要的模型就全部准备好了。</span></p><h3 style=\\\"border-color: rgb(0,0,0) rgb(0,0,0) rgb(89,89,89); background-attachment: scroll; background-clip: border-box; background-color: unset; background-image: none; background-origin: padding-box; background-position: 0 0; background-repeat: no-repeat; background-size: auto; border-style: none none solid; border-width: 1px 1px 2px; border-radius: 0; display: flex; height: auto; overflow: unset; text-align: justify; text-shadow: none; transform: none; width: auto; -webkit-box-reflect: unset;\\\"><span style=\\\"color: rgb(89, 89, 89); border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(89, 89, 89); letter-spacing: 0em; background-attachment: scroll; background-clip: border-box; background-color: unset; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: no-repeat; background-size: auto; border-style: none none solid; border-width: 1px 1px 2px; border-radius: 0px; display: block; font-weight: bold; height: auto; overflow: unset; text-indent: 0em; text-shadow: none; transform: none; width: auto; -webkit-box-reflect: unset;\\\"><span>3. 构建知识库</span></span></h3><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>下面我们开始构建本地知识库。</span></p><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>首先进行知识库的初始配置，设置好名称，再把刚刚配置好的嵌入模型和重排模型添加进来。</span></p><div style=\\\"display: flex;\\\"><span><img src=\\\":/a6c11488b7bb494695a3c56416a29725\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; display: block; max-width: 100%; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px; object-fit: fill; width: auto;\\\" width=\\\"auto\\\"/></span></div><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>点击确认后，就会进入知识上传页面。可以看到这里的上传方式有很多。我们先从最简单的文件上传开始。</span></p><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>点击添加文件，我这里先选了10个AI相关的报告测试一下，点击打开。</span></p><div style=\\\"display: flex;\\\"><span><img src=\\\":/7899f22472ba498a8dfd3cf2c9519e13\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; display: block; max-width: 100%; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px; object-fit: fill; width: auto;\\\" width=\\\"auto\\\"/></span></div><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>接着所有的文件就会开始进行向量化，文件右侧闪烁的小蓝点就代表正在向量化，变成绿色就代表向量化完成。</span></p><div style=\\\"display: flex;\\\"><span><img src=\\\":/3960608374d24b4a898f2feb0f0f704f\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; display: block; max-width: 100%; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px; object-fit: fill; width: auto;\\\" width=\\\"auto\\\"/></span></div><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>其他上传方式也很好理解，我就不一一演示了，大家有兴趣可以看下面这张图。</span></p><div style=\\\"display: flex;\\\"><span><img src=\\\":/eea7530cd5dc46ca9998c35b7819055e\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; display: block; max-width: 100%; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px; object-fit: fill; width: auto;\\\" width=\\\"auto\\\"/></span></div><h3 style=\\\"border-color: rgb(0,0,0) rgb(0,0,0) rgb(89,89,89); background-attachment: scroll; background-clip: border-box; background-color: unset; background-image: none; background-origin: padding-box; background-position: 0 0; background-repeat: no-repeat; background-size: auto; border-style: none none solid; border-width: 1px 1px 2px; border-radius: 0; display: flex; height: auto; overflow: unset; text-align: justify; text-shadow: none; transform: none; width: auto; -webkit-box-reflect: unset;\\\"><span style=\\\"color: rgb(89, 89, 89); border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(89, 89, 89); letter-spacing: 0em; background-attachment: scroll; background-clip: border-box; background-color: unset; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: no-repeat; background-size: auto; border-style: none none solid; border-width: 1px 1px 2px; border-radius: 0px; display: block; font-weight: bold; height: auto; overflow: unset; text-indent: 0em; text-shadow: none; transform: none; width: auto; -webkit-box-reflect: unset;\\\"><span>4. 测试知识库</span></span></h3><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>到这我们的知识库就配置好了，我先简单测试一下。在搜索框内输入【企业落地场景】。</span></p><div style=\\\"display: flex;\\\"><span><img src=\\\":/2aeeb8ee411d486cb73777ae91be8de0\\\" type=\\\"image/jpeg\\\" data-filename=\\\"640.jpg\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; display: block; max-width: 100%; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px; object-fit: fill; width: auto;\\\" width=\\\"auto\\\"/></span></div><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>你会发现匹配到6个（之前默认设置的，可以自定义）相关内容切块，按照相关性进行了倒序排列。</span></p><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><strong style=\\\"color: rgb(0, 0, 0); font-weight: bold; background: none 0% 0% / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0); width: auto; height: auto; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px;\\\"><span>关键的是，就算文本块中没有关键词，嵌入模型也会根据语意进行匹配，这个就是RAG的强大之处。</span></strong></p><h3 style=\\\"border-color: rgb(0,0,0) rgb(0,0,0) rgb(89,89,89); background-attachment: scroll; background-clip: border-box; background-color: unset; background-image: none; background-origin: padding-box; background-position: 0 0; background-repeat: no-repeat; background-size: auto; border-style: none none solid; border-width: 1px 1px 2px; border-radius: 0; display: flex; height: auto; overflow: unset; text-align: justify; text-shadow: none; transform: none; width: auto; -webkit-box-reflect: unset;\\\"><span style=\\\"color: rgb(89, 89, 89); border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(89, 89, 89); letter-spacing: 0em; background-attachment: scroll; background-clip: border-box; background-color: unset; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: no-repeat; background-size: auto; border-style: none none solid; border-width: 1px 1px 2px; border-radius: 0px; display: block; font-weight: bold; height: auto; overflow: unset; text-indent: 0em; text-shadow: none; transform: none; width: auto; -webkit-box-reflect: unset;\\\"><span>5. 构建智能体进行测试</span></span></h3><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>接下来我们构建一个简单的智能体再测试一下。</span></p><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>分别进行提示词、模型、以及知识库的设置。</span></p><div style=\\\"text-align: justify;\\\"><img src=\\\":/46d84b688e644cb08451e1d7cd6f6fc1\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; width: auto;\\\" width=\\\"auto\\\"/></div><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>知识库问答最害怕模型出现幻觉，所以我们用简单的提示词进行限制。</span></p><div style=\\\"border-radius: 5px; text-align: justify;\\\"><div style=\\\"--en-codeblock: true; --en-meta: {&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true}; box-sizing: border-box; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial;\\\"><pre><span>仅根据知识库内容进行回答，若无相关内容则回复用户&quot;知识库中暂无相关内容&quot;，同时标注好引用来源</span><br/></pre></div></div><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>模型选择白嫖的满血版</span><strong style=\\\"color: rgb(0, 0, 0); font-weight: bold; background: none 0% 0% / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0); width: auto; height: auto; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px;\\\"><span>Qwen3-235B-A22B。</span></strong><span><br/></span></p><div style=\\\"text-align: justify;\\\"><img src=\\\":/ba0ffdafd78c44b68bf3fef59131f9b1\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; width: auto;\\\" width=\\\"auto\\\"/></div><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>知识库选择刚刚配置好的【AI学习知识库】。</span></p><div style=\\\"text-align: justify;\\\"><img src=\\\":/6512459077d14db285627bee104d9a81\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; width: auto;\\\" width=\\\"auto\\\"/></div><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>接着实测一下知识库问答的效果。</span></p><div style=\\\"display: flex;\\\"><span><img src=\\\":/418d7c2de86c4160beebd1aba97269bf\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; display: block; max-width: 100%; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px; object-fit: fill; width: auto;\\\" width=\\\"auto\\\"/></span></div><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>可以看到，qwen3的指令遵循还是做的很好的，思考过程中也很好的考虑了我设置的系统提示词。</span></p><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span><span style=\\\"font-weight: bold;\\\">非常克制地仅仅依据知识库进行了回答，并标注了引用来源。</span></span></p><hr style=\\\"border-style: solid none none; border-width: 1px 3px 3px; border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4); border-radius: 0px; background: none 0% 0% / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0); width: auto; height: 1px;\\\"/><h2 style=\\\"background-attachment: scroll; background-clip: border-box; background-color: unset; background-image: none; background-origin: padding-box; background-position: 0 0; background-repeat: no-repeat; background-size: auto; border-style: none; border-width: 1px; border-color: rgb(0,0,0); border-radius: 0; display: block; height: auto; overflow: unset; text-align: justify; text-shadow: none; transform: none; width: auto; -webkit-box-reflect: unset;\\\"><span style=\\\"color: rgb(34, 34, 34); letter-spacing: 0em; border-style: none none none solid; border-width: 1px 1px 1px 5px; border-color: rgb(0, 0, 0) rgb(0, 0, 0) rgb(0, 0, 0) rgb(248, 57, 41); border-radius: 0px; background-attachment: scroll; background-clip: border-box; background-color: unset; background-image: none; background-origin: padding-box; background-position: 0% 0%; background-repeat: no-repeat; background-size: auto; display: block; font-weight: bold; height: auto; overflow: unset; text-indent: 0em; text-shadow: none; transform: none; width: auto; -webkit-box-reflect: unset;\\\"><span>总结</span></span></h2><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>到这，基于最强开源模型qwen3构建的本地知识库到这就算完成了。</span></p><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span><span style=\\\"background-color: rgb(255, 215, 213); font-weight: bold;\\\">这套方案是可以</span></span><strong style=\\\"color: rgb(0, 0, 0); font-weight: bold; background: none 0% 0% / auto no-repeat scroll padding-box border-box rgba(0, 0, 0, 0); width: auto; height: auto; border-style: none; border-width: 3px; border-color: rgba(0, 0, 0, 0.4); border-radius: 0px;\\\"><span><span style=\\\"background-color: rgb(255, 215, 213); font-weight: bold;\\\">永久白嫖</span></span></strong><span><span style=\\\"background-color: rgb(255, 215, 213); font-weight: bold;\\\">的，qwen3每天可以免费调用2000次，对于大多数人或者小的团队都是够用的。</span></span></p><p style=\\\"color: rgb(0,0,0); letter-spacing: 0; text-align: justify; text-indent: 0;\\\"><span>如果你觉得匹配的精度还不够，可以考虑使用硅基流动的其他收费的嵌入和重排序模型，价格也很便宜。</span></p><p style=\\\"box-sizing: border-box; cursor: pointer; color: rgb(0,0,0); letter-spacing: normal; text-align: left; text-indent: 0; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; orphans: 2; text-transform: none; widows: 2; word-spacing: 0; -webkit-text-stroke-width: 0; white-space: normal; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\\\"><span>之前官方赠送的15元，我到现在才用了2块钱！</span></p><hr style=\\\"box-sizing: initial; height: 1px; overflow: visible; cursor: pointer; border-style: solid none none; border-width: 1px 3px 3px; border-color: rgb(0, 0, 0) rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.4); border-radius: 0px; background: none 0% 0% / auto no-repeat scroll padding-box border-box rgb(255, 255, 255); width: auto; color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\\\"/><p style=\\\"box-sizing: border-box; cursor: pointer; color: rgb(0,0,0); letter-spacing: normal; text-align: left; text-indent: 0; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; orphans: 2; text-transform: none; widows: 2; word-spacing: 0; -webkit-text-stroke-width: 0; white-space: normal; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\\\"><span>好了，今天的分享就到这里，如果觉得对你有帮助，欢迎点赞、收藏、转发。</span></p><p style=\\\"box-sizing: border-box; cursor: pointer; color: rgb(0,0,0); letter-spacing: normal; text-align: left; text-indent: 0; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; orphans: 2; text-transform: none; widows: 2; word-spacing: 0; -webkit-text-stroke-width: 0; white-space: normal; background-color: rgb(255,255,255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;\\\"><span>下一期，继续给大家介绍Cherry studio的高阶用法，智能体和mcp的玩法。</span></p><p style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; max-width: 100%; box-sizing: border-box; overflow-wrap: break-word; clear: both; min-height: 1em; color: rgb(0,0,0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: justify; text-indent: 0; text-transform: none; widows: 2; word-spacing: 0; -webkit-text-stroke-width: 0; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; cursor: pointer; background-color: rgb(255,255,255);\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0px; max-width: 100%; box-sizing: border-box; overflow-wrap: break-word;\\\"><span style=\\\"color: rgb(171, 25, 66); font-weight: bold;\\\">关注大鹏，不追热点，坚守长期主义、价值主义！</span></span></p><p style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; max-width: 100%; box-sizing: border-box; overflow-wrap: break-word; clear: both; min-height: 1em; color: rgb(0,0,0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: justify; text-indent: 0; text-transform: none; widows: 2; word-spacing: 0; -webkit-text-stroke-width: 0; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; cursor: pointer; background-color: rgb(255,255,255);\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0px; max-width: 100%; box-sizing: border-box; overflow-wrap: break-word; color: rgb(55, 61, 73); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 700; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline;\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0px; max-width: 100%; box-sizing: border-box; overflow-wrap: break-word;\\\">━━━━━━━━━━</span></span></p><p style=\\\"-webkit-tap-highlight-color: transparent; outline: 0; max-width: 100%; box-sizing: border-box; overflow-wrap: break-word; clear: both; min-height: 1em; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: justify; text-indent: 0; text-transform: none; widows: 2; word-spacing: 0; -webkit-text-stroke-width: 0; white-space: normal; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; font-feature-settings: &quot;kern&quot;,&quot;onum&quot;,&quot;liga&quot; color: rgb(55,61,73); background-color: rgb(255,255,255);\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0px; max-width: 100%; box-sizing: border-box; overflow-wrap: break-word; color: rgb(199, 37, 78); font-weight: 700; background-color: rgb(249, 242, 244);\\\"><span style=\\\"-webkit-tap-highlight-color: transparent; outline: 0px; max-width: 100%; box-sizing: border-box; overflow-wrap: break-word;\\\"><span style=\\\"\\\">也欢迎大家进群交流！</span></span></span></p><div style=\\\"text-align: center;\\\"><img src=\\\":/b7273247d63f4f92bf0dcd2948a48201\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks: %7B%22align%22%3A%22center%22%7D; width: auto;\\\" width=\\\"auto\\\"/></div></div></div></div></div></div></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":32040}]"
metadata_diff: {"new":{"id":"78385ffc821f4152b9988ba26bcba32e","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348829674,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:04:04.503Z
created_time: 2025-11-28T21:04:04.503Z
type_: 13