Retrieval-augmented generation (RAG)
Retrieval gives a model relevant material at answer time.
What is it?
Retrieval gives a model relevant material at answer time.
What is it used for?
Answer from documentation, policy or an internal knowledge base.
How does it work?
Search allowed sources, select passages and use them as context.
What does it need?
Searchable, maintained sources, retrieval and access controls; a vector database is optional.
What can it not do?
May retrieve stale or irrelevant passages. Verify citations.
How does it fit together?
Often used with, but not required:
When do I need it?
When facts depend on documents outside the training data.
When can I skip it?
When a direct lookup returns the exact answer.
Security and privacy
Enforce document permissions before retrieval and treat retrieved instructions as untrusted.
Practical example
Find the current returns policy and cite the relevant paragraph.
Tools and providers
| Provider and profile | Type | Price status | Data location |
|---|---|---|---|
| Qdrant | Editorial reference | Not verified | Not verified |
| Firecrawl | Editorial reference | See dated listing | Not verified |
Examples, not a ranking. See each profile for details and sources.
Affiliate links and redirects
Wiki links go to neutral profiles. Those profiles may have disclosed affiliate links, which do not affect order or evidence.
Source ·