The invention provides a
large model training process-oriented function call
data set construction method, which comprises four steps of
function analysis, call chain construction, semantic
verification and repair, and output and feedback
backflow, and finally generates a training
data set containing a plurality of structured function call chain samples. The
function analysis module receives a function document set, analyzes functions in the function document set into structured function
metadata, and inputs the structured function
metadata into the call chain construction module; the call chain construction module receives a task target set, the structured function
metadata and a low-quality sample output by the output and feedback
backflow module, obtains a function call chain draft and inputs the function call chain draft into the semantic
verification and restoration module; and the semantic
verification and restoration module inputs the verified legal call chain into the output and feedback
backflow module. The problem that an existing
data set focuses on single function generation and cannot cover a multi-stage and multi-dependence complete training process is solved.