Abstract

A Telegram bot that lets users enter a contact's name and a text file for a chat serves as the project's entry point. The bot turns the conversation data into a structured pandas dataframe after extracting it. The chatbot is then trained using the conversation data and the Microsoft Dialogue GPT model so that it can produce responses resembling those of the selected contact. The model is then deployed to the Hugging Face repository after training is finished, and users are given access to a run.py file. This Python programme interacts with WhatsApp using Selenium to keep track of new messages from the chosen contact. The chatbot concept is applied to construct an appropriate reply when a new message is received, automating the reply procedure. The project's benefits include improved productivity, tailored responses, and easy integration with well-liked messaging platforms. As the chatbot responds to incoming messages in line with the conversational style of the designated contact, users may now concentrate on their activities without the need for frequent manual engagement. The project does, however, have several drawbacks, such as its reliance on the reliability and accessibility of the offered conversation history. Future improvements might use sentiment analysis, context awareness, and advanced natural language processing techniques to overcome these restrictions and improve the effectiveness of the chatbot.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call