RAG pipeline development