Whenever you're ready, walk me through how you'd approach this.
Explain conversational AI and how the OOP concepts you use map to building an AI pipeline with RAG, transformers, LLMs, and fine-tuning.
Describe and implement a practical, modular pipeline using classes, interfaces, encapsulation, inheritance or composition, and dependency injection. Include document preprocessing, retrieval, prompt construction, model inference, and evaluation. Explain how the design supports replacing components, testing failures, and fine-tuning a transformer without coupling the entire application.