Seatrium interview question

How would you design a RAG System