Proceedings of the International Conference on ICT Application Research
Online ISSN : 2758-9412
[volume title in Japanese]
Conference information

Security Design and Evaluation of a Citizen- Oriented Generative AI Chatbot Using RAG (Retrieval-Augmented Generation)
*Mitsunobu KAMATA
Author information
CONFERENCE PROCEEDINGS FREE ACCESS

Pages 104-109

Details
Abstract
This study develops and evaluates two Retrieval-Augmented Generation (RAG)-based chatbot systems for municipal information services, offering deployment guidelines for municipalities with different technical capacities. The first system, built with LangChain, allows advanced code-level customization and flexibility for complex configurations and integration with existing infrastructure. The second system, constructed with Dify, is a GUI-based platform that supports rapid deployment and low-code operation. Both systems were equipped with key security features, including detection of personally identifiable information (PII), prevention of prompt injection, and request rate limiting. Evaluation was carried out using input data modeled after real administrative inquiries in simulated scenarios. Findings suggest that LangChain is more effective where strict oversight and detailed management are required, while Dify, despite limited code-level flexibility, excels in speed and ease of maintenance. This makes Dify a practical option for municipalities with limited technical expertise.
Content from these authors
© 2025 International ICT Application Research Society
Previous article Next article
feedback
Top