The invention provides an intention recognition method and device,
electronic equipment, a storage medium and a program product, and relates to the technical field of
artificial intelligence. The method comprises the steps that a
question text of a user is input into a small model, the confidence degree of at least one first user intention output by the small model is determined, and if the confidence degree of a target user intention is larger than a set confidence degree threshold value, the target user intention is recognized; if yes, determining an intention transfer
score for transferring the second user intention of the last round of dialogue to the target user intention; judging whether the intention transfer
score is greater than a set intention transfer
score threshold, and if yes, outputting a target user intention; and if not, inputting the
question text into the
large model, and outputting a third user intention predicted by the
large model. According to the method, secondary prediction is performed by introducing a
large model, so that the intention recognition accuracy is improved; and through an intention transfer score threshold judgment mechanism, the context understanding capability of the
system is enhanced, the naturalness and consistency of dialogues are improved, and the
system can process multiple rounds of interaction of the user more intelligently.