I built a RAG (Retrieval-Augmented Generation) chat system for the pharmaceutical industry that goes beyond text-only responses. It interprets domain queries and responds with precise answers plus dynamically generated charts (bar graphs, trend lines, scatter plots) synthesized from proprietary pharmaceutical data.
The standout piece was shipping an automated chart generation pipeline before ChatGPT had its own chart rendering. The system analyzes structured data from the retrieval step, decides whether a visual would help, and generates the right chart type with proper labels, scales, and annotations.
By grounding responses in curated pharmaceutical knowledge bases instead of relying on general-purpose LLM knowledge, accuracy on domain-specific queries went way up. That matters a lot in pharma, where precision affects patient outcomes and regulatory compliance.