News for hackers. Stuff that matters.
Re:Show HN: Playground for comparing embedding models on Wik... by varunshenoy on Monday October 30, 2023 @08:26PM (#38078027)
Awesome job guys, and thank you for creating it. Curious if you guys have any insights on long-term memory and if there are better ways to do retreivel apart from top-k.

Seems weird that every RAG app uses top-k especially since you might pull in information irrelevant to the context (e.g. if you were asking for the names of the authors of paper, you probably only want the top-1 embedding).

Re:Show HN: Playground for comparing embedding models on Wik... by davidtsong on Monday October 30, 2023 @10:49PM (#38079615)
Definitely, top-k is a very naive way to do RAG. I think people have experimented with using a cross encoder like approach or even letting the LLM choose the sources. We will experiment with more approaches like this :)