dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse


Our Discord Notification Server invitation link is https://discord.gg/jB2qmRrxyD

Author Topic: Terry You Need to Understand RAG, its Datastore Management and My Deployment  (Read 18 times)

Online Chip (OP)

  • Server Admin
  • Admin
  • Hero Member
  • ****
  • Administrator
  • *****
  • Restrictive
  • *
  • RC Discussion
  • **
  • Private
  • ***
  • Owner
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 7494
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 07:50:49 PM
  • Deeply Confused Learner
  • Profession: IT Engineer now retired
📎 Click on me to view all my attachments
ListAttBBC  |  v7.3.0  |  2026-10-26  |  Andrew.human & Claude.ai  |  live 19:50:55
#FileSizeDownloadsInfoDL
00instagram-1793160534252.mp44 MB15â„šī¸âŦ‡ī¸
01RAG_for_Terry.md6.4 KB1â„šī¸âŦ‡ī¸

âš ī¸ Unknown theme in [lmv=inline-theme-dracula]. Valid: indigo, none, pink, slate, emerald, amber, crimson, solarized-light, coffee, sepia, sunset-glow, lavender-mist, mint-cream, peach-puff, sky-blue, rose-quartz, lemon-chiffon, spring-bud, aqua-marine, coral-reef, lilac-dream, pearl-white.


📝 Inline Markdownv4.6.2 · 2026-10-28

So how do you handle continuously changing documents in RAG ?"

Here's the full answer. Get it wrong, and your bot quotes last week's policy.

The naive fix: reembed everything after every edit.

Say 500 docs, about 10,000 chunks --- all reembedded to fix one sentence. The answer they want has three layers.

Layer one: detect what changed. The app sends a webhook, an instant ping, when a file changes. Then compare each chunk's hash, a fingerprint of its text. Same hash, skip it; new hash that chunk changed.

Layer two: update only that chunk. Reembed it and absurd it under the same ID. Absurd means override if it exists, insert if not. Doc deleted, delete all its chunks by its doc ID. One chunk reembedded, not 10,000.

Layer three: safety nets. Tag every chunk with a version, search only the latest. Webhooks can be missed, so run a scheduled full resync. Now your bot says 14 days.

Don't rebuild everything, touch only what changed.

Detect update, verify.

« Last Edit: Today at 12:59:57 PM by Chip »
friendly
0
funny
0
informative
0
agree
0
disagree
0
like
0
dislike
0
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
No reactions
Our Discord Server invitation link is https://discord.gg/jB2qmRrxyD

Tags:
 


dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse





TERMS AND CONDITIONS

In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


TO USE THIS WEBSITE YOU MUST AGREE TO THE TERMS AND CONDITIONS ABOVE


Founded December 2014
SimplePortal 2.3.6 © 2008-2014, SimplePortal