The invention relates to the technical field of multi-round dialogue
processing, in particular to a multi-round dialogue
processing method based on RAG technology dynamic cue word retrieval. Comprising the following steps of question input by a user, initial retrieval and cue
word generation, question splicing and answer generation, historical
dialogue management and context coding, multi-round
question analysis and retrieval enhancement, complex question
decomposition and parallel retrieval, multi-source
information fusion and generation model optimization, iterative feedback and
model tuning, and
exception handling and fault-tolerant mechanism. According to the method, related information is retrieved from an external
knowledge base, the model can utilize wider and more
specific knowledge to generate answers and better track dialogue history and context, so that answers consistent and coherent with the dialogue history are generated, the model can generate answers on a short input sequence by retrieving and splicing related cue words, and meanwhile, the model can be used for analyzing the dialogue history. Cue words are dynamically generated according to
user input and retrieval results, so that the model can better adapt to different dialogue scenes and user requirements.