The invention relates to the technical field of
natural language processing, and discloses a
knowledge base question and answer platform construction method based on a large
language model, which comprises a
knowledge acquisition module, a data preprocessing module, a
text processing module, a vectorization module, a question understanding module, a mixed retrieval module, a prompt generation module, an answer generation module and an answer quality analysis module. A secondary inquiry
processing module and a feedback learning module; according to the method, a semantic segmentation
algorithm is combined with semantic retrieval and keyword retrieval, so that the flexibility is high; normalized prompts are constructed, input is performed according to correlation sorting, and the accuracy of answers is improved; multi-dimensional confidence evaluation is introduced, strict multi-layer security and compliance filtering is set, and the reliability of the
system is ensured; the relevance of multiple rounds of dialogues is judged and complemented, so that interaction is more natural and efficient; knowledge is collected and updated in real time, a
knowledge base and a retrieval strategy are continuously optimized, and a
closed loop of data-application-feedback-tracing-optimization is formed.