Skip to content
Review Open access

Development and Query Analysis of an LLM-Powered Police Chatbot with Expert Accuracy Evaluation

Jul 2026 · INTERNATIONAL JOURNAL OF MATHEMATICS AND COMPUTER RESEARCH · Vol 14 · 0 citations

TL;DR

A novel police public service chatbot built on the Laravel framework, integrating the Google Gemini API with Information Retrieval (IR) methodologies and an official SOP database is presented, which effectively combines the conversational fluency of LLMs with the strict procedural precision necessary for robust public service administration.

Abstract

Although Conversational AI significantly improves the delivery of public information, Large Language Models (LLMs) frequently face challenges in adhering strictly to Standard Operating Procedures (SOPs) and rarely leverage interaction logs for strategic analysis. To overcome these limitations, this study presents a novel police public service chatbot built on the Laravel framework, integrating the Google Gemini API with Information Retrieval (IR) methodologies and an official SOP database. The system processes user inquiries through text preprocessing, TF-IDF weighting, and Cosine Similarity to extract relevant documents, guaranteeing responses that are both contextually accurate and SOP-compliant. Furthermore, it systematically records conversation logs to analyze public needs and trends. Comprehensive evaluation via Black Box testing, IR metrics, and qualitative reviews demonstrated superior performance. The proposed system achieved an accuracy of 95.42%, outperforming rule-based (82.14%), standard TF-IDF (89.72%), and baseline Gemini (93.41%) approaches. It also received excellent satisfaction ratings from domain experts (4.83/5) and a cohort of 100 citizens (4.73/5). In conclusion, this architecture effectively combines the conversational fluency of LLMs with the strict procedural precision necessary for robust public service administration.

Read PDF

Similar papers

Review 2026

AI-Based Chatbots: A Comprehensive Study of Architecture, Applications, Performance, Challenges, Ethics, and Future Perspectives

Artificial intelligence (AI) chatbots powered by natural language processing (NLP) have transformed human-computer interaction across sectors such as e-commerce, healthcare, and customer service. This paper reviews the evolution of chatbot technology, with a particular focus on the components that constitute modern sys...

S. Nalawade, H. Tapase, Shreya Jadhav · 0 citations
Open access Aug 2026

Development of a Chatbot Based on Natural Language Processing and Multinomial Naïve Bayes for Optimising Academic Administrative Services in Higher Education

The transformation of academic administrative services in higher education requires intelligent systems to automate routine information delivery. This study presents a web-based chatbot using Natural Language Processing (NLP) and the Multinomial Naïve Bayes (MNB) algorithm to enhance administrative services. The system...

Rahmalia Syahputri, Ammar Ismail Kochan, Dika Tondo Widakdo · 0 citations
Open access Aug 2026

Context-Aware Large Language Model for Customer Support Chatbots

The results show that the RAG architecture provides a scalable alternative for creating precise, contextually grounded conversational agents, thereby mitigating some of the main drawbacks of LLMs.

Rabia Shabbir, K. Talpur, Shakeel Ahmad · 0 citations
Open access 2026

Comparative Evaluation of Prompt Engineering Configurations and Open-Source Large Language Models for Phishing Email Detection

Overall, the results show that prompt configuration and model choice jointly influence phishing detection performance, false-alarm rates, output reliability, and local processing efficiency.

Naavin A/L Rajeswaren, Agus Hartoyo, Farhad Nadi · 0 citations
Open access Sep 2026

Development of an Academic Chatbot Based on Natural Language Processing for Student Information Services at Universitas Bina Darma

Purpose: Repetitive academic inquiries and substantial linguistic variation in informal Indonesian student messages can reduce the consistency and timeliness of university information services. This study develops and evaluates an academic chatbot for student information services at Universitas Bina Darma through Whats...

Muhammad Arif Rahmad Syahputra, Widyanto, Muhammad Nasir · 0 citations
Open access Sep 2026

A Retrieval-Augmented Multilingual Chatbot for Intelligent College Information Services

The experimental results obtained were 92% response accuracy, 90% retrieval relevance, 1.8 s response time on average, and 91% user satisfaction, thus proving the efficiency of the suggested architecture in providing reliable and scalable academic information services.

Arun Babu P., P. Sree, Lingala Anusha et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.