The invention relates to the technical field of
artificial intelligence, and discloses a dialogue
interaction method and device, equipment and a medium. The method comprises the steps of obtaining a to-be-replied dialogue text; based on a pre-trained classification model, classifying the dialogue text, and obtaining emotional polarities and theme tags corresponding to the dialogue text; determining a corresponding dialogue strategy based on the emotion polarity and the theme
label; and based on a pre-trained generative pre-training GPT model, determining a target reply text corresponding to the dialogue strategy. The emotion and theme element controllable mode is introduced in the reply
generation process of the dialogue
system, the dialogue of the user is divided into more accurate emotion and theme classification, the corresponding dialogue strategy can be determined according to the emotion and theme classification, the reply generation direction of the dialogue
system is flexibly adjusted, and the interaction experience quality of the dialogue
system is improved.