The invention discloses a data diagnosis method and device,
electronic equipment and a computer readable medium, and relates to the technical field of computers.The method comprises the steps that
user input data is obtained according to a data diagnosis request, a name field in an execution statement is extracted, and meta-information corresponding to the name field is inquired from a meta-information base table; based on the
data input by the user and the meta-information, generating a model prompt word, calling the data diagnosis strategy
large model by taking the model prompt word as an input parameter, obtaining result data output by the data diagnosis strategy
large model, if the result data contains a diagnosis statement, executing the diagnosis statement, comparing query result data with execution
data input by the user, and if the result data is not consistent with the execution
data input by the user, executing the diagnosis statement. Historical dialogue data of the data diagnosis strategy
large model is obtained, and model cues are updated in combination with query result data; and continuing to call the data diagnosis strategy large model based on the updated model cue word, and outputting a data diagnosis result in response to reaching an exit condition. And the data diagnosis efficiency and accuracy are improved.