The application discloses a dialogue
response method based on a related theme and related products. In the method, a text to be responded to input by a target object is acquired; a target theme of the text to be responded to is determined; if a related theme related to the target theme is determined from historical themes of historical dialogue texts, a related dialogue text corresponding to the related theme is acquired; and a reply text corresponding to the text to be responded to is generated based on the text to be responded to, the related dialogue text and a preset prompt text through a question and answer model. In this way, the related dialogue text having a correlation with the text to be responded to input by the target object is determined through the correlation between the target theme and the related theme, the previous related dialogue text is combined when replying to the text to be responded to, the generated reply text is of higher quality, has coherence and is personalized and close to user demand, the accuracy of dialogue response is improved, and user experience is improved.