Patent attributes
Provided are a man-machine dialogue method and system, computer device and medium. A specific implementation of the method includes: obtaining a current dialogue sentence input by a user; using the current dialogue sentence and a goal type and a goal entity of a preceding dialogue sentence obtained before the current dialogue sentence as an input of a first neural network module of a neural network system, and generating the goal type and the goal entity of the current dialogue sentence by performing feature extraction through the first neural network module; and using the current dialogue sentence, the goal type and the goal entity of the current dialogue sentence and knowledge base data as an input of a second neural network module of the neural network system, and generating a reply sentence by performing feature extraction and classification through the second neural network module.