Your question is Designing a RAG Pipeline. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
How would you design a RAG pipeline for LLM serving at RBC?
Explain the end-to-end design, including document ingestion, chunking, embeddings, indexing, retrieval, reranking, prompt construction, generation, and serving. Address latency, cost, access control, hallucination, prompt injection, observability, and evaluation. Discuss the assumptions and tradeoffs behind your model, retrieval, and deployment choices.