Information retrieval
Finding information that meets a need
Selecting and ranking relevant information from a collection of sources.
Information retrieval finds information capable of answering a question. It involves more than a search box: processing documents, building an index, selecting candidates and ordering them all play a part. In a RAG application, this determines which sources the language model receives. A model cannot make a reliable comparison from a missing manual. Measure whether the required information is retrieved before only adjusting the answer prompt. Use realistic questions and record which documents are relevant, so improvements can be checked against evidence rather than judged solely by how convincing an answer sounds.