The invention belongs to the technical field of large
language model application, and discloses a
large model streaming output-oriented intelligent content analysis and multi-
modal rendering method, which comprises a
configuration analysis module, a
JSON configuration file, a multi-
modal rendering module and a multi-
modal rendering module, the configuration file defines a
unique identifier, a
start signal, a
paragraph start / end mark, a
data stream block type and a front-end rendering strategy of each
content type, a
content type identification rule base and a start mark-
content type rapid
lookup table are constructed, and
millisecond-level mark matching is realized; the state
machine control module is used for
processing the
streaming data based on an idle-preparation-
processing three-stage finite-state
machine: waiting for a new content starting
signal or mark in an idle state, recording a content type after detecting the new content starting
signal or mark, and turning to a preparation state; according to the invention, a cross-transport packet identifier repair technology is adopted; the problem that the identifier is segmented in streaming transmission is solved; through a tentative matching
algorithm, the
system can automatically detect, cache and recombine segmented content identifiers, and ensure the accuracy of content segmentation.