Proceedings of the International Conference on ICT Application Research
Online ISSN : 2758-9412
会議情報

Security Design and Evaluation of a Citizen- Oriented Generative AI Chatbot Using RAG (Retrieval-Augmented Generation)
*Mitsunobu KAMATA
著者情報
会議録・要旨集 フリー

p. 104-109

詳細
抄録
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.
著者関連情報
© 2025 International ICT Application Research Society
前の記事 次の記事
feedback
Top