Font Size: a A A

The Design And Implementation Of Dialogue Robot Based On Knowledge Graph

Posted on:2022-06-05Degree:MasterType:Thesis
Country:ChinaCandidate:H T DingFull Text:PDF
GTID:2518306569496604Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Modern society is changing with each passing day,and artificial intelligence technology has become a difficult point and hot spot in the research of this times.In order to follow the trend of development and realize the better implementation of artificial intelligence technology,the field of human-computer interaction should first be paid attention to.In this field,intelligent chat robots are the top priority,so the design and implementation of a high-level intelligent chat robot is the core content of the current human-machine dialogue field.Based on the main methods of current chatbot implementation: retrieval and generative methods,the paper analyzes and sorts out related technical research.On the basis of previous studies,the paper comprehensively considers the advantages and disadvantages,and adopts the complementary method of retrieval and generative dialogue to design and implement chatbots.In the retrieval-based dialogue part,knowledge graph technology is used.This is a relatively new data storage form.It is mainly used in search engines to search for answers.It can speed up the query and generation of answers.It is very suitable for acting as the knowledge base of a chat robot.In the generativebased dialogue part,the paper adopts the generative dialogue model of Transformer,which makes up for the shortcomings of the method based on retrieval formula and increases the diversity of the replies of the chatbot.The paper innovatively combines retrieval-based dialogue and generativebased dialogue,taking the advantages of both,and avoiding the disadvantages of the two,which is a mature design idea.In the running state,the chat bot can adopt different answer strategies for different questions of the user s,thereby generating completely different replies.In addition,for different users,chat bots can also identify their identities and react differently.The above performance can meet the basic requirements for the dialogue function of a chat robot.The design and implementation of the intelligent chat robot based on the knowledge graph conforms to the current development trend in the field of artificial intelligence technology.The entire process of designing and implementing chatbots can also prove that an intelligent cha t dialogue system requires the support of multiple technologies.The front pages of the chat bot can be designed with the help of We Chat applets,which reduces development costs and facilitates later maintenance work;establishing a corresponding knowledge graph in neo4 j can increase the query speed of the system,thereby increasing the response speed of the chat bot to generate dialogue;the establishment of intelligent dialogue depends on the classification of questions and the matching of templates,which belong to the classification of machine learning;the Transformer dialogue model based on deep learning can handle a large number of unexpected user questions;and in order to be able to answer the user's history to respond to the chat information,it needs to be saved in the local database for query.A variety of technologies assist each other and combine with each other to finally complete the design and implementation of a chat robot.
Keywords/Search Tags:Chatbots, Knowledge Graph, Retrieval dialogue, Generative dialogue
PDF Full Text Request
Related items