MetLife interview question

How did you design a rag based solution