Interaction method and device, equipment and storage medium

The invention discloses an interaction method and device, equipment and a storage medium, and relates to the technical field of data processing, and the method comprises the following steps: obtaining a current interaction request, and generating a knowledge retrieval request corresponding to the cu...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CHEN JIANGUO, YAN LIANG, JIANG HAOYU, YAN MAOSONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses an interaction method and device, equipment and a storage medium, and relates to the technical field of data processing, and the method comprises the following steps: obtaining a current interaction request, and generating a knowledge retrieval request corresponding to the current interaction request by using a preset language model; retrieving a plurality of candidate documents matched with the knowledge retrieval request from a preset knowledge document library; calculating the plurality of candidate documents and the current interaction request based on a cross entropy loss function so as to sort the plurality of candidate documents according to a corresponding calculation result to obtain sorted documents; and processing the sorted documents by using the preset language model so as to output response information corresponding to the current interaction request. Thus, the candidate documents obtained through retrieval can be reordered, the correlation between the document finally in