This will scale when you have a single/a small set of document(s) and want your questions answered. When you have a question and you don't know which of the million documents in your dataspace contains the answer - I'm not sure how this approach will perform. In that case we are looking at either feeding an enormously large tree as context to LLM or looping through potentially thousands of iterations between a tree &…
Show HN: PageIndex – Vectorless RAG
51–60 of 147 posts
Re: Show HN: PageIndex – Vectorless RAG
#52Re: Show HN: PageIndex – Vectorless RAG
#53 SELECT id, body
FROM docs
WHERE body ~* E'(?x) -- x = allow whitespace/comments
(?:\\m(?:dr|rev(?:erend)?)\\.?\\M[\\s.]+)? -- optional title: Dr., Rev., Reverend
( -- name forms
(?:\\mmartin\\M[\\s.]+(?:\\mluther\\M[\\s.]+)?\\mking\\M) -- "Martin (Luther)? King"
| (?:\\mm\\.?\\M[\\s.]+(?:\\ml\\.?\\M[\\s.]+)?\\mking\\M) -- "M. (L.)? King" / "M L King"
| (?:\\mmlk\\M) -- "MLK"
)
(?:[\\s.,-]*\\m(?:jr|junior)\\M\\.?)* -- optional suffix(es): Jr, Jr., Junior
';Re: Show HN: PageIndex – Vectorless RAG
#54I'd do some large scale benchmarks before doubling down on this approach.
Re: Show HN: PageIndex – Vectorless RAG
#55This is like semantic version of B+ trees.
Re: Show HN: PageIndex – Vectorless RAG
#56vectorless rag? I think I have one of those in my kitchen
Re: Show HN: PageIndex – Vectorless RAG
#57Unrelated: why is chat search in Claude so bad?
Re: Show HN: PageIndex – Vectorless RAG
#58Context and prompt engineering is the most important of AI, hands down. There are plenty of lightweight retrieval options that don't require a separate vector database (I'm the author of txtai [ https://github.com/neuml/txtai ], which is one of them). It can be as simple this in Python: you pass an index operation a data generator and save the index to a local folder. Then use that for RAG.
Re: Show HN: PageIndex – Vectorless RAG
#59Sounds a bit like generative retrieval (e.g. this Google paper here: https://arxiv.org/abs/2202.06991 )
Re: Show HN: PageIndex – Vectorless RAG
#60Looks like this should scale spectacularly poorly. Might be useful for a few hundred documents max though.