CN111177343A - Method and system for automatically constructing medical and American inquiry guide logic - Google Patents

Method and system for automatically constructing medical and American inquiry guide logic Download PDF

Info

Publication number
CN111177343A
CN111177343A CN201911300806.1A CN201911300806A CN111177343A CN 111177343 A CN111177343 A CN 111177343A CN 201911300806 A CN201911300806 A CN 201911300806A CN 111177343 A CN111177343 A CN 111177343A
Authority
CN
China
Prior art keywords
inquiry
dialogs
logic
data
categories
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201911300806.1A
Other languages
Chinese (zh)
Inventor
邹辉
肖龙源
蔡振华
李稀敏
刘晓葳
谭玉坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Kuaishangtong Technology Co Ltd
Original Assignee
Xiamen Kuaishangtong Technology Co Ltd
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 Xiamen Kuaishangtong Technology Co Ltd filed Critical Xiamen Kuaishangtong Technology Co Ltd
Priority to CN201911300806.1A priority Critical patent/CN111177343A/en
Publication of CN111177343A publication Critical patent/CN111177343A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H80/00ICT specially adapted for facilitating communication between medical practitioners or patients, e.g. for collaborative diagnosis, therapy or health monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • Health & Medical Sciences (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Human Computer Interaction (AREA)
  • Biomedical Technology (AREA)
  • Artificial Intelligence (AREA)
  • Pathology (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method for automatically constructing medical and American inquiry guide logic, which comprises the following steps: s1: acquiring dialogue data of at least two hospitals, and extracting customer service reply dialogs in the dialogue data, wherein the customer service reply dialogs comprise an inquiry dialogs and a non-inquiry dialogs; s2: extracting the inquiry dialogues for analysis, and dividing the inquiry dialogues into a plurality of inquiry categories; s3: and analyzing the frequency of the dialogue data in different inquiry categories to obtain the optimal inquiry logic and the optimal inquiry dialogue of the subject item.

Description

Method and system for automatically constructing medical and American inquiry guide logic
Technical Field
The invention relates to the field of medical plastic, in particular to a method and a system for automatically constructing medical and American inquiry guide logic.
Background
The existing conversation robots are mainly used for leading conversation by visitors, and the robots are passive. But in the medical plastic industry, the robot is required to actively talk and guide visitors. The conventional solution is to trigger an inquiry based on a visitor sending a keyword or to dominate the conversation by writing a general inquiry guide flow. This form of dialog content can be relatively rigid and unable to understand the client semantics.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a robot inquiry mechanism based on a theme scene, which understands the semantics of visitors, leads a conversation process and helps a robot to obtain more visitor information to perform more accurate symptom analysis, thereby providing a system and a method for automatically constructing medical and beauty inquiry guide logic. The method comprises the following specific steps:
a method for automatically constructing medical and American inquiry guide logic comprises the following steps:
s1: acquiring dialogue data of at least two hospitals, and extracting customer service reply dialogs in the dialogue data, wherein the customer service reply dialogs comprise an inquiry dialogs and a non-inquiry dialogs;
s2: extracting the inquiry dialogues for analysis, and dividing the inquiry dialogues into a plurality of inquiry categories;
s3: and analyzing the frequency of the dialogue data in different inquiry categories to obtain the optimal inquiry logic and the optimal inquiry dialogue of the subject item.
Preferably, the step S2 further includes:
s2-1: crawling the shaping project information of the official website of each hospital in the step S1 through a crawler, and counting common projects;
s2-2: classifying the dialogue data according to the common items to form item data;
s2-3: extracting an inquiry call in the customer service answer call in the step S1 according to each type of project data;
preferably, the step S3 further includes:
s3-1: extracting high-quality conversations in the conversation data, analyzing the frequency of the conversations in different inquiry categories, and selecting the permutation and combination with the highest occurrence frequency as the inquiry logic of the subject item;
s3-2: and selecting the inquiry dialogs with the highest use frequency according to each inquiry category to obtain the optimal inquiry logic and the optimal inquiry dialogs of the inquiry categories.
Preferably, step S2 employs a BERT language model and a binary classification model.
Preferably, the interviewing is performed based on statistical and/or machine learning results.
Preferably, the premium conversations include conversations that exceed three rounds without negative emotions by the user.
According to another aspect of the present invention, there is provided a system for automatically constructing a medical and cosmetic inquiry guide logic, comprising:
the system comprises a data module, a category module and an analysis module; wherein the content of the first and second substances,
the data module is used for acquiring conversation data of at least two hospitals and extracting customer service reply dialogs in the conversation data, wherein the customer service reply dialogs comprise an inquiry dialogs and a non-inquiry dialogs;
the category module is used for extracting the inquiry dialogs for analysis and dividing the inquiry dialogs into a plurality of inquiry categories;
and the analysis module is used for analyzing the frequency of the dialogue data in different inquiry categories to obtain the optimal inquiry logic and the optimal inquiry dialogue of the subject project.
Preferably, the classification module is further configured to:
(1) crawling the shaping project information of the official website of each hospital through a crawler, and counting common projects;
(2) classifying the dialogue data according to the common items to form item data;
(3) and extracting the inquiry dialogs in the customer service reply dialogs according to the data of each type of items.
Preferably, the analysis module is further configured to:
(1) extracting high-quality conversations in the conversation data, analyzing the frequency of the conversations in different inquiry categories, and selecting the permutation and combination with the highest occurrence frequency as the inquiry logic of the subject item;
(2) and selecting the inquiry dialogs with the highest use frequency according to each inquiry category to obtain the optimal inquiry logic and the optimal inquiry dialogs of the inquiry categories.
Preferably, the item module includes a BERT language model and a binary model.
Preferably, the interviewing is performed based on statistical and/or machine learning results.
Preferably, the premium conversations include conversations that exceed three rounds without negative emotions by the user.
Compared with the prior art, the invention has the following advantages:
1. active inquiry guidance can be performed according to the project;
2. the inquiry logic and the inquiry dialect are automatically generated according to the results of statistics and machine learning, so that manpower and material resources are saved, and the optimal inquiry logic and the optimal inquiry dialect can be obtained according to the big data.
Drawings
FIG. 1 is a flow chart of an interrogation guidance logic method of the present invention;
fig. 2 is a schematic structural diagram of an embodiment of the system of the present invention.
Detailed Description
Fig. 1 is a flowchart of a method for automatically constructing a doctor-beauty inquiry guide logic according to the present invention, which is a robot inquiry mechanism based on a theme scene, and is used for understanding guest semantics, leading a conversation process, and helping a robot obtain more guest information to perform more accurate symptom analysis. A method for automatically constructing medical and American inquiry guide logic comprises the following steps:
s1: acquiring dialogue data of at least two hospitals, and extracting customer service reply dialogs in the dialogue data, wherein the customer service reply dialogs comprise an inquiry dialogs and a non-inquiry dialogs;
s2: extracting the inquiry dialogues for analysis, and dividing the inquiry dialogues into a plurality of inquiry categories; the step is realized by adopting a BERT language model and a binary classification model; the method comprises the following steps:
s2-1: crawling the shaping project information of the official website of each hospital in the step S1 through a crawler, and counting common projects;
s2-2: classifying the dialogue data according to the common items to form item data;
s2-3: extracting an inquiry call in the customer service answer call in the step S1 according to each type of project data;
s3: analyzing the frequency of the dialogue data in different inquiry categories to obtain the optimal inquiry logic and the optimal inquiry dialogue of the subject project; the method comprises the following steps:
s3-1: extracting high-quality conversations in the conversation data, analyzing the frequency of the conversations in different inquiry categories, and selecting the permutation and combination with the highest occurrence frequency as the inquiry logic of the subject item;
s3-2: and selecting the inquiry dialogs with the highest use frequency according to each inquiry category to obtain the optimal inquiry logic and the optimal inquiry dialogs of the inquiry categories.
Preferably, the interviewing is performed based on statistical and/or machine learning results.
Preferably, the premium conversations include conversations that exceed three rounds without negative emotions by the user.
The method for automatically constructing the medical and American inquiry guide logic specifically comprises the following steps:
1) extracting 1-2 hospital dialogue data from different cities;
2) extracting customer service answering words;
3) crawling 1) shaping project information of a traditional Chinese medicine official website by a crawler, and counting common projects;
4) classifying the conversations according to the items; the method comprises the following steps that (1) conversation data of a plurality of items in one conversation are removed, and because the conversation quantity is large, the removal of some conversation data has no influence;
5) aiming at each type of item data, extracting an inquiry guide word from customer service answer words, which is a classification problem, dividing the customer answer words into two categories, namely an inquiry word and a non-inquiry word, wherein the adopted technical route is bert and a binary classification model;
6) analyzing the inquiry data, and dividing the inquiry dialect into a plurality of inquiry categories;
7) extracting high-quality conversations, wherein the high-quality conversations comprise more than three conversations and the conversations of which the users have no negative emotion;
8) statistical analysis step 7) frequency of different inquiry category sequences, and selecting a permutation and combination with highest occurrence frequency of the inquiry category sequences in a real conversation as an inquiry logic of the project;
9) for each interrogation category, selecting the interrogation dialogs with the highest frequency of use;
10) the best ranking of the inquiry categories (inquiry logic) and the best inquiry jargon are obtained.
The invention also provides a system for automatically constructing the doctor and beauty inquiry guide logic, so that the robot inquiry flow based on the subject project is realized, the semantics of the visitors are understood, more visitor information is obtained, and the more accurate symptom analysis and answering are further performed on the visitors.
As shown in fig. 2, fig. 2 is a schematic structural diagram of an embodiment of the system of the present invention. In this embodiment, the system includes:
the system comprises a data module, a category module and an analysis module; wherein the content of the first and second substances,
the data module is used for acquiring conversation data of at least two hospitals and extracting customer service reply dialogs in the conversation data, wherein the customer service reply dialogs comprise an inquiry dialogs and a non-inquiry dialogs;
the category module is used for extracting the inquiry dialogs for analysis and dividing the inquiry dialogs into a plurality of inquiry categories;
and the analysis module is used for analyzing the frequency of the dialogue data in different inquiry categories to obtain the optimal inquiry logic and the optimal inquiry dialogue of the subject project.
Preferably, the classification module is further configured to:
(1) crawling the shaping project information of the official website of each hospital through a crawler, and counting common projects;
(2) classifying the dialogue data according to the common items to form item data;
(3) and extracting the inquiry dialogs in the customer service reply dialogs according to the data of each type of items.
Preferably, the analysis module is further configured to:
(1) extracting high-quality conversations in the conversation data, analyzing the frequency of the conversations in different inquiry categories, and selecting the permutation and combination with the highest occurrence frequency as the inquiry logic of the subject item;
(2) and selecting the inquiry dialogs with the highest use frequency according to each inquiry category to obtain the optimal inquiry logic and the optimal inquiry dialogs of the inquiry categories.
Preferably, the item module includes a BERT language model and a binary model.
Preferably, the interviewing is performed based on statistical and/or machine learning results.
Preferably, the premium conversations include conversations that exceed three rounds without negative emotions by the user.
The embodiments in the above embodiments can be further combined or replaced, and the embodiments are only used for describing the preferred embodiments of the present invention, and do not limit the concept and scope of the present invention, and various changes and modifications made to the technical solution of the present invention by those skilled in the art without departing from the design idea of the present invention belong to the protection scope of the present invention.

Claims (10)

1. A method for automatically constructing medical and American inquiry guide logic is characterized by comprising the following steps:
s1: acquiring dialogue data of at least two hospitals, and extracting customer service reply dialogs in the dialogue data, wherein the customer service reply dialogs comprise an inquiry dialogs and a non-inquiry dialogs;
s2: extracting the inquiry dialogues for analysis, and dividing the inquiry dialogues into a plurality of inquiry categories;
s3: and analyzing the frequency of the dialogue data in different inquiry categories to obtain the optimal inquiry logic and the optimal inquiry dialogue of the subject item.
2. The method for automatically constructing the medical and cosmetic inquiry guide logic according to claim 1, wherein the step S2 further comprises:
s2-1: crawling the shaping project information of the official website of each hospital in the step S1 through a crawler, and counting common projects;
s2-2: classifying the dialogue data according to the common items to form item data;
s2-3: the inquiry dialogs in the customer service answer dialogs of step S1 are extracted according to each type of project data.
3. The method for automatically constructing the medical and cosmetic inquiry guide logic according to claim 1, wherein the step S3 further comprises:
s3-1: extracting high-quality conversations in the conversation data, analyzing the frequency of the conversations in different inquiry categories, and selecting the permutation and combination with the highest occurrence frequency as the inquiry logic of the subject item;
s3-2: and selecting the inquiry dialogs with the highest use frequency according to each inquiry category to obtain the optimal inquiry logic and the optimal inquiry dialogs of the inquiry categories.
4. The method for automatically constructing the medical and aesthetic inquiry guide logic according to claim 1, wherein the step S2 adopts a BERT language model and a binary classification model.
5. The method for automatically constructing physician-American consultation guidance logic according to any one of claims 1 to 4, wherein the consultation dialogues are obtained according to the results of statistics and/or machine learning;
preferably, the premium conversations include conversations that exceed three rounds without negative emotions by the user.
6. A system for automatically constructing a medical and cosmetic inquiry guide logic, comprising: the system comprises a data module, a category module and an analysis module; wherein the content of the first and second substances,
the data module is used for acquiring conversation data of at least two hospitals and extracting customer service reply dialogs in the conversation data, wherein the customer service reply dialogs comprise an inquiry dialogs and a non-inquiry dialogs;
the category module is used for extracting the inquiry dialogs for analysis and dividing the inquiry dialogs into a plurality of inquiry categories;
and the analysis module is used for analyzing the frequency of the dialogue data in different inquiry categories to obtain the optimal inquiry logic and the optimal inquiry dialogue of the subject project.
7. The system for automatically constructing medical and cosmetic interrogation guide logic according to claim 6, wherein the category module is further used for:
(1) crawling the shaping project information of the official website of each hospital through a crawler, and counting common projects;
(2) classifying the dialogue data according to the common items to form item data;
(3) and extracting the inquiry dialogs in the customer service reply dialogs according to the data of each type of items.
8. The system for automatically constructing medical and cosmetic interrogation guide logic according to claim 6, wherein the analysis module is further used for:
(1) extracting high-quality conversations in the conversation data, analyzing the frequency of the conversations in different inquiry categories, and selecting the permutation and combination with the highest occurrence frequency as the inquiry logic of the subject item;
(2) and selecting the inquiry dialogs with the highest use frequency according to each inquiry category to obtain the optimal inquiry logic and the optimal inquiry dialogs of the inquiry categories.
9. The system for automatically constructing medical and cosmetic inquiry guide logic according to claim 6, wherein said item modules comprise a BERT language model and a binary classification model.
10. The system for automatically constructing physician-American consultation guidance logic according to any one of claims 7 to 10, wherein the consultation dialogues are obtained according to the results of statistics and/or machine learning;
preferably, the premium conversations include conversations that exceed three rounds without negative emotions by the user.
CN201911300806.1A 2019-12-17 2019-12-17 Method and system for automatically constructing medical and American inquiry guide logic Pending CN111177343A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911300806.1A CN111177343A (en) 2019-12-17 2019-12-17 Method and system for automatically constructing medical and American inquiry guide logic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911300806.1A CN111177343A (en) 2019-12-17 2019-12-17 Method and system for automatically constructing medical and American inquiry guide logic

Publications (1)

Publication Number Publication Date
CN111177343A true CN111177343A (en) 2020-05-19

Family

ID=70656608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911300806.1A Pending CN111177343A (en) 2019-12-17 2019-12-17 Method and system for automatically constructing medical and American inquiry guide logic

Country Status (1)

Country Link
CN (1) CN111177343A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112185544A (en) * 2020-09-10 2021-01-05 浙江传媒学院 Semantic-based family medical consultation decision support method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912846A (en) * 2016-04-07 2016-08-31 南京小网科技有限责任公司 Intelligent medical aid decision making system on basis of cloud computing technique and medical knowledge base technique
CN106570708A (en) * 2016-10-31 2017-04-19 厦门快商通科技股份有限公司 Management method and management system of intelligent customer service knowledge base
US20180218127A1 (en) * 2017-01-31 2018-08-02 Pager, Inc. Generating a Knowledge Graph for Determining Patient Symptoms and Medical Recommendations Based on Medical Information
CN110543552A (en) * 2019-09-06 2019-12-06 网易(杭州)网络有限公司 Conversation interaction method and device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912846A (en) * 2016-04-07 2016-08-31 南京小网科技有限责任公司 Intelligent medical aid decision making system on basis of cloud computing technique and medical knowledge base technique
CN106570708A (en) * 2016-10-31 2017-04-19 厦门快商通科技股份有限公司 Management method and management system of intelligent customer service knowledge base
US20180218127A1 (en) * 2017-01-31 2018-08-02 Pager, Inc. Generating a Knowledge Graph for Determining Patient Symptoms and Medical Recommendations Based on Medical Information
CN110543552A (en) * 2019-09-06 2019-12-06 网易(杭州)网络有限公司 Conversation interaction method and device and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112185544A (en) * 2020-09-10 2021-01-05 浙江传媒学院 Semantic-based family medical consultation decision support method
CN112185544B (en) * 2020-09-10 2023-09-19 浙江传媒学院 Semantic-based home medical consultation decision support method

Similar Documents

Publication Publication Date Title
CN106326440B (en) A kind of man-machine interaction method and device towards intelligent robot
Reithinger et al. Utilizing statistical dialogue act processing in Verbmobil
CN106407178A (en) Session abstract generation method and device
CN106294854A (en) A kind of man-machine interaction method for intelligent robot and device
Seng et al. Video analytics for customer emotion and satisfaction at contact centers
US9697246B1 (en) Themes surfacing for communication data analysis
CN111598485A (en) Multi-dimensional intelligent quality inspection method, device, terminal equipment and medium
KR102415104B1 (en) A method of analyzing the emotions of the examinee from the picture data by the examinee based on the artificial intelligence model
CN111651497A (en) User label mining method and device, storage medium and electronic equipment
CN112256854A (en) Intelligent AI conversation method and device based on AI natural language understanding
Antunes et al. A framework to support development of sign language human-computer interaction: Building tools for effective information access and inclusion of the deaf
Pawlik et al. A method for improving bot effectiveness by recognising implicit customer intent in contact centre conversations
CN115599894A (en) Emotion recognition method and device, electronic equipment and storage medium
WO2014131763A2 (en) Wording-based speech analysis and speech analysis device
CN113505606B (en) Training information acquisition method and device, electronic equipment and storage medium
JP5574842B2 (en) FAQ candidate extraction system and FAQ candidate extraction program
CN111177343A (en) Method and system for automatically constructing medical and American inquiry guide logic
CN109949723A (en) A kind of device and method carrying out Products Show by Intelligent voice dialog
CN112015879B (en) Method and device for realizing man-machine interaction engine based on text structured management
CN111180088A (en) Active inquiry and power-on method and system based on conversation flow
CN112966076A (en) Intelligent question and answer generating method and device, computer equipment and storage medium
WO2014109944A2 (en) Tracking of near conversions in user engagements
CN116561284A (en) Intelligent response method, device, electronic equipment and medium
Voskuhl Humans, machines, and conversations: An ethnographic study of the making of automatic speech recognition technologies
CN111177344A (en) Semi-automatic structured medical and American inquiry guiding method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200519

RJ01 Rejection of invention patent application after publication