The invention discloses a media file query and retrieval method and
system based on an AI dialogue scene, the method combines a
mixed mode of vector retrieval and keyword retrieval, realizes accurate retrieval of cross-
modal data, and can process various media files including texts, pictures, videos, PPT and the like. According to the method, a double-round scoring mechanism of a large
language model (LLM) is combined, firstly, the relevancy of file content is scored, then secondary scoring is carried out according to the matching degree of a file title and user query, and it is ensured that the file most relevant to query is called. In addition, the
system can further utilize a
user feedback mechanism to continuously optimize the retrieval precision, and the user experience is improved. Compared with the prior art, the method has the advantages that the accuracy and the efficiency of multi-
modal data retrieval are remarkably improved, the limitation of a traditional AI dialogue
system during
multimedia file
processing is solved, and the method is suitable for intelligent dialogue application scenes needing to quickly and accurately obtain various types of media files.