A execution method for consulting chat robot is implemented by a server connected to a use terminal. The server stores a plurality of main intents, a plurality of sub-intents corresponding to each main intent, a plurality of first keywords corresponding to each sub-intent, and one answer corresponding to each sub-intent, and includes the following steps:(A) after receiving a question from the use terminal, using an intent classification model to classify the problem as a target main intent;(B) obtaining a plurality of candidate sub-intents corresponding to the target main intent;(C) calculating, for each candidate sub-intent, a similarity between the first keywords corresponding to the candidate sub-intent and the problem;(D) obtaining, from the candidate sub-intents, a target sub-intent corresponding to the highest similarity;(E) The answer corresponding to the target sub-intent is transmitted to the use terminal. |