Knowledge base construction method and question and answer dialogue method and system based on generative large language model

The invention relates to the technical field of data processing, in particular to a knowledge base construction method and a question and answer dialogue method and system based on a generative large language model.The knowledge base name and a vector database table storage structure used for storin...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: YE YAN, HAO LIANG, SHEN YAFEI, WEI HONGGE, HAN DONGYANG, ZHANG FAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to the technical field of data processing, in particular to a knowledge base construction method and a question and answer dialogue method and system based on a generative large language model.The knowledge base name and a vector database table storage structure used for storing knowledge base document data in a knowledge base are created according to question and answer dialogue service target requirements; the knowledge base metadata information is written into a vector database; obtaining text information in a document file corresponding to the question-answer dialogue service target demand; segmenting the text according to the text segmentation length and the text terminator to obtain a plurality of text blocks corresponding to the text information; extracting a text feature embedding vector corresponding to each text block by utilizing a pre-trained large language model, writing the text block metadata information and the text feature embedding vectors corresponding to the text bloc