“What torque for the M8 flange bolts on the P-200?” → “Tighten M8 flange bolts to 25 N·m.”
The cited card, and the line it is cited forCrane, fork, cup and fingers: the retriever fetching the chunkDrawers and cards: the index, one card per chunk, one line per sentenceRetrieval-augmented generation for technical documentation, drawn as a card catalogue. Each card is one chunk of a manual and each printed line one sentence (5 cards indexed, 32 to a drawer). For a query, every line is scored by cosine similarity of its words with the query's, weighted 0.8, plus 0.2 for the card's document title; the best line is cited. The crane draws that card's drawer out 120 mm with its suction cup, lifts the card out between its fingers and stands it under the lamp, where the cited line is highlighted for the answer to quote; then it files the card back. Card positions, line lengths and scores come from the same model as the readout.