Personalized dialogue generation method and system based on user dialogue history
A user and history technology, applied in character and pattern recognition, special data processing applications, unstructured text data retrieval, etc., can solve the problems that new users cannot join the model, ignore, and role information cannot be strengthened
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] This embodiment discloses a method for generating personalized dialogue based on long-short-term memory information, such as figure 1 shown, including the following steps:
[0041] S1 represents the input text and the text of user dialogue history as sentence vectors.
[0042] S2 obtains the user personality vector by encoding the sentence vector, and the user personality vector contains the time sequence information of the sentence vector.
[0043] In this step, the sentence vector is mainly processed by the Seq2Seq model and the attention mechanism. The Seq2Seq model encodes sentence vectors and combines them via an attention mechanism to generate responses for the decoding process.
[0044] A Seq2Seq model usually consists of an encoder and a decoder. The role of the encoder is to represent the input text X, and convert the input text X into a dense vector H=(h 1 , h 2 ,...,h n ). The role of the decoder is to convert this intermediate state vector h n Decode...
Embodiment 2
[0075] Based on the same inventive concept, this embodiment discloses a personalized dialog generation system based on user dialog history, including:
[0076] The sentence vector generation module is used to represent the text of the user dialogue history as a sentence vector;
[0077] A personality vector generation module, used to obtain the user personality vector by encoding the sentence vector, the user personality vector includes the timing information of the sentence vector;
[0078] Model generation mode, which is used to generate a personalized dialogue model according to the time series information of user personality vector and sentence vector;
[0079] The personalized dialogue generation mode is used to input the word vector of the new input text into the personalized dialogue model to generate a personalized dialogue reply.
[0080] The decoding formula of the personalized dialogue model in the model generation mode is:
[0081] the s t = GRU decoder (s t-1...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com