# RAG architecture — RAG

Source: https://www.geekswithgeeks.com/en/rag/rag-01

> Apply RAG architecture with clear evidence.

## Understand RAG architecture

For **RAG architecture**, begin with the problem it solves. Identify the inputs, constraints, and observable outcome before choosing an implementation.

## See the workflow

Use this path while practising **RAG architecture**: understand, act, verify, and improve.

![Workflow for RAG architecture.](assets/figures/rag/section-1-map.svg) — Figure 1.1 — A repeatable workflow.

## A useful comparison

**RAG architecture** is like a route plan: it keeps each step connected to a destination.

Check your reasoning.

**Quiz:** What is the best first step for RAG architecture?

- [x] Define the goal and constraints.
- [ ] Copy an unverified example.
- [ ] Skip measurement.

*Answer:* Define the goal and constraints.. A clear goal and constraints make decisions reviewable.
