This invention provides a dialogue
processing method, apparatus, and computer-readable storage medium, belonging to the field of
natural language processing technology. The dialogue
processing method includes acquiring multiple sets of dialogue streams; determining at least one topic boundary based on the
semantics of the multiple sets of dialogue streams; segmenting all dialogue streams into at least two topic segments based on each topic boundary; assigning dynamic weights to memory items in each topic segment, wherein each memory item stores at least one piece of memory information; the dynamic weights are determined at least based on the timeliness of the memory item, its relevance to the current query, and its coherence with the current topic; and, in response to the current dialogue, acquiring multiple candidate memory items from all topic segments, and, based on the dynamic weight of each candidate memory item, filtering and outputting a set of memory items that meets a target length from the multiple candidate memory items.