RAG Customer Service @ Humana
Humana hackathon winner 2024

Overview
During the summer after my sophomore year of college, I interned at Humana, a leading health insurance provider, as a software engineering intern. One of the major highlights of my internship was winning Humana's annual hackathon, where I competed alongside and against experienced full-time engineers and other professionals. It was an incredible experience that challenged me to think creatively, collaborate effectively, and build a solution that stood out even among seasoned developers.
Our project was a Retrieval-Augmented-Generation (RAG) based customer service application that answered customers' question about their health insurance plans through a web interface.


Background
As the fourth-largest health insurer in the United States, Humana serves millions of customers, each with unique needs covered under custom insurance plans. These plans are documented in detailed Statements of Benefits (SOBs), which outline coverage terms, limits, and exclusions. When customers have questions about their plans, they typically contact Humana's support agents, who look up the customer's SOB using an ID number and then interpret the relevant sections before responding.
However, this process is time-consuming and error-prone. Agents must manually search through lengthy documents, interpret complex policy language, and explain it to customers in simpler terms. This not only slows down response times but also introduces room for miscommunication and human error, especially when dealing with large volumes of inquiries or nuanced policy questions.
We wanted to build a solution that would reduce friction in the customer support process. While human agents excel at handling complex questions, many customers simply need quick answers to common or straightforward inquiries. Yet, they still have to wait in long queues to speak with an agent. Our idea was to create a self-service portal where users could log in, ask questions about their insurance plans, and instantly receive accurate, personalized responses, all without needing to contact customer support.
Development
We decided to build a web-based application to maximize accessibility and convenience for users. Through the platform, customers could upload their Statement of Benefits (SOB) document and then ask questions directly within a simple, chat-style interface. Behind the scenes, the system used AI-powered document understanding to analyze the uploaded file and generate clear, accurate answers to the customer's questions.
We chose to use modern web technologies to build the application, including TypeScript and Next.js, which allowed us to develop a performant and maintainable full-stack solution.

The answers would be generated via Retrieval-Augmented Generation (RAG) — a technique that combines information retrieval with natural language generation. When a customer uploaded their Statement of Benefits document, the system would first parse and chunk the text into smaller sections, then generate vector embeddings for each chunk. These embeddings were stored in a database for fast semantic search. When the customer later asked a question, the system would convert the query into a vector, retrieve the most relevant chunks from the document, and then pass those chunks to a large language model (LLM) to generate a clear, human-like response grounded in the user's own benefits document.

Development was smooth sailing as I had a team of other fellow interns supporting me. I focused mainly on the frontend design and development of the project while the rest of my team help build the RAG loop.

Reception
After 24 hours of nonstop hacking, including an all-nighter with my team, we presented our project to the entire company, showcasing both the technical implementation and the business value it could bring to Humana. Our demo highlighted how the system could improve customer satisfaction and reduce support overhead through automation. We were thrilled when our project was awarded first place, especially as an all-intern team competing against seasoned engineers and professionals.