RAG - Sibling-chunk stitching #7

Open
opened 2026-08-20 14:33:11 +00:00 by francesco · 0 comments
Owner

Chunk IDs already encode <doc_key>: (peacelink:12345:0, :1...), so retrieving a chunk's neighbors from the same document is a deterministic WHERE id LIKE lookup, not a new data model.

Stitch ±1 chunk into the block before it hits the prompt. No LLM cost, no architecture change.

Chunk IDs already encode <doc_key>:<index> (peacelink:12345:0, :1...), so retrieving a chunk's neighbors from the same document is a deterministic WHERE id LIKE lookup, not a new data model. Stitch ±1 chunk into the <documento> block before it hits the prompt. No LLM cost, no architecture change.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
peacelink/ai-assistant#7
No description provided.