The invention discloses a large-model
natural language document query
system and method based on full-text search. An input and output module receives
user input and transmits the
user input to a cue word construction module, and receives and displays an output result of the cue word construction module; the document
library module is used for linking to the document
library module; the cue word construction module is used for splicing
user input and search cue words and then inputting the spliced cue words into the
large model calling module, splicing summary cue words, inputting documents input by the user and queried by the document
library module into the
large model calling module, receiving
document summary returned by the
large model calling module, and sending the
document summary to the large model calling module; the
document summarization module is used for integrating documents inquired by the
document summarization module and the document library module and then outputting the integrated documents to the input and output module; the large model calling module calls a large
oracle model to extract keywords, sends the keywords to the document library module, and returns a
document summary to the cue word construction module; and the document library module is used for receiving the input keyword, finding out the document with the top
score and outputting the document to the cue word construction module. According to the method, a document library and a document search process are replaced, and a vector
database index scheme is changed into a more mature text
inverted index; the document library does not need to load a vector model, and only needs to load the document index, so that the memory consumption is greatly reduced, and the hardware cost of the document library is further reduced.