Digital patient dialogue generation method and system based on multiple rounds of dialogues
The invention provides a digital patient dialogue generation method and system based on multiple rounds of dialogues, a storage medium and electronic equipment, and relates to the technical field of dialogue generation. The method comprises the following steps: collecting and vectorizing a dialogue...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a digital patient dialogue generation method and system based on multiple rounds of dialogues, a storage medium and electronic equipment, and relates to the technical field of dialogue generation. The method comprises the following steps: collecting and vectorizing a dialogue history of a patient, respectively obtaining a historical statement set of the patient and a dialogue person, taking the historical statement set as the input of a GRU, and correspondingly obtaining a first hidden state and a second hidden state; predicting a classification result of psychological emotion of the patient at the next moment by adopting a multi-head attention mechanism in combination with a coding result of the background information, and constructing emotion classification loss according to the classification result; according to the predicted classification result of the psychological emotion of the patient at the next moment, generating a patient reply at the next moment through a mask multi-head s |
---|