Summary of the invention
This specification one or more embodiment describes a kind of art recommended method and device towards customer service, can make
Art is stated to ask with user and be matched if recommendation, and meets the needs of customer service.
In a first aspect, providing one kind, towards customer service, art recommended method, method include:
For active user's question sentence, using the information above of active user's question sentence and active user's question sentence as asking
Information is sought, by solicited message input long text disaggregated model trained in advance, passes through the defeated of the long text disaggregated model
The solicited message is obtained out corresponding to preset probability of all categories, and the corresponding high frequency of each classification talks about art;
According to the solicited message correspond to preset probability of all categories, by it is of all categories according to the probability by height
To low sequence, using the high frequency for the preceding predetermined number classification that sorts words art as the first words art to be recommended;
According at least to the described first words art to be recommended, the consequently recommended words art recommended to customer service is determined.
It is described to be directed to active user's question sentence in a kind of possible embodiment, by active user's question sentence and described
The information above of active user's question sentence is as solicited message, by solicited message input long text disaggregated model trained in advance
Before, the method also includes:
From multiple answers that frequency of occurrence is more than default value in the conversation log of user and customer service, are obtained, answered multiple
Case cluster determines that the corresponding high frequency of each classification talks about art according to cluster result;
It is inputted the information above of each answer as the sample of the long text disaggregated model, by the corresponding classification of each answer
As the sample label of the long text disaggregated model, the long text disaggregated model is trained.
In a kind of possible embodiment, the high frequency words art using the preceding predetermined number classification that sorts is as the
After one words art to be recommended, the method also includes:
According to the described first words art to be recommended, retrieval obtains the described first words art to be recommended from the knowledge base pre-established
Similar answer and the corresponding typical problem of the similar answer;Wherein, the knowledge base includes multiple groups question and answer pair, and every group is asked
It answers questions including corresponding typical problem and answer;
Described first words art to be recommended typical problem corresponding with the similar answer is established into corresponding relationship, for determining
The corresponding typical problem of the consequently recommended words art.
It is described according at least to the described first words art to be recommended in a kind of possible embodiment, it determines and recommends to customer service
Consequently recommended words art before, the method also includes:
According to the solicited message, retrieval obtains preset number answer from the knowledge base pre-established, and each answers
The corresponding typical problem of case;Wherein, the knowledge base include multiple groups question and answer pair, every group of question and answer to include corresponding typical problem and
Answer;
By deep semantic model trained in advance, the matching degree of each preset number answer and the solicited message is obtained
Score;
According to the sequence of the score from high to low, selected section answer is as second from the preset number answer
Words art to be recommended;
It is described according at least to the described first words art to be recommended, determine that the consequently recommended words art recommended to customer service includes:
According to the described first words art to be recommended and the second words art to be recommended, the consequently recommended words art is determined.
Further, described according to the described first words art to be recommended and the second words art to be recommended, it determines described final
Recommend words art, comprising:
According to the pre-set priority of the described first words art to be recommended and the second words art to be recommended, from described the
The consequently recommended words art recommended to customer service is selected in one words art to be recommended and the second words art to be recommended.
Further, described according to the described first words art to be recommended and the second words art to be recommended, it determines described final
Recommend words art, comprising:
Using the described first words art to be recommended and the second words art to be recommended as the input of the decision model pre-established,
The consequently recommended words art recommended to customer service is obtained by the output of the decision model.
It is described according at least to the described first words art to be recommended in a kind of possible embodiment, it determines and recommends to customer service
Consequently recommended words art before, the method also includes:
Question and answer in active user's question sentence and the knowledge base pre-established are matched with problem to doing problem, determine institute
State typical problem similar with active user's question sentence and similarity in knowledge base;Wherein, the knowledge base is asked comprising multiple groups
It answers questions, every group of question and answer are to including corresponding typical problem and answer;
According to the sequence of similarity from high to low, the selected section from typical problem similar with active user's question sentence
Typical problem, using the corresponding answer of the part of standards problem as third words art to be recommended;
It is described according at least to the described first words art to be recommended, determine that the consequently recommended words art recommended to customer service includes:
According to the described first words art to be recommended and third words art to be recommended, the consequently recommended words art is determined.
Further, described according to the described first words art to be recommended and third words art to be recommended, it determines described final
Recommend words art, comprising:
According to the pre-set priority of the described first words art to be recommended and third words art to be recommended, from described the
The consequently recommended words art recommended to customer service is selected in one words art to be recommended and third words art to be recommended.
Further, described according to the described first words art to be recommended and third words art to be recommended, it determines described final
Recommend words art, comprising:
Using the described first words art to be recommended and third words art to be recommended as the input of the decision model pre-established,
The consequently recommended words art recommended to customer service is obtained by the output of the decision model.
Second aspect, providing one kind, art recommendation apparatus, device include: towards customer service
Taxon, for being directed to active user's question sentence, by active user's question sentence and active user's question sentence
Solicited message input long text disaggregated model trained in advance is passed through the long article as solicited message by information above
The output of this disaggregated model obtains the solicited message corresponding to preset probability of all categories, and each classification is one corresponding
High frequency talks about art;
First recommendation unit, the solicited message for being obtained according to the taxon correspond to preset each
The probability of classification sorts of all categories according to the probability from high to low, by the high frequency of preceding predetermined number classification that sorts
Art is talked about as the first words art to be recommended;
Determination unit, the first words art to be recommended for obtaining according at least to first recommendation unit are determined to customer service
The consequently recommended words art recommended.
The third aspect provides a kind of computer readable storage medium, is stored thereon with computer program, when the calculating
When machine program executes in a computer, enable computer execute first aspect method.
Fourth aspect provides a kind of calculating equipment, including memory and processor, and being stored in the memory can hold
Line code, when the processor executes the executable code, the method for realizing first aspect.
The method and apparatus provided by this specification embodiment, first against active user's question sentence, by the current use
The information above of family question sentence and active user's question sentence is as solicited message, by solicited message input length trained in advance
Textual classification model obtains the solicited message corresponding to preset all kinds of by the output of the long text disaggregated model
Other probability, the corresponding high frequency of each classification talk about art;Then corresponded to according to the solicited message preset of all categories
Probability, sort of all categories from high to low according to the probability, the high frequency of the preceding predetermined number classification that sorts talked about into art
As the first words art to be recommended;Finally according at least to the described first words art to be recommended, the consequently recommended words recommended to customer service are determined
Art.In this specification embodiment, has and combine context understanding ability, while the robustness of disaggregated model determines the model
Accuracy rate is very high, has the ability for more information above accurately being combined to recommend high frequency words art to customer service, and since words art is visitor
Common high frequency words art is taken, therefore is more easier to be received by customer service.Generally speaking, art if recommending can be made to state and ask with user
Matching, and meet the needs of customer service.
Specific embodiment
With reference to the accompanying drawing, the scheme provided this specification is described.
Fig. 1 is the implement scene schematic diagram of one embodiment that this specification discloses.The implement scene is related to towards customer service
If art recommend.Referring to Fig.1, chat window 11 is shown on the display screen of terminal and recommends words art list 12, when terminal receives
When the active user's question sentence inputted to user, the N wheel dialogue of the user and customer service is had existed before user's question sentence in this prior,
For example, user's question sentence 1 shown in chat window 11 and answer 1 constitute a wheel dialogue, user's question sentence 2 and answer 2 constitute another
Wheel dialogue, user's question sentence N and answer N constitute another wheel dialogue, this N wheel dialogue is referred to as the information above of active user's question sentence.
Suitable answer is made for active user's question sentence in order to facilitate customer service, terminal is according to active user's question sentence and the active user
The information above of question sentence generates and recommends words art list 12, and it includes from the knowledge base pre-established which, which talks about in art list 12,
The one or more groups of question and answer pair screened, the answer of question and answer centering is as recommending words art to recommend customer service, so that customer service can be with
Recommendation words art is directly inputted, words art will be recommended as the answer for being directed to active user's question sentence, slightly repaired alternatively, customer service can input
The recommendation words art changed, using the recommendation words art being modified slightly as the answer for being directed to active user's question sentence.
In the scene, when receiving active user's question sentence, according to active user's question sentence and active user's question sentence
Information above generates the recommendation shown to customer service and talks about art list, customer service can be helped to be familiar with operation flow as early as possible, in customer service and uses
During the text chat of family, real-time prompting correlation talks about art beside chat window, and customer problem is answered in auxiliary customer service, so that customer service
Speech seems more proper.
This specification embodiment provide the art recommended method towards customer service, can make recommend words art list in include
Recommendation words art, which is stated to ask with user, to be matched, and meets the needs of customer service.
Fig. 2 shows the art recommended method flow chart towards customer service according to one embodiment, this method can be based on Fig. 1
Shown in application scenarios.As shown in Fig. 2, in the embodiment towards customer service art recommended method the following steps are included: step 21,
For active user's question sentence, using the information above of active user's question sentence and active user's question sentence as solicited message,
By solicited message input long text disaggregated model trained in advance, institute is obtained by the output of the long text disaggregated model
Solicited message is stated corresponding to preset probability of all categories, the corresponding high frequency of each classification talks about art;Step 22, according to institute
Solicited message is stated corresponding to preset probability of all categories, sorts, will arrange from high to low according to the probability by of all categories
The high frequency words art of the preceding predetermined number classification of sequence is as the first words art to be recommended;Step 23, according at least to described first to
Recommend words art, determines the consequently recommended words art recommended to customer service.The specific executive mode of above each step is described below.
First in step 21, for active user's question sentence, by active user's question sentence and active user's question sentence
Solicited message input long text disaggregated model trained in advance is passed through the long article as solicited message by information above
The output of this disaggregated model obtains the solicited message corresponding to preset probability of all categories, and each classification is one corresponding
High frequency talks about art.It is understood that can also include presetting multiple classifications, and determine each in this specification embodiment
The process of the corresponding high frequency words art of classification, and process trained in advance is carried out to the long text disaggregated model.
It in one example, is more than pre- from frequency of occurrence in the conversation log of user and customer service, is obtained before step 21
If multiple answers of numerical value, multiple answers are clustered, determine that the corresponding high frequency of each classification talks about art according to cluster result;It will respectively answer
The information above of case is inputted as the sample of the long text disaggregated model, using the corresponding classification of each answer as the long text
The sample label of disaggregated model is trained the long text disaggregated model.
Wherein, after by multiple answers cluster, one can be selected according to cluster result from same category of each answer
Answer talks about art as the corresponding high frequency of the category.For example, according to the number in same category of each answer including business word, selection
The maximum answer of the number talks about art as the corresponding high frequency of the category;Alternatively, according to the number of words of same category of each answer, selection
The maximum answer of the number of words talks about art as the corresponding high frequency of the category;Alternatively, whether being customer service according to same category of each answer
The answer of collection, the answer for selecting customer service to collect is as the corresponding high frequency words art of the category.
In addition, multiple groups question and answer pair may be had existed comprising more wheel question and answer before active user's question sentence, it can be preparatory
The number for the question and answer pair that the information above of setting active user's question sentence includes, or preset the information above of active user's question sentence
The number for the question sentence for including, or preset the number for the answer that the information above of active user's question sentence includes.For example, referring to figure
1, question and answer are taken turns comprising N before active user's question sentence, that is, has existed N group question and answer pair, active user's question sentence can be preset
The numbers of the information above question and answer pair that include be 2, then the information above of active user's question sentence includes user's question sentence 2, returns at this time
It answers 2, user's question sentence 1, answer 1.
Similarly, the number for the question and answer pair that the information above of answer includes can be preset, or presets answer
The number for the question sentence that information above includes, or preset the number for the answer that the information above of answer includes.
Then in step 22, preset probability of all categories is corresponded to according to the solicited message, is pressed of all categories
It sorts from high to low according to the probability, using the high frequency for the preceding predetermined number classification that sorts words art as the first words to be recommended
Art.It is understood that words art to be recommended is only the form of answer, in order to be more convenient use or choosing of the customer service to words art to be recommended
It selects, typical problem can be mixed for words art to be recommended, it is subsequent words art to be recommended and typical problem to be supplied to customer service together.
In one example, after step 22, according to the described first words art to be recommended, from the knowledge base pre-established
Retrieval obtains the similar answer and the corresponding typical problem of the similar answer of the described first words art to be recommended;Wherein, described to know
Knowing library includes multiple groups question and answer pair, and every group of question and answer are to including corresponding typical problem and answer;By the described first words art to be recommended with
The corresponding typical problem of the similar answer establishes corresponding relationship, when the described first words art to be recommended is consequently recommended words art,
For determining the corresponding typical problem of the consequently recommended words art.
Finally the consequently recommended words art recommended to customer service is determined according at least to the described first words art to be recommended in step 23.
It is understood that various ways can be taken to determine words art to be recommended, respectively using various ways in this specification embodiment
Advantage, promoted words art recommend accuracy rate.
In one example, it before step 23, according to the solicited message, is retrieved from the knowledge base pre-established
To preset number answer and the corresponding typical problem of each answer;Wherein, the knowledge base include multiple groups question and answer pair, every group
Question and answer are to including corresponding typical problem and answer;By deep semantic model trained in advance, obtains each preset number and answer
The matching degree score of case and the solicited message;According to the sequence of the score from high to low, from the preset number answer
Middle selected section answer is as the second words art to be recommended;Step 23 is specifically, according to the described first words art to be recommended and described
Two words arts to be recommended determine the consequently recommended words art.
Further, according to the pre-set preferential of the described first words art to be recommended and the second words art to be recommended
Grade selects the consequently recommended words art recommended to customer service from the described first words art to be recommended and the second words art to be recommended.Or
Person passes through using the described first words art to be recommended and the second words art to be recommended as the input of the decision model pre-established
The output of the decision model obtains the consequently recommended words art recommended to customer service.
In one example, before step 23, by asking in active user's question sentence and the knowledge base pre-established
It answers questions the problem of doing to match with problem, determines in the knowledge base typical problem similar to active user's question sentence and similar
Degree;Wherein, the knowledge base includes multiple groups question and answer pair, and every group of question and answer are to including corresponding typical problem and answer;According to similar
The sequence of degree from high to low, the selected section typical problem from typical problem similar with active user's question sentence will be described
The corresponding answer of part of standards problem is as third words art to be recommended;Step 23 is specifically, according to the described first words art to be recommended
With third words art to be recommended, the consequently recommended words art is determined.
Further, the pre-set preferential of art is talked about according to the described first words art to be recommended and the third are to be recommended
Grade selects the consequently recommended words art recommended to customer service from the described first words art to be recommended and third words art to be recommended.Or
Person passes through using the described first words art to be recommended and third words art to be recommended as the input of the decision model pre-established
The output of the decision model obtains the consequently recommended words art recommended to customer service.
It is understood that step 23 can also be, according to the described first words art to be recommended, described second recommend words art and
The third words art to be recommended, determines the consequently recommended words art.
Further, according to the described first words art, the second recommendation words art and third words art to be recommended to be recommended
Pre-set priority, recommend words art and third words art to be recommended from the described first words art to be recommended, described second
The middle consequently recommended words art for selecting to recommend to customer service.Alternatively, by the described first words art, the second recommendation words art and institute to be recommended
Input of the third words art to be recommended as the decision model pre-established is stated, is obtained by the output of the decision model to customer service
The consequently recommended words art recommended.
The method provided by this specification embodiment, first against active user's question sentence, by active user's question sentence
Information above with active user's question sentence is as solicited message, by solicited message input long article one's duty trained in advance
Class model, by the output of the long text disaggregated model obtain the solicited message correspond to it is preset of all categories general
Rate, the corresponding high frequency of each classification talk about art;Then preset probability of all categories is corresponded to according to the solicited message,
It sorts of all categories from high to low according to the probability, using the high frequency for the preceding predetermined number classification that sorts words art as first
Words art to be recommended;Finally according at least to the described first words art to be recommended, the consequently recommended words art recommended to customer service is determined.This explanation
In book embodiment, has and combine context understanding ability, while the robustness of disaggregated model determines the accuracy rate of the model very
Height has the ability for more information above accurately being combined to recommend high frequency words art to customer service, and since words art is that customer service is common
High frequency talks about art, therefore is more easier to be received by customer service.Generally speaking, art if recommending can be made to state to ask with user and match, and
Meets the needs of customer service.
According to the embodiment of another aspect, also providing one kind, art recommendation apparatus, the device are used to execute towards customer service
The art recommended method towards customer service that this specification embodiment provides.What Fig. 3 was shown according to one embodiment towards customer service
Talk about the schematic block diagram of art recommendation apparatus.As shown in figure 3, the device 300 includes:
Taxon 31, for being directed to active user's question sentence, by active user's question sentence and active user's question sentence
Information above as solicited message, by solicited message input long text disaggregated model trained in advance, pass through the length
The output of textual classification model obtains the solicited message corresponding to preset probability of all categories, each classification corresponding one
A high frequency talks about art;
First recommendation unit 32, the solicited message for being obtained according to the taxon 31, which corresponds to, to be preset
Probability of all categories, sort of all categories from high to low according to the probability, by the preceding predetermined number classification that sorts
High frequency talks about art as the first words art to be recommended;
Determination unit 33, the first words art to be recommended for being obtained according at least to first recommendation unit 32, determine to
The consequently recommended words art that customer service is recommended.
Optionally, as one embodiment, described device further include:
Cluster cell, for being directed to active user's question sentence in the taxon 31, by active user's question sentence and institute
The information above of active user's question sentence is stated as solicited message, by solicited message input long text classification mould trained in advance
Before type, from multiple answers that frequency of occurrence is more than default value in the conversation log of user and customer service, are obtained, by multiple answers
Cluster determines that the corresponding high frequency of each classification talks about art according to cluster result;
Training unit, the information above of each answer for obtaining the cluster cell is as long text classification mould
The sample of type inputs, using the corresponding classification of each answer as the sample label of the long text disaggregated model, to the long text
Disaggregated model is trained.
Optionally, as one embodiment, described device further include:
First retrieval unit, in first recommendation unit 32 by the high frequency for the preceding predetermined number classification that sorts
After art is talked about as the first words art to be recommended, according to the described first words art to be recommended, retrieved from the knowledge base pre-established
To the similar answer and the corresponding typical problem of the similar answer of the described first words art to be recommended;Wherein, the knowledge base packet
Question and answer containing multiple groups pair, every group of question and answer are to including corresponding typical problem and answer;
Associative cell, the similar answer pair for retrieving the described first words art to be recommended to first retrieval unit
The typical problem answered establishes corresponding relationship, for determining the corresponding typical problem of the consequently recommended words art.
Optionally, as one embodiment, described device further include:
Second retrieval unit, for, according at least to the described first words art to be recommended, being determined to visitor in the determination unit 33
Before taking the consequently recommended words art recommended, according to the solicited message, retrieval obtains present count from the knowledge base pre-established
Mesh answer and the corresponding typical problem of each answer;Wherein, the knowledge base includes multiple groups question and answer pair, and every group of question and answer are to packet
Include corresponding typical problem and answer;
First matching unit, for obtaining the second retrieval unit retrieval by deep semantic model trained in advance
The matching degree score of each preset number answer and the solicited message arrived;
Second recommendation unit, the sequence of score from high to low for being obtained according to first matching unit, from described
Selected section answer is as the second words art to be recommended in preset number answer;
The determination unit 33, specifically for the first words art to be recommended obtained according to first recommendation unit 32 and institute
The the second recommendation unit obtains second words art to be recommended is stated, determines the consequently recommended words art.
Further, the determination unit 33, specifically for according to the described first words art to be recommended and described second wait push away
The pre-set priority for recommending words art, selects from the described first words art to be recommended and the second words art to be recommended to customer service
The consequently recommended words art recommended.
Further, the determination unit 33 is specifically used for the described first words art to be recommended and described second to be recommended
Input of the art as the decision model pre-established is talked about, is finally pushed away by what the output of the decision model obtained recommending to customer service
Recommend words art.
Optionally, as one embodiment, described device further include:
Second matching unit, for, according at least to the described first words art to be recommended, being determined to visitor in the determination unit 33
Before taking the consequently recommended words art recommended, by the question and answer in active user's question sentence and the knowledge base that pre-establishes to doing problem
It is matched with problem, determines typical problem similar with active user's question sentence and similarity in the knowledge base;Wherein, described
Knowledge base includes multiple groups question and answer pair, and every group of question and answer are to including corresponding typical problem and answer;
Third recommendation unit, the similarity sequence from high to low for being determined according to second matching unit, from
Selected section typical problem in the similar typical problem of active user's question sentence, by the corresponding answer of the part of standards problem
As third words art to be recommended;
The determination unit 33, specifically for the first words art to be recommended obtained according to first recommendation unit 32 and institute
The third words art to be recommended that third recommendation unit obtains is stated, determines the consequently recommended words art.
Further, the determination unit 33, specifically for waiting pushing away according to the described first words art to be recommended and the third
The pre-set priority for recommending words art, selects from the described first words art to be recommended and third words art to be recommended to customer service
The consequently recommended words art recommended.
Further, the determination unit 33 is specifically used for the described first words art to be recommended and the third is to be recommended
Input of the art as the decision model pre-established is talked about, is finally pushed away by what the output of the decision model obtained recommending to customer service
Recommend words art.
The device provided by this specification embodiment, first taxon 31 are directed to active user's question sentence, work as by described in
The information above of preceding user's question sentence and active user's question sentence inputs training in advance as solicited message, by the solicited message
Long text disaggregated model, by the output of the long text disaggregated model obtain the solicited message correspond to it is preset
Probability of all categories, the corresponding high frequency of each classification talk about art;Then the first recommendation unit 32 is corresponding according to the solicited message
It in preset probability of all categories, sorts of all categories from high to low according to the probability, will sort preceding predetermined number
The high frequency words art of mesh classification is as the first words art to be recommended;Last determination unit 33 is according at least to the described first words to be recommended
Art determines the consequently recommended words art recommended to customer service.In this specification embodiment, has and combine context understanding ability, simultaneously
The robustness of disaggregated model determines that the accuracy rate of the model is very high, has and more accurately information above is combined to recommend to customer service
High frequency talks about the ability of art, and since words art is the common high frequency words art of customer service, is more easier to be received by customer service.Total comes
It says, art if recommending can be made to state to ask with user and match, and meet the needs of customer service.
Fig. 4 shows the schematic block diagram of art recommendation apparatus towards customer service according to another embodiment.Such as Fig. 4 institute
Show, the device 400 include: natural language understanding (natural language understanding, NLU) module 41, up and down
Module 46, knot are retrieved/recalled to literary management module 42, words art categorization module 44, answer recommending module 45, at semantic matches module 43
Close the answer sorting module 47 of text.
For customer problem, initially enters NLU module 41 and carry out Chinese word segmentation, syntactic analysis and information extraction, then
The context of dialogue is obtained by context management module 42.
Semantic matches module 43 mainly uses depth learning technology, with the question and answer in user's current problem and knowledge base to doing
Problem-problem matching, finds out with problem most like in knowledge base, goes out front three (TOP3) according to sequencing of similarity and ask accordingly
Topic-answer pair.
It talks about art categorization module 44 and excavates high frequency words art and corresponding contextual information, the corresponding long article one's duty of training offline
Class model.Online service part carries out long text classification using user and customer service context, chooses the classification words art conduct of TOP3
Output words art, and similar to search is done in knowledge base, choose the answer in knowledge base with currently talking about art or jaccard
Similarity factor as similar answer and releases corresponding problem greater than 0.8.Wherein, jaccard similarity factor (jaccard
Similarity coefficient) for comparing similitude and otherness between finite sample collection.
Answer recommending module 45 then use user's current problem and preceding 5 word as request, calling retrieve/recall module
46 recall preceding 10 question and answer to as candidate question and answer from knowledge base, and then this 10 answers are input in conjunction with answer above
In sorting module 47, the answer of information above and candidate that answer sorting module 47 is talked with according to epicycle is done deep semantic and is sentenced
It is disconnected, thus the problem of obtaining the score of this 10 answers and sorted according to score, exporting TOP3-answer pair.
Finally, NLU module 41 exports semantic matches module 43, words art categorization module 44 and answer recommending module 45
As a result it merges, exports answer of the final TOP3 answer as user's current problem.
In this specification embodiment, semantic matches model workable for semantic matches module 43 has semantic similarity model
(word average model, WAM), shot and long term memory network (long short-term memory network, LSTM),
Convolutional neural networks (convolutional neural network, CNN), time convolutional network (temporal
Convolutional network, TCN), ESIM, MVLSTM, MATCHPYAMID even depth semantic matches model;
The model that words art categorization module 44 can be used has textual classification model FastText, CNN, character level convolutional Neural
Network (character convolutional neural network, Char-CNN), LSTM, the shot and long term based on attention
Memory network (attention-based long short-term memory network, attention-based LSTM)
Even depth learning classification model;
RNN, LSTM, a kind of answer recommended models of combination context can be used in conjunction with answer sorting module 47 above
A kind of (deep learning-to-rank, DL2R), multi-angle question and answer recommended models (multi-view response
Selection for human-computer conversation, Multi-view), a kind of answer of combination context pushes away
Recommend model (sequential matching network, SMN) even depth learning model;
Retrieving/recall module 46 can be used keyword search with weight metric algorithm BM25, TF-IDF calculating weight etc..
In this specification embodiment, the current described content of user is not only considered, it is also contemplated that user and customer service are hereinbefore
Described content, comprehensively considers contextual information in this way, can more accurately understand that user is intended to, and by information input above
In model, customer service is recommended by the suitable answer of Automatic Model Selection and is used;Words art disaggregated model can excavate visitor offline
Art if clothes are collected or is common, and the art disaggregated model in conjunction with context is trained, have and combine context understanding ability,
The robustness of disaggregated model determines that the accuracy rate of the model is very high simultaneously, has and more accurately combines information above to customer service
Recommend the ability of high frequency words art, and since words art is the common high frequency words art of customer service, is more easier to be received by customer service.
Comprehensively consider user's current utterance and information above, can more accurate understanding user be currently intended to, and from knowledge
Recommend suitable words art in library;Multi-model integration program can integrate simple sentence semantic matches, in conjunction with art classification, knot if context
The respective advantage of answer sequence hereafter is closed, promotes the accuracy rate that words art is recommended according to Model Fusion;Not only consider to utilize knowledge
Library is done words art and is recommended, while considering that customer service high frequency talks about art, so that art is easier to be received by customer service if releasing, promotes customer service and talks about art
Clicking rate.
According to the embodiment of another aspect, a kind of computer readable storage medium is also provided, is stored thereon with computer journey
Sequence enables computer execute method described in conjunction with Figure 2 when the computer program executes in a computer.
According to the embodiment of another further aspect, a kind of calculating equipment, including memory and processor, the memory are also provided
In be stored with executable code, when the processor executes the executable code, realize method described in conjunction with Figure 2.
Those skilled in the art are it will be appreciated that in said one or multiple examples, function described in the invention
It can be realized with hardware, software, firmware or their any combination.It when implemented in software, can be by these functions
Storage in computer-readable medium or as on computer-readable medium one or more instructions or code transmitted.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects
It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention
Protection scope, all any modification, equivalent substitution, improvement and etc. on the basis of technical solution of the present invention, done should all
Including within protection scope of the present invention.