TWI677846B - Method and device for transferring robot customer service to manual customer service - Google Patents

Method and device for transferring robot customer service to manual customer service Download PDF

Info

Publication number
TWI677846B
TWI677846B TW106118915A TW106118915A TWI677846B TW I677846 B TWI677846 B TW I677846B TW 106118915 A TW106118915 A TW 106118915A TW 106118915 A TW106118915 A TW 106118915A TW I677846 B TWI677846 B TW I677846B
Authority
TW
Taiwan
Prior art keywords
customer service
user
features
artificial
conversation
Prior art date
Application number
TW106118915A
Other languages
Chinese (zh)
Other versions
TW201804420A (en
Inventor
陳利霞
杜敏
Original Assignee
香港商阿里巴巴集團服務有限公司
Alibaba Group Services Limited
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 香港商阿里巴巴集團服務有限公司, Alibaba Group Services Limited filed Critical 香港商阿里巴巴集團服務有限公司
Publication of TW201804420A publication Critical patent/TW201804420A/en
Application granted granted Critical
Publication of TWI677846B publication Critical patent/TWI677846B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Abstract

本申請提供一種機器人客服轉人工客服的方法,包括:從機器人客服與用戶的至少一輪會話中獲取有效特徵;將有效特徵輸入信心評估模型,得到機器人客服與用戶會話的當前信心評估值;所述信心評估模型採用標記有有效特徵和適宜出人工點的機器人客服與使用者的會話樣本進行訓練,所述適宜出人工點為以人工客服代替機器人客服的適當時點;在當前信心評估值滿足預定出人工條件時,將使用者轉接人工客服。本申請的技術方案能夠根據當前會話的實際情況來識別使用者轉人工客服的需求程度,在提高使用者對服務的滿意程度的同時,減少了人工客服的不必要工作,提高了客服系統的服務效率。 This application provides a method for transferring robot customer service to manual customer service, which includes: obtaining valid features from at least one round of conversation between the robot customer service and the user; inputting the valid features into a confidence evaluation model to obtain the current confidence evaluation value of the robot customer service and the user session; The confidence assessment model is trained using conversation samples of robotic customer service and users marked with valid features and suitable artificial points. The suitable artificial points are the appropriate points in time when the artificial customer service is used instead of the robotic customer service. In the case of artificial conditions, the user is transferred to the manual customer service. The technical solution of the present application can identify the degree of user-to-manual customer service needs based on the actual situation of the current conversation. While improving the user's satisfaction with the service, it reduces unnecessary work of manual customer service and improves the service of the customer service system. effectiveness.

Description

機器人客服轉人工客服的方法和裝置 Method and device for transferring robot customer service to manual customer service

本申請關於資料處理技術領域,尤其關於一種機器人客服轉人工客服的方法和裝置。 The present application relates to the field of data processing technology, and in particular, to a method and device for converting robotic customer service to manual customer service.

隨著互聯網的發展,基於人工智慧技術的虛擬機器人在企業使用者服務領域的應用越來越廣泛。機器人客服不需要休息,可以更加快速和標準化的回應使用者的問題,以語音對話或文字聊天的形式與使用者進行溝通,將人工客服從大量重複性問答中解放出來。 With the development of the Internet, virtual robots based on artificial intelligence technology are increasingly used in the field of enterprise user services. The robot customer service does not need to rest. It can respond to the user's questions more quickly and standardized, communicate with the user in the form of voice dialogue or text chat, and free the artificial customer service from a large number of repetitive questions and answers.

對一些非常規的用戶問題,機器人客服往往難以給出令用戶滿意的答覆。目前客服中心最為常用的架構是機器人客服與人工客服並存,缺省由機器人客服先接待用戶,當機器人客服與用戶的會話輪次(以一次用戶發言、或者一次機器人客服發言和一次用戶發言為一個輪次)超過預定的出人工輪次閾值時,轉接人工客服。這種方式在大多數情況下捕捉不到合適的由機器人客服到人工客服的轉接點,例如機器人客服正在與用戶進行多輪次的有效交互,雖然達到了預定的出人工輪次閾值,但並沒有遇到需要人工介入的服務障礙,這種方式會造成人工客服不必要的額 外工作;而使用者有緊急的問題需要儘快提交人工處理時,又會因達到預定的出人工輪次閾值前的無效交互影響客服系統的效率和使用者體驗。 For some unconventional user questions, it is often difficult for the robot customer service to give satisfactory answers to users. At present, the most commonly used architecture of the customer service center is the coexistence of robotic customer service and manual customer service. By default, the robotic customer service first receives the user. When the robotic customer service and the user have a round of conversations (using one user speech, or one robot customer service speech and one user speech as one) When the number of rounds exceeds the predetermined threshold for out-of-labour rounds, the manual customer service is transferred. In this case, in most cases, a suitable transfer point from the robot customer service to the manual customer service cannot be captured. For example, the robot customer service is performing multiple rounds of effective interaction with the user. Although the predetermined manual round threshold is reached, Did not encounter service barriers that require human intervention, this approach will cause unnecessary amount of manual customer service When the user has urgent problems and needs to submit manual processing as soon as possible, the efficiency of the customer service system and user experience will be affected due to invalid interactions before reaching the predetermined manual round threshold.

有鑑於此,本申請提供一種機器人客服轉人工客服的方法,包括:從機器人客服與用戶的至少一輪會話中獲取有效特徵;將有效特徵輸入信心評估模型,得到機器人客服與用戶會話的當前信心評估值;所述信心評估模型採用標記有有效特徵和適宜出人工點的機器人客服與使用者的會話樣本進行訓練,所述適宜出人工點為以人工客服代替機器人客服的適當時點;在當前信心評估值滿足預定出人工條件時,將使用者轉接人工客服。 In view of this, this application provides a method for transferring robot customer service to human customer service, which includes: obtaining valid features from at least one round of conversation between the robot customer service and the user; inputting the valid features into a confidence evaluation model to obtain the current confidence evaluation of the robot customer service and user sessions The confidence evaluation model is trained by using conversation samples of robotic customer service and users marked with valid features and suitable artificial points. The suitable artificial points are the appropriate points in time when the artificial customer service replaces the robotic customer service. When the value meets the predetermined artificial conditions, the user is transferred to the artificial customer service.

本申請還提供了一種機器人客服轉人工客服的裝置,包括:有效特徵獲取單元,用於從機器人客服與用戶的至少一輪會話中獲取有效特徵;當前信心評估單元,用於將有效特徵輸入信心評估模型,得到機器人客服與用戶會話的當前信心評估值;所述信心評估模型採用標記有有效特徵和適宜出人工點的機器人客服與使用者的會話樣本進行訓練,所述適宜出人工點 為以人工客服代替機器人客服的適當時點;人工客服轉接單元,用於在當前信心評估值滿足預定出人工條件時,將使用者轉接人工客服。 The application also provides a robot customer service to human customer service device, including: an effective feature acquisition unit for acquiring effective features from at least one round of conversation between the robot customer service and the user; a current confidence evaluation unit for inputting effective features into the confidence evaluation The model obtains the current confidence evaluation value of the conversation between the robot customer service and the user; the confidence evaluation model is trained using the conversation samples of the robot customer service and the user marked with valid features and suitable artificial points, which are suitable for artificial points The appropriate point in time is to replace the artificial customer service with the artificial customer service; the artificial customer service transfer unit is used to transfer the user to the manual customer service when the current confidence evaluation value meets the predetermined artificial conditions.

由以上技術方案可見,本申請的實施例中,採用標記有有效特徵和適宜出人工點的機器人客服與使用者的會話樣本訓練信心評估模型,將正在進行的機器人客戶與使用者的會話輸入到信心評估模型後,根據模型輸出的當前信心評估值來判斷當前是否適合轉接人工客服,從而能夠根據當前會話的實際情況來識別使用者轉人工客服的需求程度,在提高使用者對服務的滿意程度的同時,減少了人工客服的不必要工作,提高了客服系統的服務效率。 As can be seen from the above technical solutions, in the embodiments of the present application, a conversation model of a robot customer service and a user labeled with valid features and suitable artificial points is used to train a confidence evaluation model, and the ongoing conversation between the robot customer and the user is input to After the confidence evaluation model, the current confidence evaluation value output by the model is used to determine whether it is suitable to transfer to manual customer service. This can identify the degree of user to manual customer service according to the actual situation of the current session, and improve the user's satisfaction with the service. At the same time, it reduces unnecessary work of manual customer service and improves the service efficiency of the customer service system.

圖1是本申請實施例中一種機器人客服轉人工客服的方法的流程圖;圖2是運行本申請實施例的設備的一種硬體結構圖;圖3是本申請實施例中一種機器人客服轉人工客服的裝置的邏輯結構圖。 FIG. 1 is a flowchart of a method for transferring robot customer service to manual customer service in an embodiment of the present application; FIG. 2 is a hardware structure diagram of a device running an embodiment of the application; FIG. 3 is a robot customer service to manual operation in the embodiment of the present application The logical structure of the customer service device.

本申請的實施例提出一種新的機器人客服轉人工客服的方法,在機器人客服與使用者的會話樣本中人工標注有效特徵和適宜出人工點,對信心評估模型進行訓練,並利用訓練後的信心評估模型和當前會話的有效特徵,對當前 的機器人服務品質進行評估,來發現轉接人工客服的合適時點,以便根據當前會話的實際進行情況來確定出人工點,既能提升用戶的體驗,又能避免人工客服不必要的工作負荷,從而解決現有技術中存在的問題。 The embodiment of the present application proposes a new method of transferring robot customer service to manual customer service. In the conversation sample between the robot customer service and the user, the effective features are manually marked and the artificial points are suitable. The confidence evaluation model is trained, and the confidence after training is used. Assess the effective characteristics of the model and the current session. The service quality of robots is evaluated to find the appropriate time for transferring human service, so that the human point can be determined according to the actual progress of the current session, which can improve the user experience and avoid unnecessary workload of human service. Solve the problems in the prior art.

本申請的實施例可以應用在任何具有計算和儲存能力的設備上,例如可以是手機、平板電腦、PC(Personal Computer,個人電腦)、筆記本、伺服器、虛擬機器等物理設備或邏輯裝置;也可以由兩個或兩個以上分擔不同職責的物理或邏輯裝置、相互協同來實現本申請實施例中的各項功能。 The embodiments of the present application can be applied to any device having computing and storage capabilities, such as a physical device or a logical device such as a mobile phone, a tablet computer, a PC (Personal Computer, personal computer), a notebook, a server, a virtual machine, etc .; Various functions in the embodiments of the present application may be implemented by two or more physical or logical devices sharing different responsibilities and cooperating with each other.

本申請的實施例中,機器人客服轉人工客服的方法的流程如圖1所示。 In the embodiment of the present application, the flow of the method for transferring robot customer service to manual customer service is shown in FIG. 1.

本申請的實施例中,採用機器學習技術來建立信心評估模型,用來對機器人客服與用戶會話過程中的某個時點是否應轉接人工客服進行評估。具體而言,將一定數量的機器人客服與使用者的會話記錄作為會話樣本,在會話樣本上人工標注有效特徵和各個會話過程中的適宜出人工點,利用會話樣本對信心評估模型進行訓練。 In the embodiment of the present application, a machine learning technology is used to establish a confidence evaluation model, which is used to evaluate whether a robot customer service should be transferred to a manual customer service at a certain point in the conversation between the customer service and the user. Specifically, the conversation records of a certain number of robot customer service and users are used as conversation samples, and the effective features and suitable artificial points during each conversation are manually labeled on the conversation samples, and the confidence evaluation model is trained using the conversation samples.

其中,有效特徵是對會話樣本中出現的與轉接人工需求相關的各種因素的抽象表達。有效特徵可以採用人工、或人工和資料採擷技術相結合的方式來生成、評估。一種實現方式中,可以由技術人員根據自身的工作經驗、機器人客服與使用者會話的歷史資料、使用者問題解決情況等方面來總結、提煉得出。 Among them, the effective feature is an abstract expression of various factors related to the transfer of manual requirements that appear in the conversation sample. Effective features can be generated and evaluated manually, or a combination of manual and data-picking techniques. In an implementation manner, the technical personnel can summarize and refine it according to their own work experience, historical data of the robot customer service and user conversation, and user problem solving.

在另一種實現方式中,可以先將人工總結、提煉的能夠描述機器人客服的服務品質和使用者的轉人工意願的特徵作為待定特徵,將待定特徵、適宜出人工點和實際出人工點標注在會話樣本上,結合會話樣本中每個會話的服務效果,採用預定的資料分析演算法對待定特徵進行評估和整合,得到對轉接人工需求影響明顯、覆蓋因素全面的若干個有效特徵。例如,可以人工分析機器人客戶與使用者會話的歷史資料,從中挖掘影響使用者對人工服務的需求的因素;對這些因素進行提煉、歸類,抽象化為待定特徵,待定特徵從會話上下文、業務、使用者體驗、服務軌跡等各個不同方面完備的描述了影響轉接人工需求的上述因素;按照使用者回饋、使用者的問題解決情況以及使用者的滿意度情況等來得出會話樣本中各個會話的服務效果,採用特徵選擇、特徵抽取演算法對標記有待定特徵、適宜出人工點和實際出人工點的會話樣本和服務效果進行分析,得出有效特徵。 In another implementation, the characteristics that can be manually summarized and refined that can describe the service quality of the robot customer service and the user's willingness to transfer labor can be used as pending features, and the pending features, suitable artificial points, and actual artificial points can be marked in On the conversation sample, combined with the service effect of each conversation in the conversation sample, a predetermined data analysis algorithm is used to evaluate and integrate the features to be determined, and a number of effective features that have a significant impact on the transfer of manual requirements and comprehensive coverage factors are obtained. For example, you can manually analyze the historical data of the robot customer's conversation with the user to mine the factors that affect the user's demand for artificial services; these factors are refined, classified, and abstracted into pending features. The pending features are from the conversation context and business. , User experience, service trajectory and other aspects comprehensively describe the above factors affecting the transfer of manual requirements; according to user feedback, user problem solving and user satisfaction, etc., each conversation in the conversation sample is obtained Using the feature selection and feature extraction algorithms to analyze the conversation samples and service effects marked with pending features, suitable artificial points and actual artificial points, the effective features are obtained.

各種能夠用來進行特徵分類和評估的資料分析演算法都可以用於生成有效特徵,本申請的實施例中不做限定。在一些應用場景中,所採用的資料分析演算法不僅能夠基於會話樣本和服務效果得出有效特徵,還能夠給出每個有效特徵對轉接人工需求的影響的權重;在這些應用場景中,每個有效特徵的權重將用於信心評估模型的訓練,和/或訓練後信心評估模型的使用中。 Various data analysis algorithms that can be used for feature classification and evaluation can be used to generate effective features, which are not limited in the embodiments of the present application. In some application scenarios, the data analysis algorithm used can not only obtain effective features based on the conversation samples and service effects, but also give the weight of the impact of each effective feature on the transfer of manual requirements. In these application scenarios, The weight of each valid feature will be used for training the confidence assessment model, and / or the use of the confidence assessment model after training.

在機器人客服和用戶的會話過程中,人工客服通常在 使用者發言之後的時點代替機器人客服。在會話樣本的各個會話中,如果某個用戶發言之後的時點是以人工客服代替機器人客服的適當時點,則可以將其標記為適宜出人工點。一個會話中可以有一個到多個適宜出人工點。 During the conversation between the robot customer service and the user, the human customer service is usually in The time after the user speaks will replace the robot customer service. In each conversation of the conversation sample, if a user speaks at a suitable point in time after the robotic customer service is replaced by a human customer service, it can be marked as suitable for the artificial point. There can be one or more suitable artificial points in a session.

信心評估模型用來以機器人客服和用戶的會話為基礎獲得信心評估值,信心評估值是信心評估模型對轉接人工需求程度的估計值,或者說,對會話中某時點應該由人工客服代替機器人客服的程度打出的一個分值。本申請實施例中對信心評估模型所採用的具體演算法不做限定,例如,可以是SVR(Support Vector Regression,支援向量回歸)演算法、LR(Logistic Regression,邏輯回歸)演算法、或GBDT(Gradient Boosting Decision Tree,反覆運算決策樹)演算法等。 The confidence evaluation model is used to obtain a confidence evaluation value based on the conversation between the robot customer service and the user. The confidence evaluation value is an estimate of the degree of manual labor required by the confidence evaluation model. Or, at some point in the conversation, the human customer service should replace the robot. The score of the degree of customer service. The embodiment of the present application does not limit the specific algorithm used in the confidence assessment model. For example, it can be an SVR (Support Vector Regression) algorithm, an LR (Logistic Regression) algorithm, or a GBDT (Logistic Regression) algorithm. Gradient Boosting Decision Tree algorithm.

在信心評估模型訓練完成後,可以在即時的機器人客服與用戶的會話過程中,利用信心評估模型來判斷在會話中用戶發言後的時點,是否需要切換為人工客服。 After the training of the confidence evaluation model is completed, during the instant conversation between the robot customer service and the user, the confidence evaluation model can be used to determine whether the user needs to switch to manual customer service at the time after the user speaks during the conversation.

步驟110,從機器人客服與用戶的至少一輪會話中獲取有效特徵。 Step 110: Obtain valid features from at least one round of conversation between the robot customer service and the user.

本申請的實施例中,以一次用戶發言、或者一次機器人客服發言和一次用戶發言為一個輪次。通常機器人客服與用戶的會話的第一輪是用戶發言,第二輪及後續輪次是一次機器人客服發言和一次用戶發言。每個輪次以用戶發言來結束,該時點也即是可以由人工客服代替機器人客服的時點。 In the embodiment of the present application, one round of speaking is made by one user, or one speaking by a robot customer service and one speaking by a user. Usually the first round of the conversation between the robot customer service and the user is the user's speech, and the second and subsequent rounds are a robot customer service speech and the user's speech. Each round ends with a user's speech, which is also the point at which the artificial customer service can replace the robotic customer service.

本步驟中獲取的有效特徵將用來作為信心評估模型的輸入,用來得到當前時點的信心評估值。可以將當前時點前預定輪次數目的會話作為獲取有效特徵的基礎,如果當前時點已經進行的會話輪次小於預定輪次數目,則整個會話作為獲取有效特徵的基礎;也可以始終將已經進行的整個會話作為獲取有效特徵的基礎;不做限定。 The valid features obtained in this step will be used as an input to the confidence assessment model to obtain the confidence assessment value at the current point in time. The target session for a predetermined number of rounds before the current point in time can be used as a basis for obtaining valid features. If the number of sessions that have been performed at the current point in time is less than the predetermined number of rounds, the entire session can be used as a basis for obtaining valid features. Sessions serve as the basis for obtaining valid features; they are not restricted.

在一種實現方式中,可以直接從機器人客服與用戶的一輪到多輪會話中,按照一定的規則提取出有效特徵。例如,對文本會話,可以參照語義分析、關鍵字匹配、業務內容匹配等現有技術設置各個有效特徵的識別規則,從而自動從上述會話中得到有效特徵;對語音會話,可以先採用語音辨識技術將其轉換為文本會話,在利用上述方法來得到有效特徵。 In one implementation, effective features can be extracted directly from one to multiple rounds of conversations between the robot customer service and the user according to certain rules. For example, for text conversations, you can refer to existing technologies such as semantic analysis, keyword matching, and business content matching to set the recognition rules for each effective feature, so as to automatically obtain effective features from the above conversations. For voice conversations, you can first use speech recognition technology to It is converted into a text conversation, and the above methods are used to obtain effective features.

在另一種實現方式中,可以先從機器人客服與用戶的一輪到多輪會話中提取原始特徵,再按照特徵預處理規則對原始特徵進行拆分、組合、分類、和/或刪除後得到有效特徵。類似的,對文本會話,可以參考語義分析、關鍵字匹配、業務內容匹配等現有技術設置各個原始特徵的發現規則,從而自動從一輪到多輪會話中提取出原始特徵;對語音會話,可以先採用語音辨識技術將語音會話轉換為文本會話,在利用原始特徵的發現規則來提取出原始特徵。 In another implementation, the original features can be extracted from one to multiple rounds of conversations between the robot customer service and the user, and then the original features can be split, combined, classified, and / or deleted according to the feature pre-processing rules to obtain valid features. . Similarly, for text conversations, you can refer to existing technologies such as semantic analysis, keyword matching, and business content matching to set the discovery rules for each original feature, so as to automatically extract the original features from one or more rounds of conversations; for voice conversations, you can first The speech recognition technology is used to convert the speech conversation into a text conversation, and the original features are extracted using the discovery rules of the original features.

特徵預處理規則描述了從原始特徵到有效特徵的映射關係,包括以下的一種到多種:哪個或哪些原始特徵可以 刪除、哪個原始特徵可以拆分為哪幾個有效特徵、哪個或哪些原始特徵可以歸屬為代表某個類別的有效特徵、哪些原始特徵可以組合為哪個有效特徵等等。 Feature preprocessing rules describe the mapping from original features to valid features, including one or more of the following: which original feature or features can Delete, which original feature can be split into which valid features, which original feature or features can be classified as valid features representing a certain category, which original features can be combined into which valid feature, and so on.

例如,在一種應用場景中,在業務和用戶回饋兩個維度上的原始特徵如表1所示: For example, in an application scenario, the original features in the two dimensions of business and user feedback are shown in Table 1:

在表1中的原始特徵中,如果機器人客服的一個回覆是兜底答案,則該回覆的答案匹配度必然不高(如果機器人客服能夠查詢到匹配度較高的答案,會以該答案而不是兜底答案來回覆用戶),假設答案匹配度和是否兜底答案都是有效特徵,則可以在特徵預處理規則中可以包括這樣一條:如果一個回覆可提取出是否兜底答案原始特徵和答案匹配度原始特徵,則將這兩個原始特徵合併為是否兜底答案原始特徵;以免同時採用這兩個有效特徵導致同一事實對信心評估值的雙重影響。 In the original features in Table 1, if a response from the robot customer service is a bottom answer, the answer must have a low degree of matching (if the robot customer service can find a highly matching answer, the answer will be used instead of the bottom answer. Answer the user repeatedly), assuming that the answer matching degree and whether the answer is a valid feature, you can include one in the feature pre-processing rule: if a reply can extract whether the answer is the original feature and the answer match degree original feature, Then combine the two original features into the original answer of the answer to the question of whether to use the two valid features at the same time, so as not to cause the double impact of the same fact on the confidence evaluation value.

由於信心評估模型基於有效特徵進行訓練,因此對訓練後信心評估模型的使用也以有效特徵為輸入。由於訓練信心評估模型需要一定數量人工標注的會話樣本,而實際客戶服務中的會話情況可能因業務的增加、業務流程的變更、流行語言的變化而不斷變動。在這種實現方式中,可以採用概括性和抽象化的特徵作為有效特徵,而根據業務發展和變化的具體情況來設置原始特徵、原始特徵發現規則和特徵預處理規則,這樣不需因為實際業務情況的變化不斷的重新生成會話樣本和訓練信心評估模型,而仍然可以保持信心評估模型的準確程度。 Since the confidence assessment model is trained based on valid features, the use of the trained confidence assessment model also takes valid features as input. Because training a confidence assessment model requires a certain number of manually labeled conversation samples, the actual conversation situation in customer service may change constantly due to the increase in business, changes in business processes, and changes in popular languages. In this implementation, general and abstract features can be used as effective features, and the original features, original feature discovery rules, and feature pre-processing rules can be set according to the specific circumstances of business development and changes, so that there is no need to Changes in the situation constantly regenerate the conversation samples and train the confidence assessment model, while still maintaining the accuracy of the confidence assessment model.

原始特徵發現規則和/或特徵預處理規則可以以代碼的方式固化在完成本步驟的程式中,也可以寫在設定檔中。對存在設定檔的應用場景,可以在執行本步驟前先獲取設定檔,從中讀取原始特徵發現規則和/或特徵預處理規則,再將其應用於原始特徵提取和/或從原始特徵得到 有效特徵。 The original feature discovery rules and / or feature pre-processing rules can be fixed in code in the program that completes this step, or written in a configuration file. For application scenarios where a profile exists, you can obtain the profile before executing this step, read the original feature discovery rules and / or feature pre-processing rules from it, and then apply it to the original feature extraction and / or obtain from the original features Effective features.

需要說明的是,可以在待定特徵中選擇原始特徵,也可以將在待定特徵不存在的其他特徵作為原始特徵,不做限定。 It should be noted that the original features may be selected from the pending features, or other features that do not exist in the pending features may be used as the original features without limitation.

步驟120,將有效特徵輸入信心評估模型,得到機器人客服與用戶會話的當前信心評估值。 In step 120, the effective features are input into the confidence evaluation model to obtain the current confidence evaluation value of the conversation between the robot customer service and the user.

步驟130,在當前信心評估值滿足預定出人工條件時,將使用者轉接人工客服。 Step 130: When the current confidence evaluation value meets the predetermined artificial condition, the user is transferred to the artificial customer service.

在獲取到機器人客服與用戶會話中對應於當前時點的有效特徵後,將有效特徵輸入到訓練後的信心評估模型中,即可得到當前時點的信心評估值。如果當前信心評估值滿足預定出人工條件,則認為當前時點需要人工客服介入,將使用者轉接至人工客服。 After the valid features corresponding to the current point in time between the robot customer service and the user are obtained, the valid features are input into the trained confidence assessment model to obtain the confidence value at the current point in time. If the current confidence assessment value meets the predetermined artificial conditions, it is considered that the manual customer service intervention is required at the current point in time, and the user is transferred to the manual customer service.

預定出人工條件可以是當前信心評估值大於或小於預定信心閾值,視實際應用場景中當前信心評估值更高是代表更強的轉接人工需求程度,還是更弱的轉接人工需求程度。預定信心閾值可以由技術人員綜合考慮訓練後信心評估模型與會話樣本的擬合程度、實際應用場景中的使用者會話和人工客服的數量比例等因素來確定。也可以由設置一定的標準,由程式根據所設置的標準自動確定預定信心閾值。例如,可以將會話樣本輸入到訓練後的信心評估模型中,得到會話樣本中對應於適宜出人工點的樣本信心評估值;設定一系列不同的預定信心閾值的具體數值,計算當選擇不同數值的預定信心閾值時樣本信心評估值的覆蓋 率和準確率,設定針對覆蓋率和準確率的評判標準,按照評判標準的評價最好的覆蓋率和準確率對應的數值作為預定信心閾值。其中,覆蓋率是會話樣本中適宜出人工點對應的所有樣本信心評估值中,滿足預定出人工條件(大於或小於預定信心閾值的具體數值)的樣本信心評估值所占的比例;準確率是所有滿足預定出人工條件的樣本信心評估值中,對應於適宜出人工點的樣本信心評估值所占的比例。 The predetermined artificial condition may be that the current confidence evaluation value is greater than or less than the predetermined confidence threshold, depending on whether the higher current confidence evaluation value in the actual application scenario represents a stronger degree of manual labor demand or a weaker degree of manual labor demand. The predetermined confidence threshold can be determined by a technician comprehensively considering factors such as the degree of fit between the confidence evaluation model after training and the conversation samples, the number of user conversations and the number of artificial customer service in the actual application scenario. It is also possible to set a certain standard, and the program automatically determines a predetermined confidence threshold according to the set standard. For example, the conversation samples can be input into the trained confidence assessment model to obtain the sample confidence assessment values corresponding to the artificial points in the conversation samples. A series of specific predetermined confidence thresholds are set, and when different values are selected, Coverage of sample confidence assessments at predetermined confidence thresholds Rate and accuracy rate, setting evaluation criteria for coverage rate and accuracy rate, and evaluating the best coverage rate and accuracy rate corresponding to the evaluation criteria as the predetermined confidence threshold. Among them, the coverage rate is the proportion of the sample confidence assessment values of all sample confidence assessment values corresponding to artificial points in the conversation sample that meet the predetermined artificial conditions (specific values greater than or less than the predetermined confidence threshold); the accuracy rate is The proportion of the sample confidence evaluation value that meets the artificial condition that is predetermined, corresponding to the sample confidence evaluation value suitable for the artificial point.

另外,在採用設定檔的應用場景中,還可以將預定出人工條件也寫入設定檔中,並將從設定檔中讀取的預定出人工條件應用於步驟130。 In addition, in the application scenario where the profile is used, the predetermined artificial condition may also be written into the profile, and the predetermined artificial condition read from the profile may be applied to step 130.

可見,本申請的實施例中,在機器人客服與使用者的會話樣本中人工標注有效特徵和適宜出人工點,採用標記後的會話樣本訓練信心評估模型,並利用訓練後的信心評估模型,對當前的會話中的有效特徵進行評估,根據模型的輸出來判斷當前是否應轉接人工客服,從而能夠根據當前會話的實際進行情況來確定出人工點,既能提升用戶的體驗,又能避免人工客服不必要的工作負荷,提高客服系統的服務效率。 It can be seen that in the embodiment of the present application, the effective features and suitable artificial points are manually labeled in the conversation samples between the robot customer service and the user. The confidence evaluation model is trained using the labeled conversation samples, and the trained confidence evaluation model is used to The effective features in the current session are evaluated, and whether or not a manual customer service should be transferred based on the output of the model can be used to determine the artificial point according to the actual progress of the current session, which can improve the user experience and avoid manual work. Unnecessary workload of customer service, improve service efficiency of customer service system.

在本申請的一個應用示例中,將若干機器人客服與使用者的會話的歷史記錄作為會話樣本,由專業客服人員分析會話樣本,基於不同的維度(包括業務維度、使用者體驗維度、服務軌跡維度等)分析會話樣本,對影響轉接人工需求的因素進行總結、提煉,構造為待定特徵。 In an application example of this application, historical records of conversations between several robot customer service and users are used as conversation samples, and professional customer service staff analyzes the conversation samples based on different dimensions (including business dimensions, user experience dimensions, and service trajectory dimensions). Etc.) Analyze the conversation samples, summarize and refine the factors that affect the transfer of manual needs, and construct them as features to be determined.

在會話樣本中標記待定特徵、適宜出人工點和實際出人工點,按照會話樣本中各個會話的使用者回饋、使用者的問題解決情況及使用者的滿意度情況,利用會話樣本對構造的待定特徵進行資料分析,從中評估出有效特徵並得出有效特徵的權重。 Mark the pending features, suitable artificial points and actual artificial points in the conversation sample. According to the user feedback, user's problem solving situation and user satisfaction of each conversation in the conversation sample, use the conversation sample to determine the pending structure. The characteristics are analyzed by data, from which the effective features are evaluated and the weights of the effective features are obtained.

在會話樣本中標記有效特徵和適宜出人工點,利用標記後的會話樣本對LR演算法的信心評估模型進行訓練。將會話樣本中的會話輸入到訓練後的LR信心評估模型,得到會話樣本中對應於適宜出人工點的樣本信心評估值,由技術人員根據LR信心評估模型對會話樣本的覆蓋率和準確率,確定預定資訊閾值。 Mark the effective features and artificial points in the conversation samples, and use the labeled conversation samples to train the confidence evaluation model of the LR algorithm. The conversation in the conversation sample is input into the trained LR confidence assessment model, and the sample confidence assessment value corresponding to the artificial point in the conversation sample is obtained. The technicians according to the LR confidence assessment model cover the conversation sample and the accuracy rate. Determine the scheduled information threshold.

技術人員在設定檔中寫入原始特徵發現規則和特徵預處理規則,並保存在預定位置。本應用示例在開始運行後,從設定檔中載入原始特徵發現規則和特徵預處理規則。 The technician writes the original feature discovery rules and feature pre-processing rules in the configuration file and saves them in a predetermined location. This application example loads the original feature discovery rules and feature preprocessing rules from the configuration file after it starts running.

當用戶啟動與機器人客服的會話後,在每個用戶發言結束時,按照原始特徵發現規則,在從會話開始到當前時點的已進行會話中提取所有原始特徵,再應用特徵預處理規則,將所有原始特徵映射為屬於當前時點的一個到多個有效特徵。 After the user starts a conversation with the robot customer service, at the end of each user's speech, according to the original feature discovery rules, all original features are extracted from the conversation that has been conducted from the beginning of the session to the current point in time, and then feature preprocessing rules are applied to all The original features are mapped to one or more valid features belonging to the current point in time.

將屬於當前時點的有效特徵輸入訓練後的LR信心評估模型,得到當前信心評估值。設LR信心評估模型以得出的評估值較高表示轉接人工需求更強,則在當前信心評估值大於預定資訊閾值時,將使用者轉接到人工客服,否 則由機器人客服繼續與使用者進行對話。 The valid features belonging to the current time point are input into the LR confidence evaluation model after training, and the current confidence evaluation value is obtained. Set the LR confidence evaluation model to obtain a higher evaluation value, indicating a stronger need for transfer labor. When the current confidence evaluation value is greater than the predetermined information threshold, transfer the user to the manual customer service. No Then the robot customer service continues to talk with the user.

與上述流程實現對應,本申請的實施例還提供了一種機器人客服轉人工客服的裝置,該裝置可以通過軟體實現,也可以透過硬體或者軟硬體結合的方式實現。以軟體實現為例,作為邏輯意義上的裝置,是透過所在設備的CPU(Central Process Unit,中央處理器)將對應的電腦程式指令讀取到記憶體中運行形成的。從硬體層面而言,除了圖2所示的CPU、記憶體以及非揮發性記憶體之外,機器人客服轉人工客服的裝置所在的設備通常還包括用於進行無線信號收發的晶片等其他硬體,和/或用於實現網路通信功能的板卡等其他硬體。 Corresponding to the implementation of the above process, the embodiment of the present application further provides a device for transferring robot customer service to manual customer service. The device may be implemented by software, or may be implemented by hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by reading a corresponding computer program instruction into a memory through a CPU (Central Process Unit, central processing unit) of a device where the device is located. At the hardware level, in addition to the CPU, memory, and non-volatile memory shown in Figure 2, the devices where the robot customer service is transferred to the human customer service usually include other hardware such as chips for wireless signal transmission and reception. And / or other hardware such as boards for network communication functions.

圖3所示為本申請實施例提供的一種機器人客服轉人工客服的裝置,包括有效特徵獲取單元、當前信心評估單元和人工客服轉接單元,其中:有效特徵獲取單元用於從機器人客服與用戶的至少一輪會話中獲取有效特徵;當前信心評估單元用於將有效特徵輸入信心評估模型,得到機器人客服與用戶會話的當前信心評估值;所述信心評估模型採用標記有有效特徵和適宜出人工點的機器人客服與使用者的會話樣本進行訓練,所述適宜出人工點為以人工客服代替機器人客服的適當時點;人工客服轉接單元用於在當前信心評估值滿足預定出人工條件時,將使用者轉接人工客服。 FIG. 3 shows a device for transferring robot customer service to manual customer service according to an embodiment of the present application, which includes an effective feature acquisition unit, a current confidence evaluation unit, and a manual customer service transfer unit. Among them, the effective feature acquisition unit is used to transfer information from the robot customer service to the user. Obtain valid features in at least one round of conversation; the current confidence assessment unit is used to input valid features into the confidence assessment model to obtain the current confidence assessment value of the robot customer service and the user session; the confidence assessment model uses valid features and is suitable for artificial points The robot customer service and the user ’s conversation samples are trained. The suitable labor point is the appropriate time to replace the robot customer service with the artificial customer service. The manual customer service transfer unit is used when the current confidence evaluation value meets the predetermined artificial conditions. Transfer to manual customer service.

一個例子中,所述有效特徵獲取單元具體用於:從機器人客服與用戶的至少一輪會話中提取原始特徵,按照特 徵預處理規則對原始特徵進行拆分、組合、分類、和/或刪除後得到有效特徵。 In one example, the effective feature acquisition unit is specifically configured to extract the original features from at least one round of the conversation between the robot customer service and the user. The feature pre-processing rules are used to split, combine, classify, and / or delete the original features to obtain valid features.

上述例子中,所述裝置還包括設定檔獲取單元,用於獲取設定檔;所述設定檔中包括原始特徵發現規則和/或特徵預處理規則;所述有效特徵獲取單元具體用於:從機器人客服與用戶的至少一輪會話中,按照原始特徵發現規則提取原始特徵。 In the above example, the device further includes a profile obtaining unit for obtaining a profile; the profile includes an original feature discovery rule and / or a feature pre-processing rule; and the effective feature obtaining unit is specifically configured to: During at least one round of conversation between the customer service and the user, the original features are extracted according to the original feature discovery rules.

可選的,所述設定檔中還包括:預定出人工條件。 Optionally, the setting file further includes: presetting artificial conditions.

上述例子中,所述原始特徵包括:業務相關性、答案匹配度、答案重複次數、是否兜底答案、答案是否為提問、用戶明確提出換人工、和用戶有潛在換人工傾向、用戶的情感傾向、用戶在解釋自己的問題中的至少一個。 In the above example, the original characteristics include: business relevance, answer matching, number of times the answer is repeated, whether the answer is a bottom line, whether the answer is a question, the user explicitly proposes a labor change, and the user has a potential labor change tendency, the user's emotional tendency, The user is explaining at least one of their questions.

一種實現方式中,所述有效特徵由預定資料分析演算法根據標記有待定特徵、適宜出人工點和實際出人工點的機器人與使用者的會話樣本以及其中會話的服務效果,對若干待定特徵進行評估及整合後得出;所述待定特徵能夠描述機器人客服的服務品質和使用者的轉人工意願。 In an implementation manner, the effective feature is determined by a predetermined data analysis algorithm based on a sample of a conversation between a robot and a user marked with pending features, suitable artificial points, and actual artificial points, and a service effect of the conversation among them. It is obtained after evaluation and integration; the pending features can describe the service quality of the robot customer service and the user's willingness to transfer labor.

上述實現方式中,所述有效特徵具有各自的權重,由所述預定資料分析演算法計算得出;所述信心評估模型根據有效特徵的權重進行訓練。 In the above implementation manner, the effective features have respective weights and are calculated by the predetermined data analysis algorithm; the confidence evaluation model is trained according to the weights of the effective features.

可選的,所述預定出人工條件包括:當前信心評估值大於或小於預定信心閾值;所述預定信心閾值根據若干個樣本信心評估值的覆蓋率和準確率確定;所述樣本信心評估值為將會話樣本輸入信心評估模型後得到的輸出;所述 覆蓋率為會話樣本中適宜出人工點對應的所有樣本信心評估值中,滿足預定出人工條件的樣本信心評估值所占的比例;所述準確率為所有滿足預定出人工條件的樣本信心評估值中,對應於適宜出人工點的樣本信心評估值所占的比例。 Optionally, the predetermined artificial condition includes: a current confidence evaluation value is greater than or less than a predetermined confidence threshold value; the predetermined confidence threshold value is determined according to the coverage rate and accuracy rate of several sample confidence evaluation values; and the sample confidence evaluation value is Output obtained by inputting a conversation sample into a confidence assessment model; said The coverage rate is the proportion of all sample confidence evaluation values corresponding to artificial points in the conversation sample that meet the predetermined artificial conditions; the accuracy rate is all sample confidence evaluation values that meet the predetermined artificial conditions. The proportion of the sample confidence evaluation value corresponding to the appropriate artificial point.

可選的,所述信心評估模型採用支援向量回歸SVR演算法、邏輯回歸LR演算法、或反覆運算決策樹GBDT演算法。 Optionally, the confidence assessment model uses a support vector regression SVR algorithm, a logistic regression LR algorithm, or an iterative decision tree GBDT algorithm.

以上所述僅為本申請的較佳實施例而已,並不用以限制本申請,凡在本申請的精神和原則之內,所做的任何修改、等同替換、改進等,均應包含在本申請保護的範圍之內。 The above are only preferred embodiments of this application, and are not intended to limit this application. Any modification, equivalent replacement, or improvement made within the spirit and principles of this application shall be included in this application Within the scope of protection.

在一個典型的配置中,計算設備包括一個或多個處理器(CPU)、輸入/輸出介面、網路介面和記憶體。 In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

記憶體可能包括電腦可讀媒體中的非永久性記憶體,隨機存取記憶體(RAM)和/或非揮發性記憶體等形式,如唯讀記憶體(ROM)或快閃記憶體(flash RAM)。記憶體是電腦可讀媒體的示例。 Memory may include non-persistent memory, random access memory (RAM), and / or non-volatile memory in computer-readable media, such as read-only memory (ROM) or flash memory (flash) RAM). Memory is an example of a computer-readable medium.

電腦可讀媒體包括永久性和非永久性、可移動和非可移動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存媒體的例子包括,但不限於相變記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體 (RAM)、唯讀記憶體(ROM)、電可擦除可程式設計唯讀記憶體(EEPROM)、快閃記憶體或其他記憶體技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶磁片儲存或其他磁性存放裝置或任何其他非傳輸媒體,可用於儲存可以被計算設備訪問的資訊。按照本文中的界定,電腦可讀媒體不包括暫存電腦可讀媒體(transitory media),如調製的資料信號和載波。 Computer-readable media includes permanent and non-permanent, removable and non-removable media. Information can be stored by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), and other types of random access memory (RAM), read-only memory (ROM), electrically erasable and programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only disc read-only memory (CD-ROM), Digital versatile discs (DVDs) or other optical storage, magnetic tape cartridges, magnetic tape storage or other magnetic storage devices, or any other non-transmitting media may be used to store information that can be accessed by computing devices. As defined herein, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.

還需要說明的是,術語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個......”限定的要素,並不排除在包括所述要素的過程、方法、商品或者設備中還存在另外的相同要素。 It should also be noted that the terms "including," "including," or any other variation thereof are intended to encompass non-exclusive inclusion, so that a process, method, product, or device that includes a series of elements includes not only those elements but also Other elements not explicitly listed, or those that are inherent to such a process, method, product, or device. Without more restrictions, the elements defined by the sentence "including a ..." do not exclude the existence of other identical elements in the process, method, product, or equipment that includes the elements.

本領域技術人員應明白,本申請的實施例可提供為方法、系統或電腦程式產品。因此,本申請可採用完全硬體實施例、完全軟體實施例或結合軟體和硬體方面的實施例的形式。而且,本申請可採用在一個或多個其中包含有電腦可用程式碼的電腦可用儲存媒體(包括但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的電腦程式產品的形式。 Those skilled in the art should understand that the embodiments of the present application may be provided as a method, a system or a computer program product. Therefore, this application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, this application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk memory, CD-ROM, optical memory, etc.) containing computer-usable code. .

Claims (16)

一種機器人客服轉人工客服的方法,其特徵在於,包括:從機器人客服與用戶的至少一輪會話中獲取有效特徵;將有效特徵輸入信心評估模型,得到機器人客服與用戶會話的當前信心評估值;所述信心評估模型採用標記有有效特徵和適宜出人工點的機器人客服與使用者的會話樣本進行訓練,所述適宜出人工點為以人工客服代替機器人客服的適當時點;在當前信心評估值滿足預定出人工條件時,將使用者轉接人工客服,其中,所述有效特徵由預定資料分析演算法根據標記有待定特徵、適宜出人工點和實際出人工點的機器人與使用者的會話樣本以及其中會話的服務效果,對若干待定特徵進行評估及整合後得出;所述待定特徵能夠描述機器人客服的服務品質和使用者的轉人工意願。A method for converting a robot customer service to a human customer service, which comprises: obtaining valid features from at least one round of conversation between the robot customer service and the user; inputting the effective features into a confidence evaluation model to obtain the current confidence evaluation value of the robot customer service and user sessions; The confidence evaluation model is trained by using a conversation sample of a robot customer service marked with effective features and suitable artificial points, which is an appropriate point in time when the artificial customer service replaces the robot customer service; when the current confidence evaluation value satisfies a predetermined When the artificial condition is found, the user is transferred to the artificial customer service, wherein the effective features are determined by a predetermined data analysis algorithm based on a sample of the conversation between the robot and the user marked with pending features, suitable for artificial points, and actual artificial points, and among them The service effect of the conversation is obtained after evaluating and integrating a number of pending features; the pending features can describe the service quality of the robot customer service and the user's willingness to transfer to labor. 根據申請專利範圍第1項所述的方法,其中,所述從機器人客服與用戶的至少一輪會話中獲取有效特徵,包括:從機器人客服與用戶的至少一輪會話中提取原始特徵,按照特徵預處理規則對原始特徵進行拆分、組合、分類、及/或刪除後得到有效特徵。The method according to item 1 of the scope of patent application, wherein the obtaining valid features from at least one round of conversation between the robot customer service and the user includes: extracting original features from at least one round of conversation between the robot customer service and the user, and preprocessing according to the features The original features are split, combined, classified, and / or deleted to obtain valid features. 根據申請專利範圍第2項所述的方法,其中,所述方法還包括:獲取設定檔;所述設定檔中包括原始特徵發現規則和/或特徵預處理規則;所述從機器人客服與用戶的至少一輪會話中提取原始特徵,包括:從機器人客服與用戶的至少一輪會話中,按照原始特徵發現規則提取原始特徵。The method according to item 2 of the scope of patent application, wherein the method further comprises: obtaining a profile; the profile includes original feature discovery rules and / or feature pre-processing rules; the slave robot customer service and the user's Extracting original features in at least one round of conversation includes extracting original features from at least one round of conversations between the robot customer service and the user according to the original feature discovery rules. 根據申請專利範圍第3項所述的方法,其中,所述設定檔中還包括:預定出人工條件。The method according to item 3 of the scope of patent application, wherein the configuration file further includes: pre-determining artificial conditions. 根據申請專利範圍第2項所述的方法,其中,所述原始特徵包括:業務相關性、答案匹配度、答案重複次數、是否兜底答案、答案是否為提問、用戶明確提出換人工、用戶有潛在換人工傾向、用戶的情感傾向、和用戶在解釋自己的問題中的至少一個。The method according to item 2 of the scope of patent application, wherein the original characteristics include: business relevance, answer matching degree, number of times the answer is repeated, whether the answer is a bottom answer, whether the answer is a question, the user explicitly proposes a labor change, and the user has potential Change at least one of an artificial tendency, a user's emotional tendency, and a user's explanation of his or her own problem. 根據申請專利範圍第1項所述的方法,其中,所述有效特徵具有各自的權重,由所述預定資料分析演算法計算得出;所述信心評估模型根據有效特徵的權重進行訓練。The method according to item 1 of the scope of patent application, wherein the effective features have respective weights and are calculated by the predetermined data analysis algorithm; and the confidence evaluation model is trained according to the weights of the effective features. 根據申請專利範圍第1項所述的方法,其中,所述預定出人工條件包括:當前信心評估值大於或小於預定信心閾值;所述預定信心閾值根據若干個樣本信心評估值的覆蓋率和準確率確定;所述樣本信心評估值為將會話樣本輸入信心評估模型後得到的輸出;所述覆蓋率為會話樣本中適宜出人工點對應的所有樣本信心評估值中,滿足預定出人工條件的樣本信心評估值所占的比例;所述準確率為所有滿足預定出人工條件的樣本信心評估值中,對應於適宜出人工點的樣本信心評估值所占的比例。The method according to item 1 of the scope of patent application, wherein the predetermined artificial conditions include: a current confidence evaluation value is greater than or less than a predetermined confidence threshold value; and the predetermined confidence threshold value is based on the coverage and accuracy of several sample confidence evaluation values. The accuracy rate is determined; the sample confidence evaluation value is an output obtained by inputting the conversation sample into the confidence evaluation model; and the coverage rate is the sample that satisfies the artificial condition among all the sample confidence evaluation values corresponding to the artificial points in the conversation sample. Proportion of confidence evaluation value; the accuracy rate is the proportion of the sample confidence evaluation value corresponding to the artificial point suitable among all the sample confidence evaluation values that meet the predetermined artificial conditions. 根據申請專利範圍第1項所述的方法,其中,所述信心評估模型採用支援向量回歸SVR演算法、邏輯回歸LR演算法、或反覆運算決策樹GBDT演算法。The method according to item 1 of the scope of patent application, wherein the confidence evaluation model adopts a support vector regression SVR algorithm, a logistic regression LR algorithm, or an iterative decision tree GBDT algorithm. 一種機器人客服轉人工客服的裝置,其特徵在於,包括:有效特徵獲取單元,用於從機器人客服與用戶的至少一輪會話中獲取有效特徵;當前信心評估單元,用於將有效特徵輸入信心評估模型,得到機器人客服與用戶會話的當前信心評估值;所述信心評估模型採用標記有有效特徵和適宜出人工點的機器人客服與使用者的會話樣本進行訓練,所述適宜出人工點為以人工客服代替機器人客服的適當時點;人工客服轉接單元,用於在當前信心評估值滿足預定出人工條件時,將使用者轉接人工客服,其中,所述有效特徵由預定資料分析演算法根據標記有待定特徵、適宜出人工點和實際出人工點的機器人與使用者的會話樣本以及其中會話的服務效果,對若干待定特徵進行評估及整合後得出;所述待定特徵能夠描述機器人客服的服務品質和使用者的轉人工意願。A device for converting robot customer service to manual customer service, comprising: an effective feature acquisition unit for acquiring effective features from at least one round of conversation between the robot customer service and the user; a current confidence evaluation unit for inputting effective features into a confidence evaluation model To obtain the current confidence evaluation value of the conversation between the robot customer service and the user; the confidence evaluation model is trained using the conversation samples of the robot customer service and the user marked with valid features and suitable artificial points, and the suitable artificial points are artificial customer service The appropriate time point to replace the robot customer service; the manual customer service transfer unit is used to transfer the user to the manual customer service when the current confidence evaluation value meets the predetermined artificial conditions, wherein the effective characteristics are determined by the predetermined data analysis algorithm according to To-be-determined features, conversation samples of robots and users suitable for artificial points and actual artificial points, and the service effects of the conversations are obtained after evaluating and integrating certain to-be-determined features; the to-be-determined features can describe the service quality of robot customer service And user willingness 根據申請專利範圍第9項所述的裝置,其中,所述有效特徵獲取單元具體用於:從機器人客服與用戶的至少一輪會話中提取原始特徵,按照特徵預處理規則對原始特徵進行拆分、組合、分類、及/或刪除後得到有效特徵。The device according to item 9 of the scope of the patent application, wherein the effective feature obtaining unit is specifically configured to: extract the original features from at least one round of the conversation between the robot customer service and the user; split the original features according to the feature preprocessing rules; Combined, classified, and / or deleted to get valid features. 根據申請專利範圍第10項所述的裝置,其中,所述裝置還包括:設定檔獲取單元,用於獲取設定檔;所述設定檔中包括原始特徵發現規則及/或特徵預處理規則;所述有效特徵獲取單元具體用於:從機器人客服與用戶的至少一輪會話中,按照原始特徵發現規則提取原始特徵。The device according to item 10 of the scope of patent application, wherein the device further comprises: a profile obtaining unit for obtaining a profile; the profile includes original feature discovery rules and / or feature pre-processing rules; The effective feature acquisition unit is specifically configured to extract the original features from at least one round of conversation between the robot customer service and the user according to the original feature discovery rules. 根據申請專利範圍第11項所述的裝置,其中,所述設定檔中還包括:預定出人工條件。The device according to item 11 of the scope of patent application, wherein the configuration file further includes: predetermined artificial conditions. 根據申請專利範圍第10項所述的裝置,其中,所述原始特徵包括:業務相關性、答案匹配度、答案重複次數、是否兜底答案、答案是否為提問、用戶明確提出換人工、用戶有潛在換人工傾向、用戶的情感傾向、和用戶在解釋自己的問題中的至少一個。The device according to item 10 of the scope of patent application, wherein the original characteristics include: business relevance, answer matching degree, number of times the answer is repeated, whether the answer is a bottom answer, whether the answer is a question, the user explicitly proposes a labor change, and the user has potential Change at least one of an artificial tendency, a user's emotional tendency, and a user's explanation of his or her own problem. 根據申請專利範圍第9項所述的裝置,其中,所述有效特徵具有各自的權重,由所述預定資料分析演算法計算得出;所述信心評估模型根據有效特徵的權重進行訓練。The device according to item 9 of the scope of the patent application, wherein the effective features have respective weights and are calculated by the predetermined data analysis algorithm; and the confidence evaluation model is trained according to the weights of the effective features. 根據申請專利範圍第9項所述的裝置,其中,所述預定出人工條件包括:當前信心評估值大於或小於預定信心閾值;所述預定信心閾值根據若干個樣本信心評估值的覆蓋率和準確率確定;所述樣本信心評估值為將會話樣本輸入信心評估模型後得到的輸出;所述覆蓋率為會話樣本中適宜出人工點對應的所有樣本信心評估值中,滿足預定出人工條件的樣本信心評估值所占的比例;所述準確率為所有滿足預定出人工條件的樣本信心評估值中,對應於適宜出人工點的樣本信心評估值所占的比例。The device according to item 9 of the scope of patent application, wherein the predetermined artificial conditions include: a current confidence evaluation value is greater than or less than a predetermined confidence threshold value; and the predetermined confidence threshold value is based on the coverage and accuracy of several sample confidence evaluation values. The accuracy rate is determined; the sample confidence evaluation value is an output obtained by inputting the conversation sample into the confidence evaluation model; and the coverage rate is the sample that satisfies the artificial condition among all the sample confidence evaluation values corresponding to the artificial points in the conversation sample. Proportion of confidence evaluation value; the accuracy rate is the proportion of the sample confidence evaluation value corresponding to the artificial point suitable among all the sample confidence evaluation values that meet the predetermined artificial conditions. 根據申請專利範圍第9項所述的裝置,其中,所述信心評估模型採用支援向量回歸SVR演算法、邏輯同歸LR演算法、或反覆運算決策樹GBDT演算法。The device according to item 9 of the scope of patent application, wherein the confidence evaluation model adopts a support vector regression SVR algorithm, a logical cohoming LR algorithm, or an iterative decision tree GBDT algorithm.
TW106118915A 2016-07-08 2017-06-07 Method and device for transferring robot customer service to manual customer service TWI677846B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610538674.6A CN107590159A (en) 2016-07-08 2016-07-08 The method and apparatus that robot customer service turns artificial customer service
??201610538674.6 2016-07-08

Publications (2)

Publication Number Publication Date
TW201804420A TW201804420A (en) 2018-02-01
TWI677846B true TWI677846B (en) 2019-11-21

Family

ID=60904586

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106118915A TWI677846B (en) 2016-07-08 2017-06-07 Method and device for transferring robot customer service to manual customer service

Country Status (3)

Country Link
CN (1) CN107590159A (en)
TW (1) TWI677846B (en)
WO (1) WO2018006727A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI751504B (en) * 2020-02-27 2022-01-01 中華電信股份有限公司 Dialogue system and method for human-machine cooperation

Families Citing this family (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108363745B (en) * 2018-01-26 2020-06-30 阿里巴巴集团控股有限公司 Method and device for changing robot customer service into manual customer service
CN110232573A (en) * 2018-03-06 2019-09-13 广州供电局有限公司 Based on interactive intelligent response system
CN108418981B (en) * 2018-03-16 2019-10-29 苏州思必驰信息科技有限公司 The method and device of dialogue service is provided for client
CN110392168B (en) * 2018-04-16 2021-06-01 华为技术有限公司 Call processing method, device, server, storage medium and system
CN108712583B (en) * 2018-06-05 2021-03-23 上海智蕙林医疗科技有限公司 Robot-based manual service method and system
CN110674385A (en) * 2018-06-14 2020-01-10 阿里巴巴集团控股有限公司 Method and device for matching customer service in customer service upgrading scene
CN109308320A (en) * 2018-07-20 2019-02-05 北京智能点科技有限公司 Conversation process configuration method is taken turns more by a kind of robot
CN109087175A (en) * 2018-08-15 2018-12-25 深圳追科技有限公司 The method, apparatus and system of customer service session switching
CN109446305A (en) * 2018-10-10 2019-03-08 长沙师范学院 The construction method and system of intelligent tour customer service system
CN109685550A (en) * 2018-12-04 2019-04-26 北京猎户星空科技有限公司 Smart machine control method, device, electronic equipment and storage medium
CN109887525B (en) * 2019-01-04 2023-04-07 平安科技(深圳)有限公司 Intelligent customer service method and device and computer readable storage medium
CN109787885A (en) * 2019-01-16 2019-05-21 中民乡邻投资控股有限公司 A kind of question and answer method of servicing
CN111625918B (en) * 2019-02-27 2023-05-09 阿里巴巴集团控股有限公司 Technological parameter recommendation method and device and electronic equipment
CN109949830B (en) * 2019-03-12 2021-03-30 中国联合网络通信集团有限公司 User intention identification method and device
CN110163655B (en) * 2019-04-15 2024-03-05 中国平安人寿保险股份有限公司 Agent distribution method, device and equipment based on gradient lifting tree and storage medium
CN110472023A (en) * 2019-07-10 2019-11-19 深圳追一科技有限公司 Customer service switching method, device, computer equipment and storage medium
CN110457578B (en) * 2019-07-11 2023-07-18 创新先进技术有限公司 Customer service demand identification method and device
CN112433598A (en) * 2019-08-07 2021-03-02 科沃斯商用机器人有限公司 Man-machine interaction method, equipment and storage medium
CN110602335B (en) * 2019-08-14 2022-11-18 中国平安财产保险股份有限公司 Method and device for setting terminal priority, computer equipment and storage medium
CN110838014A (en) * 2019-09-20 2020-02-25 北京智齿博创科技有限公司 Artificial intelligent routing strategy in on-line customer service system
CN111754061A (en) * 2019-11-22 2020-10-09 北京沃东天骏信息技术有限公司 Method and device for controlling man-machine distribution, server equipment and storage medium
CN110990553A (en) * 2019-12-18 2020-04-10 上海智勘科技有限公司 Coupling method and system of intelligent sound box voice interaction system and insurance agent
CN111143537A (en) * 2019-12-30 2020-05-12 税友软件集团股份有限公司 Service method, device, equipment and medium based on intelligent customer service system
CN111526253B (en) * 2020-03-09 2022-02-08 深圳追一科技有限公司 Call control method, device, computer equipment and storage medium
CN111405129A (en) * 2020-03-12 2020-07-10 中国建设银行股份有限公司 Intelligent outbound risk monitoring method and device
CN111510563A (en) * 2020-04-16 2020-08-07 中国银行股份有限公司 Intelligent outbound method and device, storage medium and electronic equipment
CN111583023A (en) * 2020-05-07 2020-08-25 中国工商银行股份有限公司 Service processing method, device and computer system
CN111985248A (en) * 2020-06-30 2020-11-24 联想(北京)有限公司 Information interaction method and device
CN112543185B (en) * 2020-11-23 2022-09-06 建信金融科技有限责任公司 Customer service method, device and system
CN113051386B (en) * 2021-04-30 2024-02-02 中国银行股份有限公司 Adjustment method and device for transferring manual service, electronic equipment and storage medium
CN113315876B (en) * 2021-05-27 2023-01-20 中国银行股份有限公司 Telephone bank service control method, device, server and storage medium
CN113239170B (en) * 2021-06-01 2023-11-28 平安科技(深圳)有限公司 Interaction generating method, device, equipment and medium based on mutual role perception
CN113434630B (en) * 2021-06-25 2023-07-25 平安科技(深圳)有限公司 Customer service evaluation method, customer service evaluation device, terminal equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8379830B1 (en) * 2006-05-22 2013-02-19 Convergys Customer Management Delaware Llc System and method for automated customer service with contingent live interaction
TW201324430A (en) * 2011-12-13 2013-06-16 Wei-Chiang Chan Customer service device with automatic recognition function for multiple websites
CN105591882A (en) * 2015-12-10 2016-05-18 北京中科汇联科技股份有限公司 Method and system for mixed customer services of intelligent robots and human beings
CN105592237A (en) * 2014-10-24 2016-05-18 中国移动通信集团公司 Method and apparatus for session switching, and intelligent customer service robot

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013019200A1 (en) * 2011-07-31 2013-02-07 Hewlett-Packard Development Company, L.P. Systems and methods of knowledge transfer
CN104991887B (en) * 2015-06-18 2018-01-19 北京京东尚科信息技术有限公司 The method and device of information is provided
CN105072173A (en) * 2015-08-03 2015-11-18 谌志群 Customer service method and system for automatically switching between automatic customer service and artificial customer service
CN105701088B (en) * 2016-02-26 2018-12-28 北京京东尚科信息技术有限公司 The method and apparatus manually talked with are switched to from machine dialogue

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8379830B1 (en) * 2006-05-22 2013-02-19 Convergys Customer Management Delaware Llc System and method for automated customer service with contingent live interaction
TW201324430A (en) * 2011-12-13 2013-06-16 Wei-Chiang Chan Customer service device with automatic recognition function for multiple websites
CN105592237A (en) * 2014-10-24 2016-05-18 中国移动通信集团公司 Method and apparatus for session switching, and intelligent customer service robot
CN105591882A (en) * 2015-12-10 2016-05-18 北京中科汇联科技股份有限公司 Method and system for mixed customer services of intelligent robots and human beings

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI751504B (en) * 2020-02-27 2022-01-01 中華電信股份有限公司 Dialogue system and method for human-machine cooperation

Also Published As

Publication number Publication date
TW201804420A (en) 2018-02-01
WO2018006727A1 (en) 2018-01-11
CN107590159A (en) 2018-01-16

Similar Documents

Publication Publication Date Title
TWI677846B (en) Method and device for transferring robot customer service to manual customer service
TWI698830B (en) Method and device for transferring robot customer service to manual customer service, computer equipment and computer readable storage medium
US9990923B2 (en) Automated software execution using intelligent speech recognition
WO2020147395A1 (en) Emotion-based text classification method and device, and computer apparatus
WO2015062482A1 (en) System and method for automatic question answering
US10965812B1 (en) Analysis and classification of unstructured computer text for generation of a recommended conversation topic flow
JP2019511036A (en) System and method for linguistic feature generation across multiple layer word representations
WO2020007129A1 (en) Context acquisition method and device based on voice interaction
US11544721B2 (en) Supporting automation of customer service
CN109726372B (en) Method and device for generating work order based on call records and computer readable medium
KR20210001419A (en) User device, system and method for providing interview consulting service
CN110472008B (en) Intelligent interaction method and device
EP4060517A1 (en) System and method for designing artificial intelligence (ai) based hierarchical multi-conversation system
CN112667792B (en) Man-machine dialogue data processing method and device, computer equipment and storage medium
JP6259377B2 (en) Dialog system evaluation method, dialog system evaluation apparatus, and program
Inupakutika et al. Integration of NLP and Speech-to-text Applications with Chatbots
CN113850077A (en) Topic identification method, device, server and medium based on artificial intelligence
TWI814394B (en) Electronic system, computer-implemented method, and computer program product
US20220201121A1 (en) System, method and apparatus for conversational guidance
US20220245359A1 (en) Systems and methods for detecting deception in computer-mediated communications
US20240069870A1 (en) Computer-based software development and product management
US9116980B1 (en) System, method, and computer program for determining a set of categories based on textual input
US20240086639A1 (en) Automatically locating responses to previously asked questions in a live chat transcript using artificial intelligence (ai)
US20230056003A1 (en) Automated document adaptation based on topic classification
Sharma A Review on Democratization of Machine Learning In Cloud