Complete Guide to RAG Pipeline Architecture