Intent Recognition and slot filling for ecommerce chatbot
Sapana Bhirud1, Nikhil Jadhav2, Sandesh Pansare3, Ayush Kadam4, Avinash Adsare5
1Assistant Professor, Department of Artificial Intelligence and Machine Learning, P.E.S. Modern College of Engineering, Savitribai Phule Pune University, India
234 Department of Artificial Intelligence and Machine Learning, P.E.S. Modern College of Engineering, Savitribai Phule Pune University, India
-----------------------------------------------------------------------------------------------------------------------------------------------
Abstract: With the continuous evolution of natural language processing (NLP), conversational agents have become pivotal in enhancing user engagement and satisfaction in the e-commerce domain. This paper presents a comprehensive study and implementation of intent recognition and slot filling techniques tailored for an e-commerce chatbot. Leveraging a dataset of 8,000 samples, we employed a Convolutional Neural Network (CNN) combined with Long Short-Term Memory (LSTM) networks for intent recognition, achieving an accuracy of 87%. For slot filling, we utilized the Bidirectional Encoder Representations from Transformers (BERT) model, also attaining an accuracy of 87%. The chatbot seamlessly integrates with an e-commerce database, using OpenAI's GPT-3 to generate natural language responses from query results. Our system demonstrates significant advancements in processing user queries, generating precise database queries, and providing coherent and relevant responses, thereby enhancing the overall user experience. This work aims to equip researchers and practitioners with insights into the methodologies and challenges in developing sophisticated e-commerce chatbots, fostering further innovation in this field.
Key Words: Intent Recognition, Slot Filling, Convolutional Neural Network (CNN), Long Short-Term Memory (LSTM), Bidirectional Encoder Representations from Transformers (BERT), GPT-3, Natural Language Understanding (NLU), Chatbot