BuddyBot

所属分类:GPT/ChatGPT
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2023-10-23 09:46:42
上 传 者sh-1993
说明:  Buddy Bot是一个有用的聊天机器人,它使桌面用户能够进行对话、提问、通过游戏娱乐自己...,
(Buddy Bot is a useful chatbot which enables the desktop users to have a conversation, ask questions, entertain themselves through games, jokes,quotes etc .From serving a specific purpose, answering business related questions, acting as a personal assistant to being a 24/7 available chatting friend.)

文件列表:
chatgui3.py (39688, 2023-12-16)
intentsbot.json (27048, 2023-12-16)
train_chatbot.py (3365, 2023-12-16)

# BuddyBot Buddy Bot is a useful chatbot which enables the desktop users to have a conversation, ask questions, entertain themselves through games, jokes,quotes etc .From serving a specific purpose, answering business related questions, acting as a personal assistant to being a 24/7 available chatting friend. The coding part of Buddy Bot is fully worked with python. This includes many library functions like NLTK, TensorFlow, NumPy and a few others. Json is a python package that helps the query data set to get parsed by the Python code. This json file has the query with different tags. Each tag has a set of patterns and responses. The GUI is also developed using a Python package called tkinter. Tkinter is the standard interface for GUI creations. Here the proposed system works on a manually developed Chatbot querying dataset and it produces relevant responses based on the pre-defined repository. Basically Keras is a minimalist Python library that we use for deep learning. Here a Deep Learning model from keras called Sequential is used for implementing the model. Data is considered as the basic key to a chatbot system. At a particular interval of time, the data set is to be updated again and again and should retrain the model to improve accuracy. Otherwise the data gets outdated. After dataset creation, various preprocessing tasks are carried out for cleaning the data to remove any content that does not have any useful information in them. Task of preprocessing is done here in the complete dataset which contains various user input queries and responses and also the same preprocessing tasks are carried out when a particular input is given by the user. After cleaning the data, It should be converted into such a way a machine can understand. For that purpose we use this feature generation technique. Here the concept of Bag Of Words(BOW) is considered for generating features from the input text. In this model, a text such as a sentence or even a document is represented as the bag (multiset) of its corresponding words, without considering the grammar and even word order but keeping multiplicity. The output from this feature generator will be given as the input to the deep learning Model to predict the response. The five steps used to create the chatbot: 1. Import and load the data file 2. Preprocess data 3. Create training and testing data 4. Build the model 5. Predict the response

近期下载者

相关文件


收藏者