Saved in:
Bibliographic Details
Main Authors: Landolsi, Hamza, Letaief, Kais, Taghouti, Nizar, Abdeljaoued-Tej, Ines
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2501.13993
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917901432258560
author Landolsi, Hamza
Letaief, Kais
Taghouti, Nizar
Abdeljaoued-Tej, Ines
author_facet Landolsi, Hamza
Letaief, Kais
Taghouti, Nizar
Abdeljaoued-Tej, Ines
contents The introduction of new features and services in the banking sector often overwhelms customers, creating an opportunity for banks to enhance user experience through financial chatbots powered by large language models (LLMs). We initiated an AI agent designed to provide customers with relevant information about banking services and insights from annual reports. We proposed a hybrid Customer Analysis Pipeline Retrieval-Augmented Generation (CAPRAG) that effectively addresses both relationship-based and contextual queries, thereby improving customer engagement in the digital banking landscape. To implement this, we developed a processing pipeline to refine text data, which we utilized in two main frameworks: Vector RAG and Graph RAG. This dual approach enables us to populate both vector and graph databases with processed data for efficient retrieval. The Cypher query component is employed to effectively query the graph database. When a user submits a query, it is first expanded by a query expansion module before being routed to construct a final query from the hybrid Knowledge Base (KB). This final query is then sent to an open-source LLM for response generation. Overall, our innovative, designed to international banks, serves bank's customers in an increasingly complex digital environment, enhancing clarity and accessibility of information.
format Preprint
id arxiv_https___arxiv_org_abs_2501_13993
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle CAPRAG: A Large Language Model Solution for Customer Service and Automatic Reporting using Vector and Graph Retrieval-Augmented Generation
Landolsi, Hamza
Letaief, Kais
Taghouti, Nizar
Abdeljaoued-Tej, Ines
Computation and Language
Artificial Intelligence
Information Retrieval
The introduction of new features and services in the banking sector often overwhelms customers, creating an opportunity for banks to enhance user experience through financial chatbots powered by large language models (LLMs). We initiated an AI agent designed to provide customers with relevant information about banking services and insights from annual reports. We proposed a hybrid Customer Analysis Pipeline Retrieval-Augmented Generation (CAPRAG) that effectively addresses both relationship-based and contextual queries, thereby improving customer engagement in the digital banking landscape. To implement this, we developed a processing pipeline to refine text data, which we utilized in two main frameworks: Vector RAG and Graph RAG. This dual approach enables us to populate both vector and graph databases with processed data for efficient retrieval. The Cypher query component is employed to effectively query the graph database. When a user submits a query, it is first expanded by a query expansion module before being routed to construct a final query from the hybrid Knowledge Base (KB). This final query is then sent to an open-source LLM for response generation. Overall, our innovative, designed to international banks, serves bank's customers in an increasingly complex digital environment, enhancing clarity and accessibility of information.
title CAPRAG: A Large Language Model Solution for Customer Service and Automatic Reporting using Vector and Graph Retrieval-Augmented Generation
topic Computation and Language
Artificial Intelligence
Information Retrieval
url https://arxiv.org/abs/2501.13993