ciunkos.com/Glossary

Context and prompts

RAG (retrieval-augmented generation)

Finding relevant documents first and putting them into the prompt, so the model answers from them.

A retriever (keyword search, vector search, or both) picks passages; the model answers using them and can cite them. Most RAG problems are retrieval problems: the right passage was never found, so the model could not use it.

Share: LinkedIn · X ·

Related terms

  • Embeddings: Vectors of numbers that place texts with similar meaning close together.
  • Context engineering: Deciding what goes into the model’s context, in what order and when, across a whole task.
  • Hallucination: A fluent, confident answer that is false or not supported by the sources.

← All terms

Need this built, fixed or reviewed?

I build and rescue products with AI coding agents under rules: AI features in production, honest estimates, email that gets delivered.

Przemysław Zalewski

How I work

Przemysław Zalewski · 15+ years shipping software

“a true bias for action” client CTO, public LinkedIn recommendation

All principles and risk levels →