Back to GPT Image 2 Prompts

Retrieval-Augmented Generation pipeline

Landscape 16:9 academic systems diagram of a RAG pipeline, 6-stage left-to-right flow. (1) 'User query' box with placeh...

PROMPT

Landscape 16:9 academic systems diagram of a RAG pipeline, 6-stage left-to-right flow. (1) 'User query' box with placeholder text 'What are the side effects of drug X?' and a small user silhouette. (2) Hexagonal 'Embedding encoder (BERT-style)', caption 'dense vector d=768'. (3) Stylised database cylinder 'Vector store' with 'Index: 1.2M chunks'; arrow from (2) labeled 'kNN, k=5'. (4) 'Retrieved passages' — stack of 5 doc thumbnails; caption 'top-k chunks + metadata'. (5) Hexagonal hub 'Frozen LLM'; long curved arrow from (1) labeled 'original query' also lands here; arrow from (4) labeled 'retrieved context'. (6) 'Grounded answer' with inline marker '[cite: doc#47]'; caption 'with source citations'. Dashed outline around (2)-(3) labeled 'OFFLINE — built once'. Dashed outline around (4)-(5) labeled 'ONLINE — per query'. Title: 'Retrieval-Augmented Generation pipeline'. Subtitle: 'Lewis et al., 2020'.

Recommended generation
Model
GPT-Image-2
Aspect ratio
16:9
Resolution
2K
Best for
Educational content, data storytelling
Prompt structure

How this prompt is composed — each chip is one phrase. Mix, swap, or remove chips to make the look your own.

  1. Landscape 16:9 academic systems diagram of a RAG pipeline
  2. 6-stage left-to-right flow. (1) 'User query' box with placeholder text 'What are the side effects of drug X?' and a small user silhouette. (2) Hexagonal 'Embedding encoder (BERT-style)'
  3. caption 'dense vector d=768'. (3) Stylised database cylinder 'Vector store' with 'Index: 1.2M chunks'
  4. arrow from (2) labeled 'kNN
  5. k=5'. (4) 'Retrieved passages' — stack of 5 doc thumbnails
  6. caption 'top-k chunks + metadata'. (5) Hexagonal hub 'Frozen LLM'
  7. long curved arrow from (1) labeled 'original query' also lands here
  8. arrow from (4) labeled 'retrieved context'. (6) 'Grounded answer' with inline marker '[cite: doc#47]'
  9. caption 'with source citations'. Dashed outline around (2)-(3) labeled 'OFFLINE — built once'. Dashed outline around (4)-(5) labeled 'ONLINE — per query'. Title: 'Retrieval-Augmented Generation pipeline'. Subtitle: 'Lewis et al.
  10. 2020'.
Try a variation

One click to remix this prompt with a different look or aspect ratio.

View original source
Share

You may also like

More templates in the same style

Frequently asked questions

Which AI model is used?

All templates on this page are designed for and tested with GPT-Image-2. You can copy the prompt and run it elsewhere, but quality and text rendering may vary on other models.

How does the Remix button work?

Clicking Remix opens our generator with the prompt, aspect ratio, and resolution prefilled. You can edit any part of the prompt, swap the size, or rerun the generation as many times as you like.

Why does my generation look different from the preview?

Every run is a fresh generation — variations in composition, lighting, and detail are expected. To stay closer to the preview, keep the prompt verbatim, lock the same aspect ratio, and run a few seeds.

Can I tweak the prompt?

Absolutely — that's the point. Use the Prompt structure card below to see how the prompt is composed, then add, remove, or swap phrases to dial in your own look.