Your question is RAG and Retriever 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).
Explain what RAG (Retrieval-Augmented Generation) is and write a retriever pipeline code snippet for RAG.
Explain the roles of ingestion, chunking, embeddings, vector search, context assembly, and generation. Provide production-quality Python using an approved LLM SDK, and address grounding, citation handling, prompt injection in retrieved content, and failure behavior. Briefly describe how you would evaluate retrieval quality, answer faithfulness, latency, and cost.