The invention discloses a multi-
modal index
knowledge base and a construction method thereof. The construction method comprises the following steps:
processing a heterogeneous document to obtain a semi-
structured document; identifying a title hierarchical relationship of the document to construct a document
logic structure; carrying out minimum chapter blocking on the text of the semi-
structured document to obtain logic blocks; performing semantic segmentation on each
logic block to obtain text blocks; the method comprises the following steps: constructing text block nodes by meta-information of text blocks, constructing non-text block nodes by meta-information of non-text elements, extracting document nodes, chapter nodes and chapter-chapter inclusion relationships according to a document
logic structure, respectively extracting
semantic information from the text blocks and the non-text elements, and storing the
semantic information in a
database; recording the corresponding relationship between the text block nodes and the
semantic information and between the non-text block nodes and the semantic information; constructing a
knowledge graph based on each node and relationship and storing the
knowledge graph into a
graph database; and constructing semantic knowledge based on the semantic information and storing the semantic knowledge into a vector
database. According to the scheme, lossless retention of multi-
modal information and structured organization of document logic are realized, and efficient indexing and accurate recall are facilitated.