The invention discloses a retrieval type personalized conversation method and a
system applying the method through a method in the field of
artificial intelligence processing. The method comprises the following steps: constructing a personalized style matching module to obtain a style matching
feature vector gS (q, r, H); designing a user portrait matching module depending on the current question, and obtaining a user portrait matching vector gP (q, r, H) to measure the consistency between a user portrait and an answer candidate; and finally, combining the style matching
feature vector gS (q, r, H) and the user portrait matching vector gP (q, r, H) through a fusion module to calculate a final matching
score, and returning a candidate reply with the highest matching
score. According to the method, modeling is carried out on
personalization of the user from the conversation history of the user, the mutual relation between the
speaking style of the user and the preference of the user is mined, the source of the user personalized information learned by the model can be distinguished, and finally the two parts of user personalized information are fused to sort the candidate replies, so that the most suitable personalized reply is obtained.