The same question, asked three waysA RAG system answers a question in two steps. A retriever turns the question into a vector, compares it with the vectors of every passage in the documents, and hands the five closest passages to a lan12 min read·skucherenko.hashnode.devOct 2
The answer was at rank 7A RAG system answers a question in two steps: a retriever picks a handful of passages out of the documents, and a language model writes an answer from those passages. When the answer is wrong, one of13 min read·skucherenko.hashnode.devSep 26
Asking a RAG in the wrong languageEvery article in this series so far assumed that the person asking speaks the language of the documents. The SEPA rulebooks my RAG indexes exist only in English, and so did every question in my golden13 min read·skucherenko.hashnode.dev3ASep 18
Swapping every model in a RAGIn the comparison articles (part 1 and part 2) I put my own RAG against five other systems. The models were frozen there on purpose: same embedder, same generator everywhere, so that only the framewor10 min read·skucherenko.hashnode.devSep 14
Improving the scores of a RAGIn the previous articles (part 1 and part 2) I compared my own RAG against five other systems. One of its numbers bothered me since then: recall@5 = 0.60. In plain terms, for 4 questions out of 10 the7 min read·skucherenko.hashnode.devSep 12