EXPLORING RAG CHATBOTS: A DEEP DIVE INTO ARCHITECTURE AND IMPLEMENTATION