Re:Show HN: Repogather – copy relevant files to clipboard fo...
by morgante on Thursday September 12, 2024 @12:27PM
(#41522618)
Embeddings are actually generally not that effective for code.
[ Parent
| on HN ]
Re:Show HN: Repogather – copy relevant files to clipboard fo...
by grbsh on Thursday September 12, 2024 @12:32PM
(#41522668)
This is what I've found. It's so hard to do embeddings correctly, while it's so easy to search over a large corpus with a cheap LLM! Embeddings are also really inscrutable when they fail, whereas I find myself easily iterating if repogather fails to return the right group of files.
Of course, 'cheap' is relative -- on a large repository, embeddings are 99%+ cheaper than even gpt-4o-mini.