Word of the Day
Retrieval-Augmented Generation (RAG)
RAG feeds the model relevant documents at query time so its answer is grounded in your source data, not just its training.
Get it freeRetrieval-augmented generation (RAG) is a technique where, before answering, the system fetches relevant passages from your documents or knowledge base and hands them to the model as context. The model then answers from that material instead of relying only on what it memorized in training.
RAG is how AI assistants answer questions about your private files, recent events, or a specific handbook accurately. It reduces hallucination and keeps answers current, but it depends on retrieving the right passages — poor retrieval yields poor answers even with a great model. For a lightweight version, you can paste the source into the prompt yourself and instruct the model to answer only from it.
Related: hallucination · context window · embeddings · fine tuning
One of these every weekday
Three minutes. One prompt, one word, one skill. You're now better at AI than you were yesterday.
Free. All terms