論文

基本情報

氏名 鎌田 光宣
氏名(カナ) カマタ ミツノブ
氏名(英語) KAMATA, Mitsunobu
所属 人間社会学部
職名 教授
researchmap研究者コード
researchmap機関

題名

Security Design and Evaluation of a Citizen- Oriented Generative AI Chatbot Using RAG (Retrieval-Augmented Generation)

単著・共著の別

単著

概要

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.

発行雑誌等の名称

The 3rd International Conference on ICT Application Research

巻・号・掲載ページ(移行用)

発行又は発表の年月

2025/11