The invention discloses a
database AI
question answering system and method based on a large
language model and retrieval enhancement, and relates to the technical field of
database retrieval. The
system comprises a front-end interaction module, a
distributed cache management module, a task scheduling center, a large
language model processing sub-module, a retrieval enhancement sub-module, an answer optimization sub-module and a
database management sub-module. All the sub-modules are mutually independent and work cooperatively, through an efficient task scheduling mechanism, the
system can monitor the load and resource states of all the sub-modules in real time, accurate allocation of tasks is conducted according to an intelligent
algorithm, in a large-scale concurrent request scene, single-point faults and resource waste are effectively avoided, stable operation of the system is ensured, and meanwhile, the system can be widely applied to large-scale concurrent requests. The
distributed cache management module further optimizes the storage and access of the data, reduces repeated
data query and transmission, and improves the overall performance.