Glossary
RAG (retrieval-augmented generation)
The model answers from documents fetched at question time instead of only from training: search, add the top passages to the context, generate. The fetched text is untrusted input, so a poisoned document can carry a prompt injection.