Prompt and instructions
Define the task, role, constraints and output format.
LLMs interpret and generate language. They should not be confused with complete search engines, live databases, retrieval systems or autonomous agents.
Training can encode patterns, associations and factual information in model parameters. The knowledge may be incomplete, stale or difficult to access precisely. A model can also generate plausible language without sufficient evidence.
Products therefore add retrieval, tools, system instructions, safety controls, memory and user context around the model. The resulting application is larger than the LLM itself.
Define the task, role, constraints and output format.
Contains the conversation, retrieved passages, tool results and other information available now.
Selects outside documents, passages or records for the question.
Search, calculate, browse, query databases or perform authorized actions.
Controls citations, links, warnings, memory, personalization and user confirmation.
A public website should not attempt to “speak to the LLM” through hidden instructions or unnatural text. It should publish accurate, accessible evidence that search and retrieval products can discover and interpret.
The model may summarize a small passage rather than the whole page. Clear local context, explicit subjects and nearby limitations reduce the risk of a detached passage becoming misleading.
A practical distinction among AI systems, models, inputs, inference, outputs, autonomy and adaptiveness.
The original RAG paper combining parametric generation with retrieved non-parametric memory.
Cross-sector guidance for governing, mapping, measuring and managing generative-AI risk.
Open the original source at National Institute of Standards and Technology →
A detailed explanation of RAG, the original architecture, modern pipelines, failure modes and the boundary between publishers and AI-product operators.
An explanation of the OECD AI-system definition and the differences among models, complete systems, inputs, inference, outputs, autonomy and adaptiveness.
A guide to agent loops, browser interaction, accessible controls, confirmation, prompt injection, permissions and safe task completion.
A practical guide to lexical, semantic, hybrid, graph and structured retrieval, failure modes, passage design and evaluation.