The rapid growth of e-commerce in Indonesia has increased the demand for intelligent customer service chatbots capable of providing fast and accurate product information. However, most existing studies compare Large Language Models (LLMs) only in academic or medical domains without considering the context of Indonesian-language online stores. This study presents a comparative evaluation of five LLM variants DeepSeek Chat, Gemini 2.5 Flash, Gemini 2.5 Flash Lite, GPT-5 Mini, and GPT-5 Nano integrated within a Retrieval-Augmented Generation (RAG) pipeline using the LangChain framework. The knowledge base was constructed from over 2,000 laptop product entries scraped from Indonesian e-commerce platforms (Tokopedia and Shopee), stored in CSV format and indexed into a FAISS vector store. Evaluation was conducted using 100 standardized test queries across three dimensions: answer accuracy and relevance (F1-score, semantic similarity), response speed (latency), and API cost efficiency. Results show that DeepSeek Chat achieved the highest F1-score of 0.7582 at threshold 0.6 with 58% answer relevance, while Gemini 2.5 Flash Lite delivered the fastest response at 3.90 seconds mean latency and the best cost efficiency ratio. No single model dominated all dimensions simultaneously, forming a Pareto frontier among DeepSeek Chat, Gemini 2.5 Flash, and Gemini 2.5 Flash Lite. These findings provide evidence-based guidance for developers and businesses in selecting the most suitable LLM for RAG-based chatbot deployment in Indonesian e-commerce.
Copyrights © 2026