The invention discloses a method for enhancing dynamic
knowledge retrieval based on a large
language model, belongs to the field of
knowledge retrieval, and aims to solve the problems of knowledge solidification, insufficient timeliness and illusion of a traditional LLM (Logistics
Language Model). A multi-
granularity knowledge base is dynamically constructed, and a rule and semantic partitioning technology is combined, so that a text is converted into a normalized vector, and a
hybrid index is established; a two-channel retrieval triggering mechanism is adopted, keyword matching scores and BERT semantic probability analysis are fused, and retrieval requirements are intelligently judged; vectorization retrieval is realized through a BGE-M3 model, and candidate results are reordered in combination with a cross
encoder to improve the precision. The
system supports multi-language adaptive
processing,
dynamic switching of word segmentation strategies and cross-language retrieval, and introduces real-time
knowledge updating and version control. According to the method, the answer timeliness and accuracy are remarkably improved, the context coherence of multiple rounds of dialogues is optimized, the method can be widely applied to the fields of intelligent customer service, professional
questions and answers and the like, the LLM illusion risk is effectively reduced, and the knowledge
traceability is enhanced.