lamp.
ResourcesPricingAbout

RAG

RAG, or retrieval augmented generation, is a method where the system first finds relevant passages in your own documents and gives them to the AI to answer from.

What it means

A language model does not know your price list, your return policy or last month's circular. With RAG, the question is first matched against a store of your documents, the best passages are fetched, and the model is told to answer using them. This keeps answers tied to current business material and allows the source to be shown. It works only as well as the documents are kept up to date and the search finds the right passage.

Example

A tile distributor loads its dealer price list and delivery terms. When a dealer asks about the price of a 600 by 600 vitrified tile, the answer quotes the list and cites the page.

Records and checks

  • Record which documents are loaded, their version and the date each was updated.
  • Verify that answers cite a source and that the source says what is claimed.
  • The document owner removes outdated files; a manager samples answers weekly.

Common mistakes

  • Leaving old price lists in the store, so old rates are quoted.
  • Not checking whether the cited passage actually supports the answer.
Did not find your answer?Message the lamp team on WhatsApp. Ask about setup, your records, or anything we have not covered here.Ask us on WhatsApp →