Enhancing Chatbot Intelligence Through Narrative Memory Structures





Through the use of narrative memory structures—a cutting-edge technique intended to provide chatbots context awareness and conversational coherence—we sought to improve the intelligence of chatbots. We carefully designed our process with the goal of immediately incorporating narrative data into the chatbot's memory architecture. In order to find narrative patterns, this required evaluating and classifying previous exchanges. The narrative patterns were then saved and used to guide the chatbot's answers. The incorporation of narrative memory structures into the chatbot resulted in a significant improvement in conversational coherence and relevance, as per our study's key findings. Through the use of its narrative memory, which stores earlier encounters, the chatbot shown an impressive capacity to sustain the conversation's flow and provide more contextually relevant replies. In addition, the chatbot demonstrated improved understanding of human intentions, correctly identifying underlying motives and preferences. In addition, comments produced by integrating narrative memory structures were highly customized in addition to being accurate. By utilizing the extensive history of previous exchanges, the chatbot was able to customize replies to each user's unique situation, building a closer relationship and rapport with them. All things considered; our study highlights how narrative memory processes can revolutionize chatbot intelligence. We can improve chatbots' conversational capabilities and enable more meaningful human-computer interactions by giving them the capacity to extract narrative information from previous conversations. This opens the door to a new era of chatbot designs that put the needs of users, contextuality, and empathy first, changing the game for conversational AI in the process.

Author Biographies

Muhammad Azam, 1Assistant Professor, Department of computer science, institute of southern Punjab, Multan, Pakistan

Assistant Professor, Department of computer science

Lubaina Zafar, Punjab Education department of Pakistan

Punjab Education department of Pakistan

Tanveer Rafiq, Department of computer science, institute of southern Punjab, Multan, Pakistan

Lecturer, Department of computer science, Cadet College Jhang, Pakistan




How to Cite

Muhammad Azam, Lubaina Zafar, Tanveer Rafiq, Zafar, S., Rafiq, U., & Adnan, M. (2024). Enhancing Chatbot Intelligence Through Narrative Memory Structures. The Asian Bulletin of Big Data Management, 4(02), Data Science 4(2),99–118. https://doi.org/10.62019/abbdm.v4i02.154