传统分块已死?Agentic Chunking:让RAG不再漏掉关键信息的智能分块策略!

LLM的 RAG 分块(Chunking)策略 本文介绍LLM的 RAG 分块(Chunking)策略 阅读详情

最近公司处理LLM项目的同事咨询了我一个问题:明明文档中多次提到同一个专有名词,RAG却总是漏掉关键信息。排查后发现,问题出在传统的分块方法上——那些相隔几页却密切相关的句子,被无情地拆散了。我给了一些通用的建议,比如使用混合检索代替单一的语义检索,基于chunk生成QA对等等。接着他又提出了一个问题,有没有通过分块技术能减少这类问题的发生?我说你也可以试试最近新提出的一种分块策略:Agentic Chunking.

为什么分块如此重要?

在RAG模型中,文本分块是第一步,也是最关键的一步。传统的分块方法,比如递归字符分割(Recursive character splitting),虽然简单易用,但它有一个明显的缺点:它依赖于固定的token长度进行分割,这可能导致一个主题被分割到不同的文本块中,从而破坏了上下文的连贯性。

另一种常见的分块方法是语义分割(semantic splitting),它通过检测句子之间的语义变化来进行分割。这种方法虽然比递归字符分割更智能,但它也有局限性。比如,当文档中的话题来回切换时,语义分割可能会将相关内容分割到不同的块中,导致信息不连贯。

比如遇到下面这种场景时,它们就会集体失灵:

“小明介绍了Transformer架构…(中间插入5段其他内容)…最后他强调,Transformer的核心是自注意力机制。”

传统方法要么把这两句话拆到不同区块,要么被中间内容干扰导致语义断裂。而人工分块时,我们自然会将它们归为“模型原理”组——这种跨越文本距离的关联性,正是Agentic Chunking要解决的。

Agentic Chunking的工作原理

Agentic Chunking的核心思想是让大语言模型(LLM)主动评估每一句话,并将其分配到最合适的文本块中。与传统的分块方法不同,Agentic Chunking不依赖于固定的token长度或语义变化,而是通过LLM的智能判断,将文档中相隔较远但主题相关的句子归入同一组。

举个例子,假设我们有以下文本:

On July 20, 1969, astronaut Neil Armstrong walked on the moon. He was leading the NASA’s Apollo 11 mission. Armstrong famously said, “That’s one small step for man, one giant leap for mankind” as he stepped onto the lunar surface.

在Agentic Chunking中,LLM会将这些句子进行propositioning处理,即将每个句子独立化,确保每个句子都有自己的主语。处理后的文本如下:

On July 20, 1969, astronaut Neil Armstrong walked on the moon.Neil Armstrong was leading the NASA’s Apollo 11 mission.Neil Armstrong famously said, “That’s one small step for man, one giant leap for mankind” as he stepped onto the lunar surface.

这样,LLM就可以单独检查每一个句子,并将其分配到最合适的文本块中。

propositioning 可以看做是对文档进行“句子级整容”,确保每个句子独立完整

如何实现Agentic Chunking?

实现Agentic Chunking的关键在于propositioning和文本块的动态创建与更新。我们可以使用Langchain和Pydantic等工具来实现这一过程。流程图如下:

  1. Propositioning文本

首先,我们需要将文本中的每个句子进行propositioning处理。我们可以使用Langchain提供的提示词模板,让LLM自动完成这项工作。以下是一个简单的代码示例:

from langchain.chains import create_extraction_chain_pydanticfrom langchain_core.pydantic_v1 import BaseModelfrom typing import Optionalfrom langchain.chat_models import ChatOpenAIimport uuidimport osfrom typing import Listfrom langchain import hubfrom langchain_core.prompts import ChatPromptTemplatefrom langchain_openai import ChatOpenAIfrom pydantic import BaseModelobj = hub.pull("wfh/proposal-indexing")llm = ChatOpenAI(model="gpt-4o")class Sentences(BaseModel):    sentences: List[str]extraction_llm = llm.with_structured_output(Sentences)extraction_chain = obj | extraction_llmsentences = extraction_chain.invoke(    """    On July 20, 1969, astronaut Neil Armstrong walked on the moon.    He was leading the NASA's Apollo 11 mission.    Armstrong famously said, "That's one small step for man, one giant leap for mankind" as he stepped onto the lunar surface.    """)
  1. 创建和更新文本块

接下来,我们需要创建一个函数来动态生成和更新文本块。每个文本块包含主题相似的propositions,并且随着新propositions的加入,文本块的标题和摘要也会不断更新。

def create_new_chunk(chunk_id, proposition):    summary_llm = llm.with_structured_output(ChunkMeta)    summary_prompt_template = ChatPromptTemplate.from_messages([        ("system", "Generate a new summary and a title based on the propositions."),        ("user", "propositions:{propositions}"),    ])    summary_chain = summary_prompt_template | summary_llm    chunk_meta = summary_chain.invoke({"propositions": [proposition]})    chunks[chunk_id] = {        "summary": chunk_meta.summary,        "title": chunk_meta.title,        "propositions": [proposition],    }
  1. 将proposition推送到合适的文本块

最后,我们需要一个AI Agent来判断新的proposition应该被添加到哪个文本块中。如果没有合适的文本块,Agent会创建一个新的文本块。

def find_chunk_and_push_proposition(proposition):    class ChunkID(BaseModel):        chunk_id: int = Field(description="The chunk id.")    allocation_llm = llm.with_structured_output(ChunkID)    allocation_prompt = ChatPromptTemplate.from_messages([        ("system", "Find the chunk that best matches the proposition. If no chunk matches, return a new chunk id."),        ("user", "proposition:{proposition} chunks_summaries:{chunks_summaries}"),    ])    allocation_chain = allocation_prompt | allocation_llm    chunks_summaries = {chunk_id: chunk["summary"] for chunk_id, chunk in chunks.items()}    best_chunk_id = allocation_chain.invoke({"proposition": proposition, "chunks_summaries": chunks_summaries}).chunk_id    if best_chunk_id not in chunks:        create_new_chunk(best_chunk_id, proposition)    else:        add_proposition(best_chunk_id, proposition)

实测效果如何

我选择了新加坡圣淘沙著名景点 Wings of Time 的介绍文本作为测试对象,使用 GPT-4 模型进行处理。这段文本包含了景点介绍、票务信息、开放时间等多个方面的内容,是一个很好的测试样本。

Product Name: Wings of TimeProduct Description: Wings of Time is one of Sentosa's most breathtaking attractions, combining water, laser, fire, and music to create a mesmerizing night show about friendship and courage. Situated on the scenic  (https://www.sentosa.com.sg/en/things-to-do/attractions/siloso-beach/) Siloso Beach , this award-winning spectacle is staged nightly, promising an unforgettable experience for visitors of all ages. Be wowed by spellbinding laser, fire, and water effects set to a majestic soundtrack, complete with a jaw-dropping fireworks display. A fitting end to your day out at Sentosa, it’s possibly the only place in Singapore where you can witness such an awe-inspiring performance.  Get ready for an even better experience starting 1 February 2025 ! Wings of Time Fireworks Symphony, Singapore’s only daily fireworks show, now features a fireworks display that is four times longer!   Important Note: Please visit  (https://www.sentosa.com.sg/sentosa-reservation) here if you need to change your visit date. All changes must be made at least 1 day prior to the visit date.Product Category: ShowsProduct Type: AttractionKeywords: Wings of Time, Sentosa night show, Sentosa attractions, laser show Sentosa, water show Singapore, Sentosa events, family activities Sentosa, Singapore night shows, outdoor night show Sentosa, book Wings of Time ticketsMeta Description: Experience Wings of Time at Sentosa! A breathtaking night show featuring water, laser, and fire effects. Perfect for a memorable evening.Product Tags: Family Fun,Popular experiences,Frequently BoughtLocations: Beach Station[Tickets]Name: Wings of Time (Std)Terms: • All Wings of Time (WOT) Open-Dated tickets require prior redemption at Singapore Cable Car Ticketing counters and are subjected to seats availability on a first come first serve basis. • This is a rain or shine event. Tickets are non-exchangeable or nonrefundable under any circumstances. • Once timeslot is confirmed, no further amendments are allowed. Please proceed to WOT admission gates to scan your issued QR code via mobile or physical printout for admission. • Gates will open 15 minutes prior to the start of the show. • Show Duration: 20 minutes per show. • Please be punctual for your booked time slot. • Admission will be on a first come first serve basis within the allocated timeslot or at the discretion of the attraction host. • Standard seats are applicable to guest aged 4 years and above. • No outside Food & Drinks are allowed. • Refer to  (https://www.mountfaberleisure.com/attraction/wings-of-time/) https://www.mountfaberleisure.com/attraction/wings-of-time/ for more information on Wings of Time.Pax Type: StandardPromotion A: Enjoy $1.90 off when you purchase online! Discount will automatically be applied upon checkout.Price: 19Opening Hours: Daily  Show 1: 7.40pm  Show 2: 8.40pmAccessibilities: Wheelchair[Information]Title: Terms & ConditionsDescription: For more information, click  (https://www.sentosa.com.sg/en/promotional-general-store-terms-and-conditions) here for Terms & ConditionsTitle: Getting HereDescription: By Sentosa Express: Alight at Beach Station  By Public Bus: Board Bus 123 and alight at Beach Station  By Intra-Island Bus: Board Sentosa Bus A or B and alight at Beach Station     Nearest Car Park   Beach Station Car ParkTitle: Contact UsDescription: Beach Station  +65 6361 0088   (mailto:guestrelations@mflg.com.sg) guestrelations@mflg.com.sg

系统首先将原文转化为 50 多个独立的陈述句(propositions)。有趣的是,在这个过程中,系统自动将每句话的主语统一为"Wings of Time",这显示出了 AI 对文本主题的准确把握。

[    "Wings of Time is one of Sentosa's most breathtaking attractions.",    'Wings of Time combines water, laser, fire, and music to create a mesmerizing night show.',    'The night show of Wings of Time is about friendship and courage.',    'Wings of Time is situated on the scenic Siloso Beach.',    'Wings of Time is an award-winning spectacle staged nightly.',    'Wings of Time promises an unforgettable experience for visitors of all ages.',    'Wings of Time features spellbinding laser, fire, and water effects set to a majestic soundtrack.',    'Wings of Time includes a jaw-dropping fireworks display.',    'Wings of Time is a fitting end to a day out at Sentosa.',    'Wings of Time is possibly the only place in Singapore where such an awe-inspiring performance can be witnessed.',    'Wings of Time will offer an even better experience starting 1 February 2025.',    'Wings of Time Fireworks Symphony is Singapore’s only daily fireworks show.',    'Wings of Time Fireworks Symphony now features a fireworks display that is four times longer.',    'Visitors should visit the provided link if they need to change their visit date to Wings of Time.',    'All changes to the visit date must be made at least 1 day prior to the visit date.',    'Wings of Time is categorized as a show.',    'Wings of Time is a type of attraction.',    'Keywords for Wings of Time include: Wings of Time, Sentosa night show, Sentosa attractions, laser show Sentosa, water show Singapore, Sentosa events, family activities Sentosa, Singapore night shows, outdoor night show Sentosa, book Wings of Time tickets.',    'The meta description for Wings of Time is: Experience Wings of Time at Sentosa! A breathtaking night show featuring water, laser, and fire effects. Perfect for a memorable evening.',    'Product tags for Wings of Time include: Family Fun, Popular experiences, Frequently Bought.',    'Wings of Time is located at Beach Station.',    'Wings of Time (Std) tickets require prior redemption at Singapore Cable Car Ticketing counters.',    'Wings of Time (Std) tickets are subjected to seats availability on a first come first serve basis.',    'Wings of Time is a rain or shine event.',    'Tickets for Wings of Time are non-exchangeable or nonrefundable under any circumstances.',    'Once the timeslot for Wings of Time is confirmed, no further amendments are allowed.',    'Visitors should proceed to Wings of Time admission gates to scan their issued QR code via mobile or physical printout for admission.',    'Gates for Wings of Time will open 15 minutes prior to the start of the show.',    'The show duration for Wings of Time is 20 minutes per show.',    'Visitors should be punctual for their booked time slot for Wings of Time.',    'Admission to Wings of Time will be on a first come first serve basis within the allocated timeslot or at the discretion of the attraction host.',    'Standard seats for Wings of Time are applicable to guests aged 4 years and above.',    'No outside food and drinks are allowed at Wings of Time.',    'More information on Wings of Time can be found at the provided link.',    'The pax type for Wings of Time is Standard.',    'Promotion A for Wings of Time offers $1.90 off when purchased online.',    'The discount for Promotion A will automatically be applied upon checkout.',    'The price for Wings of Time is 19.',    'Wings of Time has opening hours daily with Show 1 at 7.40pm and Show 2 at 8.40pm.',    'Wings of Time is accessible by wheelchair.',    "The title for terms and conditions is 'Terms & Conditions'.",    'More information on terms and conditions can be found at the provided link.',    "The title for getting to Wings of Time is 'Getting Here'.",    'Visitors can get to Wings of Time by Sentosa Express by alighting at Beach Station.',    'Visitors can get to Wings of Time by Public Bus by boarding Bus 123 and alighting at Beach Station.',    'Visitors can get to Wings of Time by Intra-Island Bus by boarding Sentosa Bus A or B and alighting at Beach Station.',    'The nearest car park to Wings of Time is Beach Station Car Park.',    "The title for contacting Wings of Time is 'Contact Us'.",    'The contact location for Wings of Time is Beach Station.',    'The contact phone number for Wings of Time is +65 6361 0088.',    'The contact email for Wings of Time is guestrelations@mflg.com.sg.']

经过 AI 的智能分块(agentic chunking),整个文本被自然地划分为四个主要部分:

  1. 主体信息块:包含了 Wings of Time 的核心介绍、特色、位置等综合信息
  2. 日程政策块:专门处理预约变更相关的信息
  3. 价格优惠块:聚焦于折扣和支付相关内容
  4. 法律条款块:归纳了各项条款和规定
Chunk (a641f): Sentosa's Wings of Time Show & Visitor InformationSummary: This chunk contains comprehensive details about the Wings of Time attraction in Sentosa, including its features, themes, location, visitor experience, ticketing and admission procedures, future enhancements, promotions, classification as a show and attraction, unique fireworks display, daily show schedule, accessibility options, importance of punctuality and ticket redemption, extended fireworks display in the Fireworks Symphony, transportation options to reach the venue, and the necessity of adhering to non-exchangeable ticket policies, with a focus on the standard ticketing process and visitor guidelines, and the recent update on the extended fireworks display, as well as the contact information and accessibility details, and the new experience starting February 2025.Chunk (ae2b8): Scheduling PoliciesSummary: This chunk contains information about policies regarding changes to scheduled dates and times.Chunk (dadbb): Retail & DiscountsSummary: This chunk contains information about the application of discounts during the checkout process.Chunk (3347c): Legal Terms & ConditionsSummary: This chunk contains information about terms and conditions, including their titles and where to find more information.

经过这样的分块之后,各个块的主题明确,不重叠,且重要信息优先,辅助信息分类存放。把这样的信息放在一起,也有助于提升向量库的召回率,从而提升RAG的准确率。

总结

Agentic Chunking是一种非常强大的文本分块技术,它能够将文档中相隔较远但主题相关的句子归入同一组,从而提升RAG模型的效果,但是这种方法在成本和延迟上相对较高。同事尝试了Agentic chunking之后,据他说准确率提升了40%,但成本也增加了3倍。那么我们时候应该使用Agentic chunking呢?

根据我的项目经验,以下场景特别适合:

  • 非结构化文本(如客服对话记录)
  • 主题反复横跳的内容(技术沙龙实录)
  • 需要跨段落关联的QA系统

而面对结构清晰的论文、说明书等,传统分块和语义分块仍是性价比之选。


说真的,这两年看着身边一个个搞Java、C++、前端、数据、架构的开始卷大模型,挺唏嘘的。大家最开始都是写接口、搞Spring Boot、连数据库、配Redis,稳稳当当过日子。

结果GPT、DeepSeek火了之后,整条线上的人都开始有点慌了,大家都在想:“我是不是要学大模型,不然这饭碗还能保多久?”

我先给出最直接的答案:一定要把现有的技术和大模型结合起来,而不是抛弃你们现有技术!掌握AI能力的Java工程师比纯Java岗要吃香的多。

即使现在裁员、降薪、团队解散的比比皆是……但后续的趋势一定是AI应用落地!大模型方向才是实现职业升级、提升薪资待遇的绝佳机遇!

这绝非空谈。数据说话

2025年的最后一个月,脉脉高聘发布了《2025年度人才迁徙报告》,披露了2025年前10个月的招聘市场现状。

AI领域的人才需求呈现出极为迫切的“井喷”态势

2025年前10个月,新发AI岗位量同比增长543%,9月单月同比增幅超11倍。同时,在薪资方面,AI领域也显著领先。其中,月薪排名前20的高薪岗位平均月薪均超过6万元,而这些席位大部分被AI研发岗占据。

与此相对应,市场为AI人才支付了显著的溢价:算法工程师中,专攻AIGC方向的岗位平均薪资较普通算法工程师高出近18%;产品经理岗位中,AI方向的产品经理薪资也领先约20%。

当你意识到“技术+AI”是个人突围的最佳路径时,整个就业市场的数据也印证了同一个事实:AI大模型正成为高薪机会的最大源头。

最后

我在一线科技企业深耕十二载,见证过太多因技术卡位而跃迁的案例。那些率先拥抱 AI 的同事,早已在效率与薪资上形成代际优势,我意识到有很多经验和知识值得分享给大家,也可以通过我们的能力和经验解答大家在大模型的学习中的很多困惑。

我整理出这套 AI 大模型突围资料包【允许白嫖】:

  • ✅从入门到精通的全套视频教程

  • ✅AI大模型学习路线图(0基础到项目实战仅需90天)

  • ✅大模型书籍与技术文档PDF

  • ✅各大厂大模型面试题目详解

  • ✅640套AI大模型报告合集

  • ✅大模型入门实战训练

这份完整版的大模型 AI 学习和面试资料已经上传优快云,朋友们如果需要可以微信扫描下方优快云官方认证二维码免费领取【保证100%免费】

在这里插入图片描述

①从入门到精通的全套视频教程

包含提示词工程、RAG、Agent等技术点

在这里插入图片描述

② AI大模型学习路线图(0基础到项目实战仅需90天)

全过程AI大模型学习路线

在这里插入图片描述

③学习电子书籍和技术文档

市面上的大模型书籍确实太多了,这些是我精选出来的

在这里插入图片描述

④各大厂大模型面试题目详解

在这里插入图片描述

⑤640套AI大模型报告合集

在这里插入图片描述

⑥大模型入门实战训练

在这里插入图片描述

👉获取方式:
有需要的小伙伴,可以保存图片到wx扫描二v码免费领取【保证100%免费】🆓

在这里插入图片描述

Agentic Chunking:LLM驱动的智能文本分块技术解析 文本分块是信息检索和知识管理中的基础技术,传统基于固定窗口的分块方法常导致语义割裂和上下文丢失。随着大语言模型(LLM)技术的发展,动态语义分块成为可能。Agentic Chunking通过LLM的语义理解能力,实现层次化分块和上下文感知,显著提升RAG系统的检索质量。该技术采用分层向量化策略,结合全局嵌入、分块嵌入和关系嵌入,在金融、法律等领域的文档处理中展现出优势。特别是在处理结构化文本时,能有效避免关键信息遗漏,同时通过动态分块优化算法平衡语义完整性和存储效率。 阅读详情

相关推荐

从Embeddings到Agentic RAG:构建高可用本地知识库的进阶实践

Embeddings(嵌入)是将文本转换为数值向量的核心技术,它通过捕捉语义信息,为后续的相似性检索奠定基础。其原理在于将高维、离散的文本数据映射到低维、连续的向量空间,使得语义相近的文本在空间中的距离也更近。这项技术的核心价值在于,它是实现精准语义搜索、构建高效知识检索系统的基石,广泛应用于智能问答、推荐系统和企业知识库等场景。本文聚焦于如何通过深入理解Embeddings模型的选择与调优,并结合本地向量数据库(如Chroma、Qdrant)的工程化部署,来解决传统RAG(检索增强生成)系统在检索准确性和

weixin_33682790的博客 394

传统分块已死?Agentic Chunking拯救语义断裂,实测RAG准确率飙升40%,LLM开发者必看!

Agentic Chunking是一种非常强大的文本分块技术,它能够将文档中相隔较远但主题相关的句子归入同一组,从而提升RAG模型的效果,但是这种方法在成本和延迟上相对较高。同事尝试了Agentic chunking之后,据他说准确率提升了40%,但成本也增加了3倍。那么我们时候应该使用Agentic chunking呢?根据我的项目经验,以下场景特别适合:非结构化文本(如客服对话记录)主题反复横跳的内容(技术沙龙实录)需要跨段落关联的QA系统。

m0_59164304的博客 1703

三极管NPN与PNP的工作原理及快速识别技巧

本文深入浅出地解析了三极管NPN与PNP的核心工作原理。通过“水龙头”比喻,阐明其以小电流控制大电流的放大与开关本质。文章重点对比了NPN与PNP在电流方向、电位关系和控制逻辑上的根本区别,并提供了快速识别技巧与实用的选型、应用指南,帮助电子爱好者与工程师快速掌握这两种基础元件的关键知识。

neovim7hacker的博客 453

一文解析Agentic Chunking!Agentic Chunking 如何彻底改变 RAG?

这种方法利用 LLM 读取大段文本,然后指令其提取其中的关键概念、实体或生成精炼的摘要。每个摘要或概念簇可以成为一个“智能块”。「示例场景:」处理一份冗长的研究论文。传统分块可能切断关键发现。通过 LLM 提取,我们可以得到包含核心洞察的浓缩块。# 初始化你的 LLM 模型# 实际应用中请替换为你的 OpenAI API Key 或其他 LLM 提供商# 定义你希望从文本中提取的结构化信息模式。# 这相当于定义你的“智能块”应该包含哪些语义元素。

老皮的博客 1278

学习stm32H7之路开始(STM32H7系列1) 前期准备,HAL库框架

2020.01.07 几个重要的参考网址 1.电子工程世界网 http://tags.eeworld.com.cn/tags/STM32H7 链接: link. 2.转:https://blog.youkuaiyun.com/simon223/article/list/2?t=1 链接: link. ———————————————— 版权声明:本文为优快云博主「Simon223」的原创文章,遵循 CC 4....

kengkengkeng963的博客 3409

逆变器专题(6)-正负序分离(二阶广义积分器DSOGI)

相应仿真原件请移步资源下载DSOGI作为一种常用的正负序分离方法,其可以在电压三相不平衡的状态下实现较为精准的锁相环。

cyc19980105的博客 8805

Agentic Chunking:RAG 准确率飙升 40% 的秘密武器

最近,AI 圈又有大动作!一种名为 Agentic Chunking 的分块技术横空出世,号称能让 RAG 准确率飙升 40%,这可把 LLM 开发者们的好奇心拉满了。今天,咱们就来深度扒一扒,它到底有啥神奇之处!

m0_59164304的博客 1522

点云去噪:基于点云拟合的方法

点云处理是计算机视觉中的重要任务之一,而点云去噪是点云处理的关键步骤之一。在实际应用中,由于采集设备的噪声、运动估计误差或者环境干扰等因素,点云数据中常常包含有噪声点,这些噪声点会对后续的点云分析和处理造成不良影响。一种简单的方法是计算点到拟合曲面的距离,并将距离超过某个阈值的点定义为噪声点,进行过滤。一种简单的方法是计算点到拟合曲面的距离,并将距离超过某个阈值的点定义为噪声点,进行过滤。该方法通过拟合点云数据的曲面模型,对噪声点进行识别和过滤,从而得到更加干净的点云数据。

AuSwift的博客 638

智能文档分块:提升RAG系统性能的秘诀

在数字化时代,处理和分析大型文档的任务变得日益复杂。本文将深入探讨一种新技术,它通过智能分块优化了检索增强型生成(RAG)系统的性能。RAG系统是一种先进的机器学习模型,它结合了检索和生成技术,以提高输出内容的质量和相关性。系统的工作流程分为两个阶段:检索阶段和生成阶段。:系统首先根据输入查询检索相关文档或信息。这个阶段依赖于搜索算法和索引方法,从大量数据中快速识别最相关的数据。:一旦检索到相关文档,通常使用基于变换器的语言模型(如GPT-4)作为生成模型,以创建连贯且上下文合适的响应。

m0_59235699的博客 1224

Java开源海外跨境电商购物商城源码,TikToK商城系统源码,外贸商城在线交易

最近很火的一款商城源码,朋友分享给我的,完整版,java开源代码,带有非常详细的搭建教程,文件都一个多G,喜欢的可以下载来研究研究!3、创建mall 数据库并导入数据,数据库名用户名为:mall 数据库密码保持为:XXKytcACPX3GbdsH。8、进入cd /data/deploy/mall-tool/目录执行./build.sh脚本。7、宝塔ssh进入cd /data/deploy/mall/ 执行./build.sh脚本。2、安装宝塔环境:安装 Redis、MySQL5.7、Ngin1.2。

百创科技 2821

SolidWorks速成教程P1——简介及基础操作

SolidWorks教程P1——简介及基础操作

嵌入式阿齐Archie 2万+

传统分块已死?Agentic Chunking拯救语义断裂,实测RAG准确率飙升40%!

Agentic Chunking的核心思想是让大语言模型(LLM)主动评估每一句话,并将其分配到最合适的文本块中。

huang9604的博客 411

(5)ModalAI VOXL2

Ardupilot官网关于《Non-GPS navigation》的翻译 —《(5) ModalAI VOXL2》。

无人机开发(开源Ardupilot) 1万+

Agentic Chunking:语义驱动的智能文本分块技术解析

文本分块(Chunking)是自然语言处理中的基础技术,直接影响信息检索与知识提取的效果。传统基于规则的分块方法存在语义断裂、信息丢失等固有缺陷,而新兴的Agentic Chunking技术通过引入LLM(大语言模型)和智能体(Agent)决策机制,实现了从字符切割到语义理解的范式升级。该技术核心在于动态分析文本结构与内容类型,自动选择最优分块策略,在金融文档解析、法律条款处理等技术场景中展现出显著优势。结合RAG(检索增强生成)系统使用时,能有效提升关键信息保留率和生成内容相关性,为知识密集型应用提供更精

weixin_30938149的博客 383

华为OD机考双机位C卷 - 敌情监控 (Java & Python& JS & C/C++ & GO )

华为OD机考双机位C卷 - 敌情监控 (OD上机考试双机位C卷)。提供在线OJ刷题。Java、C++、Python、GO语言、C语言、JavaScript题解,并提供完整思路讲解。

算法大师! 964

文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况

主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。

RAG技术中的文本分块策略与应用实践

检索增强生成(RAG)技术通过结合检索与生成模型的能力,显著提升了知识密集型任务的处理效率。其核心原理在于将外部知识库信息分块编码,供大模型检索调用。合理的文本分块策略直接影响信息检索的准确性与生成质量,是平衡语义完整性与计算效率的关键技术环节。在工程实践中,固定分块、语义分块和动态分块等策略各有适用场景,如金融合同解析采用段落分块可提升89%的准确率,而医疗报告处理使用语义分块能提高32%的诊断建议准确性。这些方法在客服系统、法律文档分析等领域展现出重要价值,其中智能体分块等前沿技术更实现了41%的性能提

weixin_34238633的博客 407

老版QQ原生表情gif动态

这是老版的QQ表情,不过全是动态的的,Windows照片查看器是不会动的,可以右击用浏览器打开查看,再说一遍是老版的,只是分享给宁愿用老版也要动态的人。

RAG文本分块策略:从基础原理到LangChain/LlamaIndex实战

文本分块是自然语言处理中的基础预处理技术,其核心原理是将长文档拆分为语义连贯的片段,以适配模型输入限制并提升信息检索效率。在检索增强生成(RAG)系统中,分块质量直接决定向量检索的召回精度与生成答案的准确性。有效的分块策略需平衡语义完整性与信息密度,避免因过度切割导致的上下文断裂或块内噪声干扰。实践中,需结合文档类型与业务场景,灵活运用基于分隔符、语义相似度或混合策略的分块方法。本文以LangChain的RecursiveCharacterTextSplitter和LlamaIndex的Node Parse

weixin_33906657的博客 363

IEM模型,地表粗糙度模拟

利用微波反演土壤水分时候,利用IEM模型可以实现对随机地表的模拟

数学建模模型总结

这是本人在两年内准备参加数学建模竞赛搜集到的模型资料,已经经过了本人的筛选和整理,希望能够对准备参加数学建模竞赛的学弟学妹们提供一些帮助!

动态语义分块技术:RAG系统中的文本处理革命

文本分块是自然语言处理和信息检索的基础技术,其核心目标是在保持语义完整性的前提下分割文本。传统基于固定长度或分隔符的方法存在语义割裂问题,而动态语义分块通过嵌入向量分析和上下文感知,实现了智能化的语义边界识别。这项技术在RAG系统中尤为重要,能显著提升法律、医疗等专业领域的检索准确率。以BERT等预训练模型为基础的语义分割方案,结合滑动窗口和并行计算优化,既保证了处理效率又维持了高准确度。特别是在处理合同条款、医疗报告等结构化文本时,动态分块技术展现出比传统方法提升30%以上的性能优势。

weixin_29056781的博客 294

RAG四种架构选型指南:从Naive到Agentic的工程决策逻辑

RAG(检索增强生成)是一种将外部知识动态注入大语言模型的关键技术,其核心原理是解耦模型能力与知识更新,通过检索-重排序-生成闭环提升事实准确性与领域适配性。技术价值在于降低幻觉、支持私有数据、实现低成本知识迭代,广泛应用于智能客服、合规审计、技术文档问答等企业级场景。本文聚焦RAG落地中最关键的架构选型问题,系统解析Naive RAG、Advanced RAG、Modular RAG与Agentic RAG的本质差异、适用边界及真实项目中的性能-精度-工程成本权衡,尤其结合向量数据库选型、语义分块、Pro

weixin_30363981的博客 393

从RAG到Agent:Agentic RAG架构演进与工程实践指南

大模型应用开发中,检索增强生成(RAG)与智能体(Agent)是两种核心范式。RAG通过外部知识库检索为模型提供事实依据,解决幻觉与知识陈旧问题;Agent则以大模型为决策大脑,编排多步推理与工具调用。二者并非互斥,而是层层递进——Agentic RAG将检索能力封装为Agent可调用的工具,实现动态检索与深度推理。在工程落地中,向量化、分块策略、混合检索与重排机制直接影响知识库质量,而LangGraph、Spring AI等框架则加速了系统搭建。本文从RAG核心链路出发,拆解向量数据库选型、重排模型原理,

weixin_34234829的博客 401

智能体信息检索环境训练:从RAG到Agentic IR的范式演进

信息检索系统正从传统的被动响应模式,向具备自主规划与执行能力的智能体(Agent)范式演进。其核心原理在于,通过优化智能体与外部知识源的交互接口,提升复杂任务下的信息获取与利用效率。这一转变的技术价值在于,它突破了传统检索增强生成(RAG)架构中静态、无状态检索的局限,通过将检索环境本身建模为可学习的组件,实现了智能体与环境的协同进化。在应用场景上,这尤其适用于需要多步推理、工具调用和信息验证的复杂任务,如深度研究分析、自动化报告生成和多跳问答。本文聚焦于“训练环境”这一前沿理念,探讨如何通过强化学习等方法

weixin_33811539的博客 392
上一篇: 2026年程序员转型必备指南!大模型领域挑战与机遇并存,为何它值得你尝试?
下一篇: AI七十年进化论:从图灵测试到智能体!
Agent学习路线
博客等级 码龄6年 1万+粉丝 1902原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值