---
title: "Retrieval Augmented Generation (“RAG”)"
url: "https://ailawframework.com/glossary/retrieval-augmented-generation-rag"
type: "defined_term"
site: "AI Law Framework"
checked: "2026-10-10"
---

# Retrieval Augmented Generation (“RAG”)

> RAG is a technique used in AI and natural language processing that aims to improve the quality of generated text by incorporating external information from various sources.

Canonical page: https://ailawframework.com/glossary/retrieval-augmented-generation-rag  
Checked: 2026-10-10

Site index for agents: https://ailawframework.com/llms.txt

RAG is a technique used in AI and natural language processing that aims to improve the quality of generated text by incorporating external information from various sources.

Source: [Hong Kong Judiciary GenAI Guidelines (Annex)](https://www.judiciary.hk/doc/en/court_services_facilities/guidelines_on_the_use_of_generative_ai.pdf) (checked 2026-10-10)

## Related terms

- [Large Language Model (“LLM”)](https://ailawframework.com/glossary/large-language-model-llm.md)
- [Generative Pre-trained Transformer (“GPT”)](https://ailawframework.com/glossary/generative-pre-trained-transformer-gpt.md)
- [Token](https://ailawframework.com/glossary/token.md)
- [Machine Learning](https://ailawframework.com/glossary/machine-learning.md)
- [Deep Learning](https://ailawframework.com/glossary/deep-learning.md)
- [Data Mining](https://ailawframework.com/glossary/data-mining.md)
