Implementing Generative AI as First-Line Support : Evaluating Fine-Tuning, Retrieval-Augmented Generation, and Prompt Engineering for Domain-Specific Chatbots

This thesis explores how generative AI can be implemented as first-line support in a small or medium-sized enterprise (SME), focusing on practical strategies for adapting large language models (LLMs) to company-specific needs. Conducted in collaboration with BM System, the study evaluates three adaptation methods: fine-tuning, Retrieval-Augmented Generation (RAG), and prompt engineering, using open-source models, with benchmarking against the closed-source GPT-4o-mini. Through a combination of automatic metrics (ROUGE), LLM-based assessments, and manual user surveys, the study finds that RAG, especially when paired with prompt engineering, provides the most scalable and effective solution for SMEs with limited technical resources. Fine-tuning enables domain adaptation but is constrained by data quality and hardware demands, while closed-source models outperform open-source alternatives but raise issues regarding cost, privacy, and control. The results lead to three implementation strategies, tailored to different organizational requirements. Importantly, the study emphasizes that creating value with AI in customer support is not only a technical challenge but also requires a critical understanding of the technology’s role and limitations, acknowledging that human expertise remains central to effective support. With a carefully chosen approach and critical reflection, generative AI can serve as a valuable complement to customer support in SMEs.

Institutions

Publication Details

Journal
KTH Publication Database DiVA (KTH Royal Institute of Technology)
Published
2025-01-01
Primary Topic
AI in Service Interactions
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Implementing Generative AI as First-Line Support : Evaluating Fine-Tuning, Retrieval-Augmented Generation, and Prompt Engineering for Domain-Specific Chatbots

KTH Publication Database DiVA (KTH Royal Institute of Technology)
AI in Service Interactions
article

Implementing Generative AI as First-Line Support : Evaluating Fine-Tuning, Retrieval-Augmented Generation, and Prompt Engineering for Domain-Specific Chatbots

article en

Abstract

This thesis explores how generative AI can be implemented as first-line support in a small or medium-sized enterprise (SME), focusing on practical strategies for adapting large language models (LLMs) to company-specific needs. Conducted in collaboration with BM System, the study evaluates three adaptation methods: fine-tuning, Retrieval-Augmented Generation (RAG), and prompt engineering, using open-source models, with benchmarking against the closed-source GPT-4o-mini. Through a combination of automatic metrics (ROUGE), LLM-based assessments, and manual user surveys, the study finds that RAG, especially when paired with prompt engineering, provides the most scalable and effective solution for SMEs with limited technical resources. Fine-tuning enables domain adaptation but is constrained by data quality and hardware demands, while closed-source models outperform open-source alternatives but raise issues regarding cost, privacy, and control. The results lead to three implementation strategies, tailored to different organizational requirements. Importantly, the study emphasizes that creating value with AI in customer support is not only a technical challenge but also requires a critical understanding of the technology’s role and limitations, acknowledging that human expertise remains central to effective support. With a carefully chosen approach and critical reflection, generative AI can serve as a valuable complement to customer support in SMEs.

KTH Publication Database DiVA (KTH Royal Institute of Technology)
Uppsala University (SE)
Industry, innovation and infrastructure
Openalex Percentile: Top 72%
AI in Service Interactions
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.