Natural language intelligent interaction method for large language models

Through cluster analysis of user interaction data and training of large language models, the problem of deviation in user historical interaction data analysis in natural language intelligent interaction is solved, and the communication efficiency between intelligent customer service and users is improved.

CN118552202BActive Publication Date: 2024-10-11ZHUO SHI ZHI XING (QINGTIAN) YUAN UNIVERSE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411018847.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-10-11
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

In the process of natural language intelligent interaction based on large language models, the user's historical interaction data analysis deviation leads to poor communication between the customer service robot and the user, thereby reducing the efficiency of intelligent interaction.

Method used

By obtaining the interaction data between users and intelligent customer service and manual services, calculating the TF-IDF vector and duration difference, constructing the binary group of the interaction data sequence, performing cluster analysis to determine the significance of the clusters, and based on this, analyze the big language Models are trained to improve personalized interactions.

Benefits of technology

It realizes personalized analysis of user interaction behavior characteristics, improves the efficiency of intelligent interaction, and ensures effective communication between users and intelligent customer service.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552202B_ABST
    Figure CN118552202B_ABST
Patent Text Reader

Abstract

The present application relates to the field of data processing technology, and specifically to a natural language intelligent interaction method for a large language model, including: obtaining the TF-IDF vectors of the user's communication time with intelligent customer service, the communication time with manual service, the communication content with intelligent customer service, and the communication content with manual service, forming each user's interaction data sequence, which is divided into an interaction sample set and an interaction test set, constructing a pair of interaction data sequences in the interaction sample set, and clustering the interaction data sequences; calculating the significance of each clustering cluster, combining the pair of all interaction data sequences in each clustering cluster, and obtaining the corresponding user's valid access pair; clustering all valid access pair groups, and training various large language models according to the interaction sample set and interaction test set of the users in each clustering cluster for interaction between users and intelligent customer service. The present application can improve the effectiveness of responding to different users in the process of natural language intelligent interaction, and improve the efficiency of intelligent interaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a natural language intelligent interaction method for a large language model. Background Art

[0002] With the rapid development of artificial intelligence technology, Natural Language Processing (NLP), as an important research direction and application field in the field of human-computer interaction, has made remarkable progress. The application scenarios of artificial intelligence technology in NLP include text classification, sentiment analysis, question-answering systems, etc. At present, there have been more and more research results in the technical field of service robots, among which the research on large language models (LLMs) in natural language intelligent interaction methods is developing rapidly. These models have acquired powerful capabilities to handle various NLP tasks through pre-training, and have shown application potential in many fields.

[0003] However, in the current natural language interaction process based on large language models, the intelligent interaction for customer service robots has not yet achieved a good personalized interaction effect. In the process of using large language models to conduct intelligent natural language interaction with users, if deviations are found in the analysis of users' historical interaction data, it will lead to inaccurate analysis of each type of user's question and answer behavior habits based on the existing classification results, and thus it will be impossible to achieve effective communication between the customer service robot and the user. Instead, the user will switch to manual service, thereby reducing the efficiency of natural language intelligent interaction using intelligent customer service models. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides a natural language intelligent interaction method for a large language model to solve the existing problems.

[0005] The natural language intelligent interaction method for a large language model of this application adopts the following technical solutions:

[0006] An embodiment of the present application provides a natural language intelligent interaction method for a large language model, comprising the following steps:

[0007] The duration of each communication between the user and the intelligent customer service is recorded as the first duration, the duration of each communication with the manual service is recorded as the second duration, the TF-IDF vector of the content of the communication with the intelligent customer service and the TF-IDF vector of the content of the communication with the manual service are obtained to form each interaction data sequence of the user, and the interaction data sequence of the user is divided into an interaction sample set and an interaction test set;

[0008] For each interaction data sequence in the user's interaction sample set, based on the similarity between two TF-IDF vectors in the interaction data sequence and the difference between the first duration and the second duration, construct a tuple of the interaction data sequence, and cluster the interaction data sequences in the user interaction sample set through the tuple; according to the difference between the change trends of the first duration of all interaction data sequences in any two clustering clusters, determine the first difference coefficient between any two clustering clusters, and determine the significance of each clustering cluster in combination with the correlation between the first duration and the second duration of all interaction data sequences in the clustering cluster; based on the significance of all clustering clusters and combining the tuples of all interaction data sequences in each clustering cluster, obtain the effective access tuple of the corresponding user;

[0009] Cluster the effective access bigrams of all users, train the major language models according to the interaction sample sets and interaction test sets of users in each cluster, obtain the corresponding large language model, and conduct intelligent interaction between users and intelligent customer service.

[0010] Furthermore, the method for constructing the binary group is:

[0011] Calculate the similarity between the TF-IDF vector of the communication content with the intelligent customer service and the TF-IDF vector of the communication content with the manual service in the interaction data sequence, and calculate the difference between the first duration and the second duration in the interaction data sequence to form a binary group of the interaction data sequence.

[0012] Furthermore, the process of determining the first difference coefficient between any two clusters is as follows:

[0013] According to the first duration and the second duration of all interaction data sequences in the clusters, the first duration sequence and the second duration sequence of each cluster are respectively constructed, and the trend statistics of the first duration of each cluster are obtained;

[0014] The difference between the trend statistics of the first time series of any two clusters is analyzed to determine the first difference coefficient between the any two clusters.

[0015] Furthermore, the process of constructing the first time series and the second time series of each cluster includes:

[0016] The first duration and the second duration of all interaction data sequences in the cluster are respectively arranged in ascending order according to the access time corresponding to the interaction data sequence, so as to construct the first duration sequence and the second duration sequence of the cluster.

[0017] Furthermore, the significance of each cluster further includes:

[0018] Calculate the correlation coefficient between the first time series and the second time series of each cluster, and use the difference between the correlation coefficients of any two clusters as the second difference coefficient between any two clusters;

[0019] The significance of each cluster is determined based on the first difference coefficient and the second difference coefficient between each cluster and each other cluster.

[0020] Furthermore, the calculation formula for the significance of each cluster is:

[0021] ;in, For the The significance of the clusters; and Respectively Clusters and The first and second coefficients of difference between clusters; is the number of clusters.

[0022] Furthermore, the formula for obtaining the effective access binary group is: ;in, Represents the user's valid access tuple; Indicates The mean binary group of clusters.

[0023] Furthermore, the construction of the mean binary group of the clustering clusters includes: respectively calculating the mean of the first data and the mean of the second data in all interaction data sequence binary groups in each clustering cluster, and combining the two means calculated for each clustering cluster to form the mean binary group of each clustering cluster.

[0024] Furthermore, the obtaining of the corresponding large language model further includes:

[0025] For each cluster obtained by the second clustering, the interaction sample set of all users in the cluster is used as the training set of the large language model, and the interaction test set of all users in the cluster is used as the test set of the large language model. The large language model corresponding to each cluster is trained to obtain the corresponding trained large language model.

[0026] Furthermore, the intelligent interaction between the user and the intelligent customer service includes: during the communication process between the user and the intelligent customer service, inputting the text data of the communication, and making targeted responses to the user's communication through the trained large language model.

[0027] This application has at least the following beneficial effects:

[0028] This application takes into account the natural language intelligent interaction process currently used for intelligent customer service. There are still a large number of users who do not receive effective responses and the personalized characteristics of user communication behavior habits, resulting in low service efficiency of the intelligent customer service interaction model for users;

[0029] Therefore, this application obtains the interaction sample set of users who have transferred to manual customer service in the interactive platform of intelligent customer service, clusters the user's historical interaction content according to the time difference before and after the transfer to manual in the interaction content between the user and the intelligent customer service, and the difference in the interaction content. The communication behavior characteristics of the user can be analyzed through the interaction data of each cluster after clustering;

[0030] Furthermore, by analyzing the changing characteristics of the communication time with the intelligent customer service in each cluster after clustering and the relative characteristics of the communication time before and after the transfer, a relative analysis is conducted on the effectiveness of each cluster in reflecting the communication behavior characteristics between the user and the intelligent customer service. Then, the personalized access characteristics of each user's communication behavior with the intelligent customer service are obtained through the user's transfer behavior and the difference and effectiveness analysis results of the content before and after the transfer. The division of the user's historical interaction data is realized based on the analysis of personalized access characteristics. The beneficial effect is that the model is trained through the historical interaction data of users with similar access characteristic behaviors, so as to further improve the effectiveness of responding to different users in the process of natural language intelligent interaction, thereby improving the efficiency of intelligent interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0032] Figure 1 A flowchart of the steps of the natural language intelligent interaction method for a large language model provided in this application;

[0033] Figure 2 A schematic diagram of the analysis process of the significance of each user cluster provided in this application. DETAILED DESCRIPTION

[0034] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the natural language intelligent interaction method for a large language model proposed in the present application, its specific implementation method, structure, features and effects are described in detail below in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0035] Unless otherwise defined, terms such as "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a circuit structure, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such articles or devices. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the article or device comprising the element. In addition, the term "and\or" used herein includes any and all combinations of one or more related listed items. All technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present application belongs.

[0036] The specific scheme of the natural language intelligent interaction method for a large language model provided by the present application is described in detail below with reference to the accompanying drawings.

[0037] An embodiment of the present application provides a natural language intelligent interaction method for a large language model. For details, please refer to Figure 1 , including the following steps:

[0038] Step 1: Obtain the duration of each communication between the user and the intelligent customer service as the first duration, the duration of each communication with the manual service as the second duration, the TF-IDF vector of the content of communication with the intelligent customer service, and the TF-IDF vector of the content of communication with the manual service, which are used to construct each interaction data sequence of the user, and divide the user's interaction data sequence into an interaction sample set and an interaction test set.

[0039] In the interactive platform of intelligent customer service, historical interaction data of each user transferring to manual customer service during the interaction between the intelligent customer service and the intelligent customer service is obtained, mainly including the duration of each communication between the user and the intelligent customer service, the TF-IDF vector of the content of the intelligent customer service communication, the duration of the manual service communication, and the TF-IDF vector of the content of the manual service communication; the duration of communication with the intelligent customer service and the duration of communication with the manual service are both measured in seconds; TF-IDF (Term Frequency-Inverse Document Frequency) is used for the content of intelligent customer service communication and the content of manual service communication, respectively, to obtain the TF-IDF vectors of the content of intelligent customer service communication and the content of manual service communication.

[0040] Furthermore, the set of historical interaction data of each interaction between the user and the intelligent customer service is taken as the user's interaction data sequence, that is, ,in arrive The corresponding data are the duration of communication with intelligent customer service, the TF-IDF vector of the content of communication with intelligent customer service, the duration of communication with manual service, and the TF-IDF vector of the content of communication with manual service. All the interaction data sequences of each user are divided, and the set consisting of 80% of the number of interaction data sequences of each user is used as the interaction sample set of each user, and the set consisting of 20% of the remaining number of interaction data sequences of each user is used as the interaction test set of each user, where the number of users is , in this embodiment, the value is 1000.

[0041] At this point, the historical interaction data of users in the natural language intelligent interaction process has been obtained, and the interaction sample set and interaction test set of each user have been obtained as the basic data for large language model training and analysis.

[0042] Step 2: For each interaction data sequence in the user's interaction sample set, based on the similarity between two TF-IDF vectors in the interaction data sequence and the difference between the first duration and the second duration, construct a bigram of the interaction data sequence, and cluster the interaction data sequences in the user's interaction sample set through the bigram.

[0043] Normally, during the process of intelligent interaction between users and intelligent customer service, if the intelligent customer service effectively responds to the questions raised by users, the user's problems can be quickly solved. If the response to the user's questions based on the large language model deviates greatly, it may cause the user to ask multiple questions to the intelligent customer service, or transfer the problem to manual customer service, thereby reducing the efficiency of solving user problems. In the process of intelligent customer service answering user questions, due to different factors that affect the interaction between users and intelligent customer service, such as differences in the way of asking questions and the timeliness of users' treatment of problem solving, the intelligent interaction effect is low when the intelligent customer service connects with different users.

[0044] To address the above issues, this embodiment analyzes the characteristics of interaction duration, content, and whether the call is transferred to manual customer service in the historical interaction data between users and intelligent customer service, accurately extracts the characteristics of natural language intelligent interaction between each type of user and intelligent customer service, and thus realizes effective intelligent interaction based on a large language model.

[0045] Specifically, if the interaction between the user and the intelligent customer service can solve the problem in a short period of time, or the intelligent customer service can effectively answer the user's questions, then the intelligent customer service can give an effective and demand-compliant response to the user's questioning method. If the user fails to get an effective response during the interaction between the user and the intelligent customer service, the user may be transferred to the manual customer service, but the transfer process requires a certain amount of waiting time, and the efficiency of problem solving will be reduced; therefore, the effectiveness of the response in the interaction sample set between each user and the intelligent customer service is analyzed to analyze the characteristics of users using the intelligent customer service to solve problems. The specific analysis process is as follows:

[0046] The communication time with intelligent customer service is recorded as the first time duration, and the communication time with manual service is recorded as the second time duration. For each interaction data sequence in the interaction sample set between each user and intelligent customer service, the similarity between the TF-IDF vector of the communication content with intelligent customer service and the TF-IDF vector of the communication content with manual service in the interaction data sequence is calculated, and the difference between the first time duration and the second time duration in the interaction data sequence is calculated. The similarity and the difference between the first time duration and the second time duration are together formed into a tuple.

[0047] Preferably, in this embodiment, the similarity between two TF-IDF vectors adopts the cosine similarity between the two TF-IDF vectors. In this embodiment, it is recorded as , the cosine similarity The larger the value of is, the more likely it is that the content of the communication between the user and the intelligent customer service is roughly the same before and after the transfer to the manual customer service, and the effectiveness of the intelligent customer service reply may be lower; the difference between the first duration and the second duration is the absolute value of the difference between the two durations in this embodiment, which is recorded as , absolute value The larger the value, the higher the user's requirements for the effectiveness of solving the current problem may be during the interaction between the user and the intelligent customer service. For example, after a simple communication with the intelligent customer service, the user does not get a satisfactory answer, so he / she is transferred to the manual customer service for communication; or the user interacts with the intelligent customer service for many times, but the problem is not effectively solved. After being transferred to the manual customer service, he / she gets an effective reply in a short time.

[0048] Corresponding to each interaction data sequence and The data pair consisting of the values As the bigrams after each user interaction, the interaction data sequences in the interaction sample set are clustered based on the bigrams. In this embodiment, the clustering method adopts agglomerative hierarchical clustering, wherein the metric distance between the interaction data sequences in the clustering process adopts the dot product ratio between the bigrams of the two interaction data sequences. In the result of the clustering, each cluster cluster represents the interaction data sequence with similar question-and-answer behaviors in the interaction process between the user and the intelligent customer service.

[0049] Step 3: Determine the first difference coefficient between any two clusters based on the difference in the changing trends of the first duration of all interaction data sequences in any two clusters, and determine the significance of each cluster based on the correlation between the first duration and the second duration of all interaction data sequences in the clusters.

[0050] Taking any user as an example, for each cluster in the user's interaction sample set, the first duration and the second duration of all interaction data sequences in the cluster are arranged in ascending order according to the access time corresponding to the interaction data sequence to form the first duration sequence and the second duration sequence of the cluster;

[0051] The first time series is taken as input, and the trend verification algorithm is used to obtain the trend statistics of the first time series. The larger the trend statistics, the more effective the intelligent customer service is for each user's problem will not be improved over time. Further, the difference between the trend statistics of the first time series of any two clustering clusters is analyzed to determine the first difference coefficient between the any two clustering clusters.

[0052] Preferably, in this embodiment, the absolute value of the difference between the trend statistics of the first time series of any two clusters is taken as the first difference coefficient between any two clusters. ,The larger the first difference coefficient is, the more the samples in each cluster can reflect the behavioral characteristics of the communication between the user and the intelligent customer service;

[0053] Calculate the correlation coefficient between the first time series and the second time series of each cluster. The larger the correlation coefficient, the more stable the change trend of the communication behavior characteristics between the user and the intelligent customer service, that is, the relative change of the communication time before and after the transfer is relatively stable; the difference between the correlation coefficients of any two clusters is taken as the second difference coefficient between any two clusters .

[0054] Preferably, in this embodiment, the absolute value of the difference between the absolute values ​​of the Pearson correlation coefficients of any two clusters is taken as the second difference coefficient between any two clusters. The larger the second difference coefficient is, the more significant the analysis of the effective behavioral characteristics of the communication between the samples in each cluster and the intelligent customer service is.

[0055] Calculate the significance of each cluster based on the first difference coefficient and the second difference coefficient of each cluster , the significance reflects the effective analysis characteristics of the samples in the interaction sample set of each user on the communication behavior between the user and the intelligent customer service. The specific calculation relationship in this embodiment is:

[0056] ;in, For the The significance of the clusters; and Respectively Clusters and The first and second coefficients of difference between clusters; is the number of clusters; the larger the calculated significance, the more significant the clusters are after the interaction sample set of each user is divided based on the characteristics of the communication between the user and the intelligent customer service. The more clusters the interaction data sequences are in, the more effective they are in analyzing the behavioral characteristics of communication between users and intelligent customer service.

[0057] See also Figure 2 , Figure 2 The figure shows a schematic diagram of the analysis process of the prominence of each user cluster in this embodiment.

[0058] Step 4: Based on the prominence of all clusters, combine the bigrams of all interaction data sequences in each cluster to obtain the effective access bigrams of the corresponding users.

[0059] For each cluster in each user's interaction sample set, calculate the The mean of the values ​​and The mean of the values, forming the mean binary tuple of each cluster ; Calculate the effective access tuple based on the significance and mean tuple of each cluster, and analyze the effective behavioral characteristics of each user's communication with the intelligent customer service based on the effective access tuple. The specific calculation formula is:

[0060] ;in, Represents the user's valid access tuple; Indicates The effective access tuple reflects the communication behavior characteristics of each user regarding the effectiveness of the intelligent customer service response.

[0061] At this point, the effective access tuple of each user is obtained.

[0062] Step 5: Cluster the valid access bigrams of all users, train the major language models according to the interaction sample sets and interaction test sets of users in each cluster, obtain the corresponding large language model, and conduct intelligent interaction between users and intelligent customer service.

[0063] According to the above process, the effective access tuple of each user can be obtained, and the effective access tuples of all users are clustered using the CURE (Clustering using representative) clustering algorithm to obtain the clustering results. The shrinkage factor in the CURE clustering algorithm is 0.5 in this embodiment. The specific implementation process of the CURE clustering algorithm is a well-known technology and will not be repeated here.

[0064] Furthermore, a set consisting of interaction sample sets of all users in each cluster in the above clustering results is used as a training set of a large language model for intelligent customer service, and a set consisting of interaction test sets of all users in each cluster is used as a test set to train the large language model, wherein the large language model is an ERNIE (Enhanced Representation through kNowledge IntEgration) model, wherein the loss function is a cross entropy loss function, and the optimizer is an Adam (Adaptive momentum) optimization algorithm. Various large language models trained according to the training set are used as natural language intelligent interaction models for intelligent customer service under various user types. The specific training process of the large language model is a well-known technology and will not be described in detail.

[0065] At this point, according to the above process of this embodiment, different types of large language models that have been trained can be obtained as natural language intelligent interaction models for intelligent customer service under various user types, so that effective responses can be made for different users during the intelligent interaction process, thereby improving communication efficiency.

[0066] Based on the above analysis of the historical interaction data of users who have transferred to manual customer service during the interaction with intelligent customer service, targeted analysis is performed on users with similar communication characteristics and characteristics of transferring to manual customer service during interaction with intelligent customer service, and then the interaction data of users with the same type of communication behavior with intelligent customer service and manual customer service is used as the training set of the natural language intelligent interaction model for intelligent customer service to obtain a personalized natural language interaction model; therefore, in the process of communication between users and intelligent customer service, the text data of the communication is input, and the natural language intelligent interaction model for intelligent customer service, that is, the trained large language model, can be used to analyze the communication text data before and after the transfer to manual during the previous communication process of the same type of users. Targeted and effective responses can be made to the current user's communication, thereby achieving effective communication in the intelligent interaction process between intelligent customer service and users, and improving the communication efficiency of intelligent customer service when facing different types of users.

[0067] It is understood that references to "one embodiment" or "some embodiments" etc. described in the specification of the present application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, if "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appear in different places in this specification, they do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0068] It should be noted that the sequence of the above-mentioned embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. And the above-mentioned specific embodiments of this specification are described. In addition, the process depicted in the accompanying drawings does not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multi-tasking and parallel processing are also possible or may be advantageous. At the same time, the size of the sequence number of each step in the embodiment does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments in this specification.

[0069] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A natural language intelligent interaction method for a large language model, characterized in that: The following steps are involved: The duration of each communication between the user and the intelligent customer service is recorded as the first duration, the duration of each communication with the manual service is recorded as the second duration, the TF-IDF vector of the content of the communication with the intelligent customer service and the TF-IDF vector of the content of the communication with the manual service are obtained to form each interaction data sequence of the user, and the interaction data sequence of the user is divided into an interaction sample set and an interaction test set; For each interaction data sequence in the user's interaction sample set, based on the similarity between two TF-IDF vectors in the interaction data sequence and the difference between the first duration and the second duration, construct a bigram of the interaction data sequence, and cluster the interaction data sequences in the user's interaction sample set through the bigram; According to the difference between the changing trends of the first duration of all interaction data sequences in any two clusters, the first difference coefficient between any two clusters is determined, and the significance of each cluster is determined by combining the correlation between the first duration and the second duration of all interaction data sequences in the cluster; based on the significance of all clusters, the binary groups of all interaction data sequences in each cluster are combined to obtain the effective access binary group of the corresponding user; Cluster all users' valid access bigrams, train major language models based on the interaction sample sets and interaction test sets of users in each cluster, obtain the corresponding large language model, and conduct intelligent interaction between users and intelligent customer service; The process of determining the first difference coefficient between any two clusters is as follows: According to the first duration and the second duration of all interaction data sequences in the clusters, the first duration sequence and the second duration sequence of each cluster are respectively constructed, and the trend statistics of the first duration of each cluster are obtained; Analyze the difference between the trend statistics of the first time series of any two clusters to determine the first difference coefficient between the any two clusters; The process of constructing the first time series and the second time series of each cluster includes: Arrange the first duration and the second duration of all interaction data sequences in the cluster in ascending order according to the access time corresponding to the interaction data sequence, and construct the first duration sequence and the second duration sequence of the cluster; The significance of each cluster further includes: Calculate the correlation coefficient between the first time series and the second time series of each cluster, and use the difference between the correlation coefficients of any two clusters as the second difference coefficient between any two clusters; Determining the significance of each cluster based on the first difference coefficient and the second difference coefficient between each cluster and each other cluster; The calculation formula of the significance of each cluster is: ;in, For the The significance of the clusters; and Respectively Clusters and The first and second coefficients of difference between clusters; is the number of clusters.

2. The natural language intelligent interaction method for a large language model according to claim 1, characterized in that: The method for constructing the binary group is: Calculate the similarity between the TF-IDF vector of the communication content with the intelligent customer service and the TF-IDF vector of the communication content with the manual service in the interaction data sequence, and calculate the difference between the first duration and the second duration in the interaction data sequence to form a binary group of the interaction data sequence.

3. The natural language intelligent interaction method for a large language model according to claim 1, characterized in that: The formula for obtaining the effective access tuple is: ;in, Represents the user's valid access tuple; Indicates The mean binary group of clusters.

4. The natural language intelligent interaction method for a large language model according to claim 3, characterized in that: The construction of the mean binary group of the clusters includes: respectively calculating the mean of the first data and the mean of the second data in all interaction data sequence binary groups in each cluster, and combining the two means calculated for each cluster to form the mean binary group of each cluster.

5. The natural language intelligent interaction method for a large language model according to claim 1, characterized in that: The obtaining of the corresponding large language model further comprises: For each cluster obtained by the second clustering, the interaction sample set of all users in the cluster is used as the training set of the large language model, and the interaction test set of all users in the cluster is used as the test set of the large language model. The large language model corresponding to each cluster is trained to obtain the corresponding trained large language model.

6. The natural language intelligent interaction method for a large language model according to claim 1, characterized in that: The intelligent interaction between the user and the intelligent customer service includes: during the communication process between the user and the intelligent customer service, the text data of the communication is input, and a targeted response is made to the user's communication through the trained large language model.