Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automatic reply method and device for user inquiry and electronic equipment

An automatic reply and user-friendly technology, applied in the field of intelligent database, can solve the problems of a large amount of manpower and inconvenient and efficient use of intelligent database, and achieve the effect of avoiding high labor costs and improving convenience and efficiency

Inactive Publication Date: 2021-08-13
北京沃丰时代数据科技有限公司
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides an automatic reply method, device and electronic equipment for user inquiries, which are used to solve the problems caused by the manual labeling of training data sets that require a large amount of manpower during the training of the Text-to-SQL model in the existing intelligent database question answering system. The use of the intelligent database is not convenient and efficient. The SQL conversion model is trained through the sample query statement and the corresponding query SQL statement label, and the trained SQL conversion model is used in the automatic answer method for user inquiries provided by the present invention. , the key user-input natural language text is automatically converted to SQL statements through the above-mentioned trained SQL conversion model, and the query SQL statement output by the SQL model is used as a query statement to query in the preset database, and the obtained query results are spliced ​​into natural language output after the reply statement; wherein, the sample question statement and the corresponding query SQL statement label are automatically constructed according to preset rules, avoiding the problem of high labor costs caused by manual participation in the standard construction of the training data set in the traditional way, Improve the convenience and efficiency of the application of intelligent database

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
  • Automatic reply method and device for user inquiry and electronic equipment
  • Automatic reply method and device for user inquiry and electronic equipment
  • Automatic reply method and device for user inquiry and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention , but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0053] Since the Text-to-SQL model training in the existing intelligent database question answering system generally requires a lot of manpower to manually label the training data set, the use of the intelligent database is not convenient and efficient. Combine below Figure 1 to Figure 7 Describe an automatic reply method for user inquiry of the present invention. figure 1 A schematic flow...

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 automatic reply method and a device for a user inquiry and electronic equipment. The automatic reply method comprises the following steps: determining a question statement text of the inquiry input by a user; inputting the question statement text into a structured query language (SQL) conversion model, and outputting a corresponding question SQL statement; wherein the SQL conversion model is obtained by training based on a sample question statement text and a corresponding question SQL statement label, and the sample question statement text and the corresponding question SQL statement label are automatically constructed according to a preset rule; querying in a preset database by using the questioning SQL statement to output a query result; and splicing the query result into a natural reply statement and outputting the natural reply statement. According to the method, the device and the electronic equipment provided by the invention, automatic reply aiming at the inquiry of the user is realized, and the convenience and the high efficiency of using the intelligent database in reply are improved.

Description

technical field [0001] The invention relates to the technical field of intelligent databases, in particular to an automatic reply method, device and electronic equipment for user inquiries. Background technique [0002] Most of the existing natural language sentence text to Structured Query Language (SQL) Text-to-SQL tasks are based on the Seq2Seq model framework, which regards this task as similar to the machine translation task in neural networks. The Seq2Seq model adds a self-attention mechanism and a copy mechanism to make the Text-to-SQL task similar to the sequence-to-sequence generation task in machine translation. Although the model framework based on Seq2Seq can solve most problems in the case of single-domain datasets, it has not achieved good results in the case of multi-domain datasets. The main reason is that the Seq2Seq architecture cannot satisfy the programming language rules defined in the form of SQL. The SQL language has strict requirements on the restri...

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/242G06F16/248G06F16/25G06F16/35
CPCG06F16/2433G06F16/248G06F16/258G06F16/3329G06F16/35
Inventor 刘磊
Owner 北京沃丰时代数据科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products