The present invention relates to a method and apparatus for backtracking a public scene conversation during a multi-turn conversation, and to the field of artificial intelligence technology. According to an aspect, a method for backtracking a public scene conversation during a multi-turn conversation may include: in response to receiving an inquiry sentence, determining a business scene according to the inquiry sentence; Entering a business scene and a corresponding first dialog node tree; If it is determined that the parameter verification dialog node should enter the public scene by verifying the related parameters according to the parameter verification dialog node of the first dialog node tree, the parameter verification dialog node is stored, moves to the public scene, and a second dialog node of the public scene Entering the tree; Collecting user information through a second dialog node tree, and if the collection is successful, determining whether or not a backtracking condition is met; And if the backtracking condition is met, returning to the work scene according to the stored parameter verification dialog node, and continuously performing other dialog logic processing of the work scene. The above embodiment realizes automatic backtracking of public scene dialogue in multi-turn dialogue, reduces system threshold, complexity, maintenance cost, and improves immediacy, effectiveness and accuracy.
展开▼