The invention provides a man-
machine conversation method, a man-
machine conversation device, a storage medium and a
computer program product. The method comprises the steps of determining a current conversation theme and current
utterance information of a user; determining a current
utterance representation vector of the user according to the current
utterance information; in combination with thecurrent utterance information and the current utterance representation vector, performing graph reasoning calculation on the heterogeneous
knowledge graph corresponding to the current dialogue theme,and selecting current knowledge corresponding to the current utterance information from the heterogeneous
knowledge graph; acquiring current utterance information according to the current utterance information and current knowledge; generating a reply statement corresponding to the current statement, wherein the heterogeneous
knowledge graph is created on the basis of structured knowledge and unstructured knowledge and can generate reply statements with rich contents. In addition, the accuracy of knowledge selection can be improved by adopting a graph
reasoning algorithm, so that the knowledgeselection process has very good
interpretability and generalization ability. Meanwhile, the dependence of the whole scheme on corpora with labels is reduced.