The application provides a kind of operation and maintenance scene
visualization report generation method and
system based on
natural language question and answer, belongs to intelligent operation and maintenance technical field, method includes: receiving the
natural language query input by user;Through the pre-training of large
language model and the preset operation and maintenance terminology dictionary, the
natural language query is parsed and entity is extracted, and the entity-field association table containing demand type is generated;According to demand type and
semantic feature, the query type is judged to be
data query or
visual query;Based on the judgment result, generate structured
query language sentence or
visual instruction;Query is executed to the interface business
database to obtain
raw data;
Raw data is processed and analyzed to obtain analysis result data;Call data feature
adaptation algorithm to match chart type, generate and output visual report.The application realizes the full-link
automation from natural language input to visual report output, reduces the operation and maintenance data interaction threshold, improves the operation and maintenance
data processing efficiency and accuracy.