The application provides a legal regulation retrieval
processing method and device of a large
language model, which comprises receiving a legal query, identifying the intention of the legal query by the large
language model, routing the legal query to an intention
processing branch, performing characteristic
fission on the legal query when it is determined to be a legal regulation retrieval
branch, generating a plurality of retrieval element objects, encapsulating and sending the retrieval element objects to a legal regulation vector
database, sorting the legal regulation vector
database according to a similarity
score to obtain an initial legal regulation
metadata set, splicing the
metadata set and a
query string, inputting the spliced result into the large
language model, performing secondary cleaning and filtering on the spliced result according to a preset
metadata verification rule set, outputting a correlation determination identifier, removing irrelevant legal regulations, constructing a precise legal regulation
data set, inputting the
data set into the large language model, and rendering and outputting a structured legal
analysis data object to a
client according to a preset entity law and procedural law analysis priority order and a legal regulation reference
regular expression. Through the
processing scheme, the absolute purity and anti-illusion
traceability of the output data are effectively ensured.