Hybrid NLP Architecture for Crisis-Aware Chatbot Integrating Emotion Classification and Retrieval-Augmented Legal Response Generation

Authors

  • Sandhya Pant Department of Computer and Electronics, Kantipur Engineering College, Dhapakhel, Lalitpur,Nepal
  • Sneha Ale Department of Computer and Electronics, Kantipur Engineering College, Dhapakhel, Lalitpur,Nepal
  • Prashna Timilsina Department of Computer and Electronics, Kantipur Engineering College, Dhapakhel, Lalitpur,Nepal
  • Shweta Jha Department of Computer and Electronics, Kantipur Engineering College, Dhapakhel, Lalitpur,Nepal

DOI:

https://doi.org/10.3126/injet.v3i2.95508

Keywords:

BERT, Retrieval-Augmented Generation (RAG), Conversational System, Legal and Emotional Support, Domestic Violence, Hybrid Architecture, Classification

Abstract

Survivors of domestic violence frequently face barriers to accessing timely legal and emotional support, underscoring the need for intelligent, accessible assistance systems. This paper presents a legally capable and emotionally aware conversational system designed to classify user-generated text and provide contextually rich responses in the domain of domestic violence. The system employs BERT-based transformer models to perform three layers of classification on pre-processed user input: crisis classification (safe, urgent, or emergency), intent classification (legal or emotional), and emotion classification across seven fine-grained psychological categories. A Retrieval-Augmented Generation (RAG) module then retrieves relevant content from a curated legal knowledge base to ground legal responses in verified documents, reducing hallucination and improving factual reliability. Experimental results demonstrate that the hybrid architecture supports reliable, safety-aware response generation and shows promise as a supportive tool for survivors in crisis situations.

Downloads

Download data is not yet available.
Abstract
29
PDF
1

Downloads

Published

2026-06-18

How to Cite

Pant, S., Ale, S., Timilsina, P., & Jha, S. (2026). Hybrid NLP Architecture for Crisis-Aware Chatbot Integrating Emotion Classification and Retrieval-Augmented Legal Response Generation. International Journal on Engineering Technology, 3(2), 81–97. https://doi.org/10.3126/injet.v3i2.95508