The present application relates to the technical field of
artificial intelligence, and provides a large
language model retrieval augmentation solution. In the present solution, text data of a target vertical domain is acquired, and
a domain knowledge graph containing entities, attributes and entity relationships is constructed, so as to implement professional knowledge structured representation; and a
large model auxiliary component is trained by means of a
deep learning model, so as to assign
a domain entity recognition capability and a question
intent recognition capability to the
large model auxiliary component. The trained
large model auxiliary component is integrated into a target large
language model to enable a vertical domain semantic
parsing capability. The
domain knowledge graph provides domain fine-tuning information to perform domain fine-tuning on the target large
language model to generate a retrieval augmented large language model. The retrieval augmented large language model performs vertical domain professional question
parsing, key entity identification and
knowledge retrieval within the range of
artificial intelligence technologies such as semantic understanding,
knowledge representation and reasoning,
natural language processing, probabilistic reasoning and
cluster analysis, and supports multiple types of professional
knowledge question answering and intelligent retrieval scenarios.