4 ms·
How are you searching with LLMs? The strategies I've tried are: 1. Shove all potentially relevant data (e.g. entire book or library) into an LLM (quite expens
by andai 2y ago
How are you searching with LLMs?
The strategies I've tried are:
1. Shove all potentially relevant data (e.g. entire book or library) into an LLM (quite expensive and the needle-haystack problem exists even in recent models iirc -- though splitting into many smaller prompts seems to solve it without substantially increasing price).
2. Vector database (in my experience overcomplicated and spotty performance, often not much better than an expanded keyword search, sometimes worse?)
3. Web search (generate queries, run them on duckduckgo, read the top N results) -- decent in theory but most top search results are crap, I need to adapt this method to use only high quality sources instead of general purpose search engines.
- OutOfHere 2y agoI have a free software which does it: https://github.com/impredicative/newssurvey https://github.com/impredicative/newssurvey As for the how, it is noted in its readme in the Approach section.