A Modular Retrieval-Augmented Conversational AI Chatbot System with Integrated Recommender Engine Using Local LLMs

Recent advancements in large language models (LLMs) and natural language processing (NLP) have enabled more capable conversational AI systems. However, challenges such as hallucinations, limited context retention, and poor personalization persist. This study presents a modular, privacy-preserving conversational AI framework that operates entirely on local infrastructure to address these limitations. The proposed system integrates a Retrieval-Augmented Generation (RAG) architecture using LangChain, with semantic search powered by FAISS vector indexing. Text preprocessing is performed via NLP pipelines, and document embeddings are generated using locally hosted models through the Ollama runtime. At query time, relevant content is retrieved from user-provided documents and web inputs to ground responses in factual context. A hybrid recommender system further enhances personalization by suggesting related content based on semantic similarity and interaction history. The framework includes both a Flask-based API and a command-line interface, offering deployment flexibility. Evaluation demonstrates the system’s ability to generate accurate, contextually grounded responses with low computational overhead. By avoiding reliance on cloud services, the framework ensures data privacy without compromising performance. This research contributes a scalable blueprint for secure, responsive conversational AI. Future work will focus on multi-document handling, real-time interaction, and deeper personalization to improve adaptability and user engagement.

Authors

Institutions

Publication Details

Journal
Cureus Journal of Computer Science.
Published
2025-07-13
DOI
https://doi.org/10.7759/s44389-025-06053-3
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Modular Retrieval-Augmented Conversational AI Chatbot System with Integrated Recommender Engine Using Local LLMs

Narendra Reddy, Brojo Kishore Mishra, Manas Ranjan Patra
Cureus Journal of Computer Science.
Topic Modeling
article

A Modular Retrieval-Augmented Conversational AI Chatbot System with Integrated Recommender Engine Using Local LLMs

Narendra Reddy, Brojo Kishore Mishra, Manas Ranjan Patra
article en

Abstract

Recent advancements in large language models (LLMs) and natural language processing (NLP) have enabled more capable conversational AI systems. However, challenges such as hallucinations, limited context retention, and poor personalization persist. This study presents a modular, privacy-preserving conversational AI framework that operates entirely on local infrastructure to address these limitations. The proposed system integrates a Retrieval-Augmented Generation (RAG) architecture using LangChain, with semantic search powered by FAISS vector indexing. Text preprocessing is performed via NLP pipelines, and document embeddings are generated using locally hosted models through the Ollama runtime. At query time, relevant content is retrieved from user-provided documents and web inputs to ground responses in factual context. A hybrid recommender system further enhances personalization by suggesting related content based on semantic similarity and interaction history. The framework includes both a Flask-based API and a command-line interface, offering deployment flexibility. Evaluation demonstrates the system’s ability to generate accurate, contextually grounded responses with low computational overhead. By avoiding reliance on cloud services, the framework ensures data privacy without compromising performance. This research contributes a scalable blueprint for secure, responsive conversational AI. Future work will focus on multi-document handling, real-time interaction, and deeper personalization to improve adaptability and user engagement.

Cureus Journal of Computer Science.
National Institute of Science and Technology (IN), Berhampur University (IN)
Quality Education
Openalex Percentile: Top 92%
Topic Modeling
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.