System Design For Rag Application