QualityKiosk Technologies is Now QKTech.
Visit qktech.com
To evaluate and enhance the accuracy, reliability, and performance of the insurer’s GenAI‑powered chatbot by rigorously testing its query understanding, context retrieval, response quality, and RAG‑based SQL generation to ensure a seamless, factual, and customer‑centric experience.
QK, a global leader in AI-powered reliability and quality engineering, collaborated with a leading Indian insurer to optimize the performance of its customer-facing AI-powered chatbot. The chatbot, powered by generative AI complemented with Retrieval-Augmented generation (RAG), aimed to enhance customer experience by providing instant, accurate, and personalized responses to inquiries related to our client’s insurance products and services.
A leading Indian life insurance provider offering term and whole life protection, savings plans for education/marriage goals, retirement income products, and health coverage. The company drives digital transformation through AI and machine learning, deploying chatbots for real-time customer support, automated claims processing, and personalized policy recommendations. Its multi-channel network includes agent partnerships, online platforms, and bancassurance collaborations, supported by regional-language tools and mobile apps to ensure accessibility across urban and rural markets. Focused on innovation, it prioritizes inclusive growth and operational agility.
After thoroughly assessing our client’s requirements and building on our in-house quality engineering of AI framework, we developed a comprehensive plan to assess the chatbot across six key performance dimensions, then deploy a two-phase testing approach to ensure peak performance, accuracy, and continuous improvement.
Chatbot Testing Performance Dimensions: QK’s chatbot testing framework defines six key areas to assess the quality engineering of AI-powered chatbot performance:
This facet of quality engineering of AI deals with assessing the chatbot’s ability to interpret and classify user queries accurately, forming the foundation for delivering accurate and personalized responses.
The RAG-powered AI chatbot was tested for seamless data retrieval from knowledge bases and RDBMS tables, with rigorous evaluation of system integrations like CRM and AI response accuracy for both customer-facing and internal queries.
The final response generated through the interaction of RAG and LLM models required thorough evaluation to assess its accuracy, quality, and relevance to user queries.
Along with its responses, the AI chatbot was expected to maintain a natural and engaging flow, aligned with the brand’s customer-centric tone and style of communication.
To ensure optimal performance, the AI chatbot needed to be tested for managing exceptional cases, involving unexpected inputs, ambiguous queries, and out-of-scope requests.
The AI chatbot’s success depended on its effective integration with the insurer database to pull and display correct data for generating relevant and accurate responses to user queries.
QK tested the functional performance of the Generative AI-powered chatbot using a two-phase testing approach, including test data generation and test evaluation.
Phase 1: Test Data Generation
The test data generation phase was divided into 3 different stages:
Data Asset Creation
This step focused on creating a comprehensive dataset to test the Generative AI-powered chatbot. To accomplish this, we created a test dataset that comprised documents with annotated data points on questions, their corresponding expected answers, and validation data created by an AI data specialist. To ensure comprehensive test coverage, we used appropriate LLM models to generate multiple variations of the initial questions.
The human-preferred validation dataset, designed to provide the guardrails for the chatbot to refine its responses, was structured into three distinct classifications:
Context Retrieval & Response Generation
The generated test data (user queries) was leveraged by an AI engineer to interact with the chatbot. For each user query, the AI engineer performed the following activities:
Test Data Preparation
Conducting the activities to test the chatbot for its retrieval and response efficiencies, the AI engineer complied the test data that included:
Phase 2: Evaluation
The evaluation phase of the AI chatbot testing involved assessing the generated responses using intelligent automation in conjunction with manual verification to ensure scalable, accelerated, and accurate quality engineering. This phase also included testing the SQL queries generated by the chatbot’s RAG system to ensure optimal and reliable AI performance.
AI-driven Evaluation
The first step in this phase used an AI model evaluation platform to calculate the following metrics for each validation set:
Correctness Level Below Benchmark:
The chatbot’s answer correctness accuracy was benchmarked below target, at 89.2%.
High Factual Accuracy:
93.9% of the responses generated were grounded in facts.
Pertinent Context Relevance:
The AI chatbot registered a 94.3% accuracy in retrieving relevant contexts from the documents.
Low Hallucination Rates:
Only 6.1% of responses contained hallucinated information.
Based on the evaluation we made the following recommendations to our client:
Improvement in Answer Correctness: The chatbot generated 5.9% incorrect and 5% partially correct answers, missing the industry benchmark of greater than 90% correctness.
Elimination of Hallucination: We identified several instances of AI hallucination during our evaluation, where the chatbot provided fabricated information outside the scope of the provided documents. This creates a serious risk of customer misinformation, impacting satisfaction and potentially resulting in financial losses due to misrepresentation. We recommended our client prioritize the elimination of these hallucinations to mitigate these risks.
Accelerate Query Responses: The chatbot API took 10 seconds to respond to user queries, missing the industry-set
benchmark of 5 seconds. We recommended our client reduce the query response time to 5 seconds or lower to avoid user frustration and drop-offs.
This case study showcases how QK’s comprehensive and intelligent quality engineering framework empowered a leading insurance company to failproof their AI chatbot performance. By providing detailed recommendations and insights
on key chatbot performance parameters, we helped the client deliver enhanced customer experiences and optimize AI
deployment to meet their business goals. The success of the project underscores the need for rigorous evaluation of RAG systems before deployment.
© By Qualitykiosk. All rights reserved.
Terms / Privacy / Cookies