The invention discloses an RAG
recall rate improving method, and belongs to the technical field of
natural language processing. The method specifically comprises the following steps: S1,
knowledge base document multi-level
processing: performing classification screening, semantic
paragraph segmentation, entity labeling and multi-
granularity vector coding on a target
domain knowledge base to obtain a standardized semantic
paragraph containing classification ID-
paragraph ID-entity
list-multi-
granularity vector; and S2, generating and filtering Q2Q
semantic association: generating a multi-dimensional potential problem for each standardized semantic paragraph by adopting a pre-training
language model of field
fine tuning, and screening 3-5 high-quality potential problems through rule filtering and model scoring. Through'field
fine tuning of a T5-XXL model + multi-dimensional variant generation ', three variants of deep
semantic association, coverage of expression styles, scene supplementation and field term
adaptation of user intentions are accurately captured, and the problems of long tails and the
recall rate bottleneck of oral query are solved.