logoalt Hacker News

jeffchubertoday at 4:07 PM5 repliesview on HN

If you are truly bitter-lesson pilled - give the agent all the tools and let it decide which to use.

- regex (grep) - hybrid search (bm25+vector)

this X vs Y is uninteresting when the answer can be both.


Replies

budududuroiutoday at 6:09 PM

Both is usually the right answer, since you can use LLMs to do query expansion and effectively increase the recall performance of your retrieval algo

bachittletoday at 4:36 PM

Exactly this, and this tool called qmd is what I use for the hybrid search portion. It also uses local LLMs to provide summaries on your own markdown data too. My agents use both depending on what type of search they are doing, and both provide good results.

https://github.com/tobi/qmd

pastel8739today at 4:15 PM

That assumes that the agent knows which one is better. And to bake in which one is better via post-training would require a study like this to establish where each one works well

show 1 reply
dominotwtoday at 4:30 PM

it will only use tools it was trained on? what's the benfit of givig it all the tools.

worthless-trashtoday at 4:11 PM

I'm still disappointed that ai can't use ctags, its used for finding strings and patterns, its right there.

show 1 reply