Skip to content

搞英语 → 看世界

翻译英文优质信息和名人推特

Menu
  • 首页
  • 作者列表
  • 独立博客
  • 专业媒体
  • 名人推特
  • 邮件列表
  • 关于本站
Menu

漫游 RAG – 让模型找到答案

Posted on 2024-12-06

漫游 RAG – 让模型找到答案

John Berryman 的全新 RAG 技术(名字很活泼):

Roaming RAG 的主要想法是制作一个简单的 LLM 应用程序,以便 LLM 助理能够阅读文档的层次结构大纲,然后翻阅文档(通过打开各个部分),直到找到并回答手头的问题。由于漫游 RAG 直接导航文档文本,因此无需设置检索基础设施,而且移动部件更少意味着您可能搞砸的事情更少!

John 提供了一个示例,该示例将 Markdown 文档折叠为仅标题,每个标题都带有一条指令注释<!-- Section collapsed - expand with expand_section("9db61152") --> 。

然后提供expand_section()工具以及以下工具描述:

Expand a section of the markdown document to reveal its contents.

- Expand the most specific (lowest-level) relevant section first
- Multiple sections can be expanded in parallel
- You can expand any section regardless of parent section state (eg parent sections do not need to be expanded to view subsection content)

我过去探索过矢量搜索和全文搜索 RAG,但这是我见过的第一个听起来令人信服的技术,它完全跳过搜索,而是倾向于允许模型通过标题直接导航大型文档。

通过@jnbrymn.bsky.social

标签:提示工程,生成人工智能,人工智能, rag , llms

原文: https://simonwillison.net/2024/Dec/6/roaming-rag/#atom-everything

本站文章系自动翻译,站长会周期检查,如果有不当内容,请点此留言,非常感谢。
  • Abhinav
  • Abigail Pain
  • Adam Fortuna
  • Alberto Gallego
  • Alex Wlchan
  • Answer.AI
  • Arne Bahlo
  • Ben Carlson
  • Ben Kuhn
  • Bert Hubert
  • Bits about Money
  • Brian Krebs
  • ByteByteGo
  • Chip Huyen
  • Chips and Cheese
  • Christopher Butler
  • Colin Percival
  • Cool Infographics
  • Dan Sinker
  • David Walsh
  • Dmitry Dolzhenko
  • Dustin Curtis
  • Elad Gil
  • Ellie Huxtable
  • Ethan Marcotte
  • Exponential View
  • FAIL Blog
  • Founder Weekly
  • Geoffrey Huntley
  • Geoffrey Litt
  • Greg Mankiw
  • Henrique Dias
  • Hypercritical
  • IEEE Spectrum
  • Investment Talk
  • Jaz
  • Jeff Geerling
  • Jonas Hietala
  • Josh Comeau
  • Lenny Rachitsky
  • Liz Danzico
  • Lou Plummer
  • Luke Wroblewski
  • Matt Baer
  • Matt Stoller
  • Matthias Endler
  • Mert Bulan
  • Mostly metrics
  • News Letter
  • NextDraft
  • Non_Interactive
  • Not Boring
  • One Useful Thing
  • Phil Eaton
  • Product Market Fit
  • Readwise
  • ReedyBear
  • Robert Heaton
  • Rohit Patel
  • Ruben Schade
  • Sage Economics
  • Sam Altman
  • Sam Rose
  • selfh.st
  • Shtetl-Optimized
  • Simon schreibt
  • Slashdot
  • Small Good Things
  • Taylor Troesh
  • Telegram Blog
  • The Macro Compass
  • The Pomp Letter
  • thesephist
  • Thinking Deep & Wide
  • Tim Kellogg
  • Understanding AI
  • 英文媒体
  • 英文推特
  • 英文独立博客
©2025 搞英语 → 看世界 | Design: Newspaperly WordPress Theme