Unlock instant, AI-driven research and patent intelligence for your innovation.

Answer output method, device, electronic equipment and storage medium

A technology of output method and answer, which is applied in the direction of electrical digital data processing, instrumentation, calculation, etc., can solve the problem of poor flexibility of the question answering system, and achieve the effect of improving flexibility

Active Publication Date: 2022-01-21
出门问问创新科技有限公司 +1
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present invention provides an answer output method, device, electronic equipment and storage medium, the main purpose of which is to solve the problem of poor flexibility of the question answering system

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
  • Answer output method, device, electronic equipment and storage medium
  • Answer output method, device, electronic equipment and storage medium
  • Answer output method, device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] figure 1 It is a flow chart of an answer output method according to the embodiment of the present invention, and this embodiment can be applied to the case of outputting problems based on different question and answer models, the method can be performed by the answer output providing device, the device can be And / or hardware. Corresponding, such as figure 1 As shown, the method includes the following operations:

[0032] S110, get the target paragraph that matches the target problem.

[0033] Among them, the target problem can be any type of user input, such as "Where is Tianjin University?" The set number can be the value of the question and answer system set by the actual demand, such as 4, 6 or 8, etc., the embodiment of the present invention The specific value of the set quantity is not limited. The target paragraph can be the relevant paragraph feedback from the target problem, the question and answer model in the question and answer system can obtain the answer and...

Embodiment 2

[0043] figure 2 It is a flow chart of an answer output method according to the second embodiment of the present invention, and the present embodiment is particularized by the above embodiment. In the present embodiment, the specific type of the question and answer model is given, and according to the target paragraph. The scope length determines the specific implementation of the question and answer model. Corresponding, such as figure 2 As shown, the method includes the following operations:

[0044] S210, obtain the target paragraph that matches the target problem.

[0045] S220, a score of the target paragraph; obtaining a word length of the target paragraph based on the results.

[0046] Wherein, the word length includes a set number of distinct average length or maximum word length of each of the target paragraphs.

[0047]In an embodiment of the present invention, the obtaining of the target word length of the first paragraph of Destinations paragraphs word. Wherein the seg...

Embodiment 3

[0070] image 3 It is a schematic view of an answer output apparatus according to a third embodiment of the present invention, as image 3 Shown, the apparatus comprising: a target paragraph obtaining module 310, a first model determination module Q output 320, and the answer module 330, wherein:

[0071] Target paragraphs obtaining module 310, configured to obtain the target paragraph set number matches the target problem;

[0072] The first model determination module Q 320, Q for determining the length of the word model according to the target paragraph;

[0073] The answer output module 330 for the model output Q answer questions as an answer the target output.

[0074] A set number of target paragraphs answer output method according to an embodiment of the present invention is matched by the acquiring the target problem is determined word length of the target paragraph, and determine the appropriate Q model according to the word length of the target paragraph, question and answ...

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 embodiment of the present invention discloses an answer output method, device, electronic equipment and storage medium. The method includes: acquiring a set number of target paragraphs matching the target question; determining a question-and-answer model according to the word segmentation length of the target paragraph; The answer output by the question answering model is output as the answer to the target question. The technical solutions of the embodiments of the present invention can improve the flexibility of the question answering system on the premise of taking into account the accuracy and efficiency of answer output.

Description

Technical field [0001] Embodiments of the present invention relate to the field of natural language processing, in particular to an answer output method, device, electronic device, and storage medium. Background technique [0002] With the development of natural language processing technology, the question and answer system based on natural language processing technology has also been widely used. Commonly used Q & A systems such as chat robots, can automatically generate and output corresponding answers based on chat content input by users. [0003] Currently, the existing question and answer system usually uses a fixed question and answer model when processing problems. Such as reading comprehension model or DBQA (Document-based Question Answering, document-based issue) model. [0004] In the specific implementation process, the present invention found that there is a problem in the prior art: the question and answer system uses a fixed question and answer model that often does...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/332G06F40/289
CPCG06F40/289
Inventor 岳聪孔心宇
Owner 出门问问创新科技有限公司