Multi-algorithm model fused FAQ question and answer matching method and system

A matching method and multi-algorithm technology, applied in computing, instrumentation, text database query, etc., can solve problems such as algorithm errors and slow repairs, and achieve high accuracy and good results

Active Publication Date: 2022-06-03
南京云问网络技术有限公司
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

(1) Limitations of the model: the model itself needs to be trained well before it can be used, and there will be a lag in online business changes. If there is a badcase online, it will be slow to repair
(2) Limita

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multi-algorithm model fused FAQ question and answer matching method and system
  • Multi-algorithm model fused FAQ question and answer matching method and system
  • Multi-algorithm model fused FAQ question and answer matching method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] It is easy to understand that, according to the technical solutions of the present invention, without changing the essential spirit of the present invention, those skilled in the art can propose various alternative structures and implementations. Therefore, the following specific embodiments and accompanying drawings are only exemplary descriptions of the technical solutions of the present invention, and should not be regarded as all of the present invention or as limitations or restrictions on the technical solutions of the present invention.

[0019] According to an embodiment of the present invention combined figure 1 and 2 Shows. A FAQ question-and-answer matching method integrating a multi-algorithm model, comprising the following steps:

S101 , based on the FAQ knowledge base, construct an inverted index of the FAQ knowledge base.

[0020]Specifically, constructing an inverted index of the FAQ knowledge base includes: preprocessing all the questions in the FAQ ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an FAQ question and answer matching method and system fused with a multi-algorithm model, and the method comprises the steps: constructing an inverted index based on an FAQ knowledge base; obtaining a user question, performing preprocessing to obtain a first preprocessing result, and searching a knowledge base question associated with the user question in the reverse index; training a sentence encoder, encoding the user question and the knowledge base question into sentence vectors by using the sentence encoder, and calculating a cosine value, namely similarity, between the sentence vectors of the user question and the knowledge base question; preprocessing the user question and the knowledge base question to obtain a second preprocessing result; calculating the matching degree of the second preprocessing results of the user question and the knowledge base question by using a matching algorithm; performing weighted average calculation by combining the similarity and the matching degree to obtain a final similarity value; and giving an answer according to the final similarity value and a set threshold value. According to the method, algorithm logic models based on different rules are embedded, so that the overall optimal matching effect is achieved, the overall question and answer accuracy is high, and the effect is good.

Description

technical field [0001] The present invention relates to the technical field of natural language processing, and in particular, to a method and system for FAQ question-and-answer matching that integrates a multi-algorithm model. Background technique [0002] In the intelligent customer service system, the question and answer based on FAQ (frequently-asked questions, referred to as FAQ) is the basic ability of the system, and the accuracy of the FAQ question and answer is a very important indicator to measure the advanced nature of the system. Based on the characteristics of different industries and different business priorities of customers, the maintenance level of the FAQ database is different. [0003] At present, FAQ matching is generally carried out by using models or rules, and this matching method has great limitations. (1) Limitations of the model: The model itself needs to be trained well before it can be used. There will be a lag in online business changes. If ther...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F16/332G06F16/33G06F16/31G06N20/20
CPCG06F16/3329G06F16/319G06F16/3344G06N20/20
Inventor 张荣松
Owner 南京云问网络技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products