The invention discloses an intention understanding tool calling method based on a
large model function call technology, and the method comprises the following steps: S1, obtaining a
natural language instruction of a user, and carrying out the preprocessing of the
natural language instruction; s2, based on the structured instruction fragment and the context dialogue information, constructing a
semantic vector for intention recognition, and inputting the
semantic vector into a large
language model; s3, screening function description information from a
function definition library according to an intention recognition result; s4, extracting parameter content from the
semantic vector under the constraint of a parameter limiting condition; s5, constructing a call request format conforming to a function call interface specification, and executing a corresponding tool call task; and S6, receiving a function calling result, generating a
natural language response text, and outputting the natural language response text to a
user interface to complete an instruction response
closed loop. According to the method, full-automatic
semantic mapping from a natural language instruction to tool function calling is realized, and the analysis accuracy and the calling success rate are improved.