Text this: Systematic Analysis of Retrieval-Augmented Generation-Based LLMs for Medical Chatbot Applications