CN107977236B - Question-answering system generation method, terminal device, storage medium and question-answering system - Google Patents

Question-answering system generation method, terminal device, storage medium and question-answering system Download PDF

Info

Publication number
CN107977236B
CN107977236B CN201711393848.5A CN201711393848A CN107977236B CN 107977236 B CN107977236 B CN 107977236B CN 201711393848 A CN201711393848 A CN 201711393848A CN 107977236 B CN107977236 B CN 107977236B
Authority
CN
China
Prior art keywords
question
node
transaction
answering
parameter
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.)
Active
Application number
CN201711393848.5A
Other languages
Chinese (zh)
Other versions
CN107977236A (en
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.)
Shanghai Xiaoi Robot Technology Co Ltd
Original Assignee
Shanghai Xiaoi Robot 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 Shanghai Xiaoi Robot Technology Co Ltd filed Critical Shanghai Xiaoi Robot Technology Co Ltd
Priority to CN201711393848.5A priority Critical patent/CN107977236B/en
Publication of CN107977236A publication Critical patent/CN107977236A/en
Priority to US16/103,104 priority patent/US10942955B2/en
Application granted granted Critical
Publication of CN107977236B publication Critical patent/CN107977236B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • G06F8/22Procedural
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/243Natural language query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding
    • G06F8/443Optimisation

Abstract

The embodiment of the invention discloses a method, equipment and a medium for generating a question-answering system and the question-answering system. The generation method comprises the following steps: acquiring a graphical question-answer flow chart; generating a standardized code frame matched with the question-answering flow chart according to each graphic component included in the question-answering flow chart, wherein the graphic components comprise: a transaction node associated with a service interface that performs a set type of service; generating custom codes respectively corresponding to the graphic assemblies according to the custom configuration information matched with the graphic assemblies in the question-answering flow chart, and adding the custom codes to positions, associated with the graphic assemblies, in the standardized code frame; and adding topic knowledge points corresponding to the question-answering flow module in the knowledge base. The scheme of the embodiment of the invention realizes the quick calling of the existing function or service, avoids the repeated writing or transplanting of codes realizing the same function, ensures the simplicity of the code realization of the question-answering system, and realizes the quick construction and updating of the question-answering system.

Description

Question-answering system generation method, terminal device, storage medium and question-answering system
Technical Field
The embodiment of the invention relates to an intelligent question-answering technology, in particular to a question-answering system generation method, terminal equipment, a storage medium and a question-answering system.
Background
Human-computer interaction is the science of studying the interactive relationships between systems and users. The system may be a variety of machines, and may be a computerized system and software. For example, various artificial intelligence systems (intelligent customer service systems, voice control systems, etc.) can be realized through human-computer interaction. Artificial intelligence semantic recognition is the basis for human-machine interaction, which is capable of recognizing human language for conversion into machine-understandable language.
The intelligent question-answering system is a typical application of human-computer interaction, wherein when a user proposes a question, the intelligent question-answering system gives an answer to the question. In the prior art, a flow designer can design different question-answering flow charts according to different question-answering requirements, and a developer realizes the question-answering flow charts in a code form so as to finally obtain a corresponding intelligent question-answering system.
The main drawback of the prior art is that a flow designer designs different question-answer flow charts, which may have a certain degree of flow overlapping phenomenon, for example: a question-answering flow chart associated with a schedule may relate to a meeting room scheduled flow that may appear in another meeting room scheduled flow chart. When the situation occurs, developers may need to repeatedly write the flow codes for realizing the same function or transplant one already-written flow code to other flow codes, so that the workload is large, and the error rate is high; in addition, after the flow designer of the intelligent question-answering system puts forward the requirements, the developer realizes the compiling of the corresponding codes. That is, the code for implementing the process is completely a black box for the process designer of the intelligent question-answering system, and if any change needs to be made to the question-answering system, a developer needs to be introduced to modify the process code even if only the answer dialect is modified, and the process code is regenerated into the corresponding process service and then updated to the server.
Disclosure of Invention
The embodiment of the invention provides a question-answering system generation method, terminal equipment, a storage medium and a question-answering system, which aim to optimize the realization mode of the existing question-answering system and improve the generation efficiency of the question-answering system.
In a first aspect, an embodiment of the present invention provides a method for generating a question answering system, including:
acquiring one or more graphical question-answer flow charts;
generating a standardized code frame matched with the question-answering flow chart according to each graphic component included in each question-answering flow chart, wherein the graphic components comprise: at least one transaction node associated with a service interface that performs a set type of service;
generating custom codes corresponding to the graphic assemblies respectively according to custom configuration information matched with the graphic assemblies in the question-answering flow chart, and adding the custom codes to positions, associated with the graphic assemblies, in the standardized code frame so as to generate a question-answering flow module corresponding to the question-answering flow chart;
wherein the custom configuration information matched with the trading node comprises: a service invocation address corresponding to a transaction node, the service invocation address pointing to a service interface associated with the transaction node;
when the transaction node in the question-answering flow module is triggered, the transaction node constructs transaction information according to at least one dynamic variable input to the node of the transaction node and sends the transaction information to a corresponding service calling address, and a transaction processing result fed back by the service calling address is returned to the question-answering flow module, so that the question-answering flow module continues to execute according to the transaction processing result;
adding a theme knowledge point corresponding to each question-answering flow module in a knowledge base, wherein the theme knowledge points comprise theme questions and theme answers, the theme questions are used for representing triggering conditions of the question-answering flow modules, and the theme answers are used for establishing triggering relations between the theme knowledge points and the question-answering flow modules.
In a second aspect, an embodiment of the present invention further provides a terminal device, where the terminal device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for generating a question-answering system according to any embodiment of the present invention.
In a third aspect, an embodiment of the present invention further provides a computer storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for generating a question-answering system according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a question-answering system, where the question-answering system is generated by the generation method of the question-answering system according to any embodiment of the present invention.
The embodiment of the invention provides a generation method of a question-answering system, terminal equipment, a storage medium and the question-answering system, which can automatically generate a question-answering flow module for realizing the function of the question-answering flow diagram through a graphical question-answering flow diagram and custom configuration information set for each graphic component in the question-answering flow diagram, can flexibly realize the use of the question-answering system generated based on the question-answering flow module by adding a subject knowledge point corresponding to each question-answering flow module in a knowledge base, provides a generation method of the question-answering system which can be realized by a what you see is what you get mode, optimizes the realization mode of the existing question-answering system, and can realize the quick calling of an existing function or service by introducing a transaction node into a graphic component to obtain the service attribute required in a service flow, repeated writing or transplanting of codes with the same functions is avoided, simplicity of the code implementation of the question-answering system is guaranteed, workload and error probability of developers are reduced, the question-answering system is quickly constructed and updated, the developers are prevented from being introduced into the generation process of the question-answering system, workload of the developers is greatly reduced, cost is reduced, and accuracy and efficiency are improved.
Drawings
Fig. 1a is a flowchart of a method for generating a question answering system according to a first embodiment of the present invention;
FIG. 1b is a schematic diagram of a graphical question-answering flow chart according to one embodiment of the present invention;
FIG. 1c is a diagram illustrating a user-defined configuration information of a transaction node according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for generating a question answering system according to a second embodiment of the present invention;
fig. 3 is a flowchart of a method for generating a question answering system according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal device in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
In order to facilitate understanding of the content of the embodiment of the invention, question-answer knowledge points in intelligent question-answers and related concepts of semantic expressions are introduced for simple introduction:
1. question-answering knowledge point
The most primitive and simplest form of question-answer knowledge points in the knowledge base is the frequently used FAQ in normal times, and the general form is a question-answer pair. For example, "the tariff for a coloring ring back tone" is a clear description of the standard. The term "question" should not be construed narrowly as "question" but rather broadly as "input" with corresponding "output". For example, for semantic recognition for a control system, an instruction of a user, for example "turn on radio", should also be understood as a "question", in which case the corresponding "answer" may be a call to a control program for executing the corresponding control.
When the user inputs the information to the machine, the most ideal situation is to use standard questions, and the intelligent semantic recognition system of the machine can immediately understand the meaning of the user. However, rather than using standard questions, users often use some variant form of standard questions. For example, if the standard form of a station switch for a radio is "change station", then the command that the user may use is "switch station", and the machine also needs to be able to recognize that what the user has expressed is the same meaning.
For intelligent semantic recognition, an expanded question of a standard question is required in the knowledge base, and the expanded question is slightly different from the expression form of the standard question but expresses the same meaning.
Therefore, the knowledge base comprises a plurality of question-answer knowledge points, each question-answer knowledge point comprises a question and an answer, the question comprises a standard question and a plurality of expanded questions, and the questions in the question-answer knowledge points are generally represented in the form of semantic expressions.
2. Semantic expression
The semantic expression mainly comprises words, parts of speech and their or relations, the core of the semantic expression depends on the parts of speech, the simple understanding of the parts of speech is a group of common words, the words can be similar or dissimilar in semantics, and the words can be marked as important or unimportant. The semantic expression and user question relationship is very different from the traditional template matching, in which the template and user question are just matching and unmatching relationships, and the relationship between the semantic expression and user question is represented by a quantized value (similarity), and the quantized value and the similarity between the similar question and the user question can be compared with each other. Because the semantic expression and the similar question sentence participate in similarity calculation, the definition of the template grammar is not complex, but enough ability to express the semantic is required.
Example one
Fig. 1a is a flowchart of a method for generating a question-answering system according to an embodiment of the present invention, where this embodiment is applicable to a case where a question-answering system is generated according to the question-answering flowchart, where the question-answering system specifically refers to a system capable of performing question-answering interaction with an interactive user, and the method may be executed by a generating device of the question-answering system, and the device may be implemented in a software and/or hardware manner, and may generally be integrated in a terminal device or a server for generating the question-answering system. As shown in fig. 1a, the method of this embodiment specifically includes:
and S110, acquiring one or more graphical question-answer flow charts.
In this embodiment, the question-answering flowchart may be a graphical flowchart obtained by selecting and combining each graphical component provided in the setting flow editing interface.
Wherein a graph component may comprise nodes and connectors (typically connecting lines) for connecting different nodes. The nodes include one or more transaction nodes.
The transaction node is associated with a service interface for executing the set type service, and is used for constructing transaction information according to the dynamic variable input to the transaction node, sending the transaction information to the associated service interface, and receiving a transaction processing result fed back by the service interface.
The service interface is used for obtaining a corresponding transaction processing result through the self-processing logic according to the input transaction information, for example, a service interface used for finishing meeting room reservation can realize that the reservation operation of the meeting room is finished through the self-processing logic according to the input meeting room reservation parameters (such as XX time and XX meeting room) as the transaction information, and the meeting room reservation result such as reservation success or reservation failure is returned as the transaction processing result; or, a service interface for completing the conference room inquiry can be implemented to complete the inquiry operation of the available conference rooms through the self-processing logic according to the input conference room inquiry parameters (such as XX time, XX number, conference rooms with or without projectors) as the transaction information, and return the conference room information meeting the inquiry conditions as the transaction processing result.
From the above analysis, it can be seen that if one or more implemented service functions are required to be used in a question-answering system, for example: the conference room reservation, the network train booking, the air ticket booking, the hospital registration and the like can call the service interface matched with the service function in a mode of introducing a transaction node without repeatedly writing or transplanting a program code corresponding to the required service function in the question answering system, and the workload required for realizing the question answering system is reduced on the premise of greatly simplifying the program code.
In addition, it should be noted that a service interface that can be invoked by a transaction node may also be implemented based on a flow code that is automatically generated by a service flow diagram that includes a plurality of nodes, where the service flow diagram differs from the question-answer flow diagram in the embodiment of the present invention mainly in that, in the process of executing the flow, the question-answer flow diagram in the embodiment of the present invention controls different trends of the nodes in the question-answer flow diagram according to the content input by the user according to question-answer interaction with the user, and for a service flow diagram, it only needs to receive one or more transaction information at the beginning of the flow, and then execute the transaction information according to the execution sequence set by the service flow diagram, and does not need the user to input any content again.
From the overall structure of the question-answering flow chart, a question-answering flow chart may include a root node representing the start of the flow and one or more end nodes representing the end of the flow. It is to be understood that the nodes may include one or more transaction nodes, as well as one or more interaction nodes, broadcast nodes, variable setting nodes, or recording nodes, and the like, which are not limited in this embodiment, generally, a root node in a question-answering flow chart is a transaction node or an interaction node, and a termination node is a broadcast node.
For ease of understanding, a graphical question-answering flow chart is shown in FIG. 1 b. As shown in fig. 1b, the oval-shaped graph components in the question-answering flow chart are transaction nodes (e.g., a meeting room inquiry node 101 and a meeting room reservation node 105), the square-shaped graph components are announcement nodes (e.g., an announcement success node 106), and the diamond-shaped graph components are interaction nodes (e.g., inquiring whether to determine the reservation node 104). The nodes are connected by node-to-node connections (e.g., connection a and connection B). Wherein, the related concepts about the interactive node and the broadcasting node will be described below.
S120, generating a standardized code frame matched with the question-answering flow chart according to each graphic component included in each question-answering flow chart, wherein the graphic components comprise: at least one transaction node associated with a service interface that performs a set type of service.
In the embodiment, a question-answering flow module capable of being automatically generated is provided. Accordingly, standard implementation code matching different types of graphic components is provided in advance, such as: and establishing standard implementation codes respectively corresponding to the transaction nodes, the broadcast nodes and the broadcast nodes, packaging the standard implementation codes in different library files, and establishing a corresponding relation between the standard implementation codes and the corresponding graphic assemblies in advance. Typically, a storage address (or a reference address) of a standardized implementation code matched with each graphic component may be written in the flow editing interface in advance, and accordingly, a matched standardized code frame may be automatically generated for each graphic component included in a question-answer flow chart drawn based on the flow editing interface.
It should be noted that, the embodiment of the present invention mainly focuses on a method for generating a question-answering system including transaction nodes, and therefore, a question-answering flow chart includes one or more transaction nodes, but the technical solution of the embodiment of the present invention can theoretically implement generation of any type of question-answering system, and only by drawing a corresponding flow chart as needed, a corresponding standardized code frame can be obtained, and further, a corresponding flow module can be obtained.
S130, generating custom codes corresponding to the graphic assemblies respectively according to the custom configuration information matched with the graphic assemblies in the question-answering flow chart, and adding the custom codes corresponding to the graphic assemblies to positions, associated with the graphic assemblies, in the standardized code frame to generate question-answering flow modules corresponding to the question-answering flow chart.
It is understood that the standard implementation code matched to each graphic component includes only general functions that the corresponding graphic component can implement. For example: for a transaction node, the corresponding standard time code comprises logic for parameter transmission, for an interaction node, the corresponding standard implementation code comprises judgment logic, or for a broadcast node, the corresponding standard implementation code comprises broadcast logic and the like. In order to enable one graphic assembly to realize different functions given to the graphic assembly in different question-answering flowcharts, corresponding custom configuration parameters need to be input.
As a simple example, for the broadcast in fig. 1b that the conference room node 102 is not found, after the broadcast is triggered, the broadcast content "meeting room not found" may be broadcasted, and accordingly, the broadcast content of the "meeting room not found" is a function given to the broadcast not found conference room node 102, and in order to enable the broadcast not found conference room node 102 to implement the function, the broadcast content needs to be added to the code position corresponding to the broadcast not found conference room node 102 in the standardized code frame as the custom configuration information.
Typically, blank code segments may be reserved at set positions in standard implementation codes matched with the respective graphic assemblies, and when a custom configuration parameter input for one graphic assembly in the question-and-answer flowchart is acquired (for example, through a parameter configuration interface input provided by a flow editing interface), the custom code matched with the custom configuration parameter is added to the corresponding blank code segment, so as to implement a custom graphic assembly function.
Optionally, custom configuration information (for example, a meeting room is not found) may be directly added to the standardized code frame as the custom code, and a custom code matched with different pieces of custom configuration information and written in advance may be added to the standardized code frame according to setting content (for example, an interface invoking manner selected for a transaction node) selected by a user in a custom configuration information input template, which is not limited in this embodiment.
Correspondingly, if the user-defined setting is completed for all the graphic assemblies included in one question-answering flow chart, an implementation code capable of implementing the functions of the question-answering flow chart can be generated, that is: the question-answering flow module of the embodiment of the invention is generated.
In this embodiment, since the transaction node is associated with a service interface for executing a set type service, the custom configuration information matched with the transaction node includes: a service invocation address corresponding to a transaction node, the service invocation address pointing to a service interface associated with the transaction node.
When the transaction node in the question-answering flow module is triggered, the transaction node constructs transaction information according to at least one dynamic variable input to the node of the transaction node and sends the transaction information to a corresponding service calling address, and a transaction processing result fed back by the service calling address is returned to the question-answering flow module, so that the question-answering flow module continues to execute according to the transaction processing result.
It should be noted that, when a transaction node is triggered, the transaction node may extract one or more dynamic variables input to the transaction node from the user interaction information (e.g., meeting room query node 101 in fig. 1 b), or may transmit the one or more dynamic variables from an upstream node in the question-answering flow module (e.g., meeting room reservation node 105 in fig. 1 b).
In contrast, if one transaction node in the question-answering flow module needs to extract one or more dynamic variables from the user interaction information, a corresponding relationship between the transaction node and one knowledge point needs to be established in the knowledge base, where the knowledge point corresponding to the transaction node (hereinafter, referred to as a transaction knowledge point) includes a transaction question and a transaction answer.
The method comprises the steps that user input information is matched with a transaction problem, and when the matching is successful, one or more corresponding dynamic variables are used as transaction information to be provided to a transaction node in combination with a transaction answer; if one transaction node in the question-answering flow module needs to extract one or more dynamic variables from an upstream node in the question-answering flow module, the corresponding relation between the transaction node and one transaction knowledge point does not need to be established in a knowledge base, and the reasonable design of flow codes can be realized in the question-answering flow module. Therefore, in practical application, whether the corresponding relation between the transaction node and the knowledge point in the knowledge base needs to be established or not can be determined according to practical needs.
Furthermore, considering that the transaction information which can be received by the service interface has a predetermined format requirement, the user can be required to input user input information comprising dynamic variables according to a data format which can be identified by the service interface, and the transaction node can further directly send the input dynamic variables as transaction information to a service calling address corresponding to the service interface; in addition, considering that in order to further meet the use experience of the user, the question-answering flow module needs to reduce the input requirement on the user as much as possible, so that the received dynamic variables which do not meet the requirement of the service interface can be converted into transaction information which meets the requirement of the service interface at the transaction node and sent to the service calling address corresponding to the service interface.
Correspondingly, the custom configuration information may further include: a parameter entry corresponding to the first transaction node; the parameter entry definition item comprises at least one parameter entry name and a parameter entry variable matched with the parameter entry name, the parameter entry name is a parameter name which can be identified by a service interface associated with the first transaction node, and the parameter entry variable is matched with a dynamic variable input to the first transaction node; wherein the transaction information includes: the parameter name and the parameter variable.
A schematic diagram of the custom configuration information input into the transaction node is shown in fig. 1 c. As shown in fig. 1c, a service invocation address pointing to the service interface associated with the transaction node may be entered in a call address entry of a conference room querying node (e.g., conference room querying node 101 in fig. 1 b); the corresponding argument names (e.g., startime and overtime), which are parameter names that the service interface can recognize, may be entered in the argument definitions, and the corresponding argument variables (e.g., "$ { meeting start time }" and $ { meeting end time }) may be entered in the argument definitions. The above-mentioned parameter variables are matched with the dynamic variables input to the conference room query node.
More specifically, referring to fig. 1b, the user input information obtained by the conference room query node 101, which is a transaction node, is: "meeting time is 9:00 to 11: 00", by matching the user input information with the transaction knowledge points in the knowledge base corresponding to the meeting room query node 101, the dynamic variables obtained are: the conference start time is 9:00, and the conference end time is 11: 00; the trading node constructs the dynamic variable meeting start time as 9:00 and the meeting end time as 11:00 into trading information, namely: startime ═ 9: 00; the 11:00 variable that the service interface for completing the conference room query can recognize. Then, after the transaction node sends the transaction information to a service calling address corresponding to the service interface, that is: http:// voadev.sh.xaioi.com, meeting room query results returned by the service call address may be received.
And S140, adding topic knowledge points corresponding to each question and answer flow module in a knowledge base, wherein the topic knowledge points comprise topic questions and topic answers, the topic questions are used for representing triggering conditions of the question and answer flow modules, and the topic answers are used for establishing triggering relations between the topic knowledge points and the question and answer flow modules.
In this embodiment, after a question-answering flow module (code for implementing a question-answering flow chart) is generated, in order to implement normal use of the question-answering flow module, it is necessary to further add topic knowledge points corresponding to each question-answering flow module in a knowledge base.
It should be noted that, in this embodiment, an implementation manner is provided in which the question-answering flow module is first generated, and then the topic knowledge point is established, but those skilled in the art can understand that the establishment process of the topic knowledge point may not be limited to be performed after the question-answering flow module is generated, and is not limited herein. For example, the topic knowledge points may be established first, and then the corresponding question-answering flow modules may be established.
In fact, the topic knowledge points are different from the question-answer knowledge points in the knowledge base in that: when the user input information is matched with a question in a question-answering knowledge point, the answer of the question-answering knowledge point is directly output, or the calling of a control program matched with the answer content is executed, and when the user input information is matched with a subject question of a subject knowledge point, the question-answering flow module is correspondingly triggered (for example, the root node of the question-answering flow module is directly triggered).
Typically, the topic answers in a topic knowledge point may be the information that can accurately locate the question-answering flow module, such as the storage address or the calling address of the question-answering flow module corresponding to the topic knowledge point.
The embodiment of the invention provides a generation method of a question-answering system, terminal equipment, a storage medium and the question-answering system, which can automatically generate a question-answering flow module for realizing the function of the question-answering flow diagram through a graphical question-answering flow diagram and custom configuration information set for each graphic component in the question-answering flow diagram, can flexibly realize the use of the question-answering system generated based on the question-answering flow module by adding a subject knowledge point corresponding to each question-answering flow module in a knowledge base, provides a generation method of the question-answering system which can be realized by a what you see is what you get mode, optimizes the realization mode of the existing question-answering system, and can realize the quick calling of an existing function or service by introducing a transaction node into a graphic component to obtain the service attribute required in a service flow, repeated writing or transplanting of codes with the same functions is avoided, simplicity of the code implementation of the question-answering system is guaranteed, workload and error probability of developers are reduced, the question-answering system is quickly constructed and updated, the developers are prevented from being introduced into the generation process of the question-answering system, workload of the developers is greatly reduced, cost is reduced, and accuracy and efficiency are improved.
Further, as mentioned above, if one transaction node in the question-answering flow module needs to extract one or more dynamic variables from the user interaction information, the method for generating the question-answering system further includes: and establishing a transaction knowledge point corresponding to the transaction node in a knowledge base. Wherein the transaction knowledge points comprise: a transaction question and a transaction answer.
The transaction question is used for being matched with transaction information input into the transaction node, and the transaction answer is used for being combined with at least one transaction parameter extracted from the transaction information which is matched successfully in a fuzzy mode to generate a dynamic variable. Therein, a data structure of a transaction knowledge point is shown in table 1.
TABLE 1
Figure GDA0001560164740000141
As shown in table 1, when a transaction node (for example, the conference room query node 101 in fig. 1 b) that needs to extract one or more dynamic variables from the user interaction information is triggered, the user input information is matched with a transaction question corresponding to the transaction node (typically, fuzzy matching), and if matching is successful, specific contents of time, number of people, and conference type (actual contents of the dynamic variables included in the transaction question) are determined according to the transaction question, and the specific contents are combined with a transaction answer to obtain a complete dynamic variable, which is fed back to the corresponding conference room query node 101 (that is, the name of the node is queried corresponding to the conference room in the transaction answer).
More specifically, if the user input information obtained for the meeting room query node 101 in fig. 1b is: "i want to inquire about a meeting room where there is a projector for 3 individuals at 9 am tomorrow", by matching the user input information with the transaction knowledge points described in table 1, it is determined that the number of people is 3, the time is 9 to 12, the conference type is the projector, and then matching the information with the transaction answer, we obtain: complete dynamic variables of "3 times of conference, 9 to 12 times of conference time" and "projector type" are input to the conference room query node 101, and the conference room query node 101 sends transaction information that can be identified by the service interface formed by the dynamic variables to the corresponding service interface.
The advantage of this setting is, can further improve trading node's commonality, can use trading node and current knowledge base in combination. However, there is a problem in setting the transaction knowledge point through the data structure shown in table 1, that is, the user is required to input information including all dynamic variables required by the transaction node or the service interface, and then the service interface is triggered to return a corresponding transaction processing result, once the dynamic variables included in the user input information are incomplete, all dynamic variables need to be input again, and the user experience is influenced to a certain extent due to poor interactivity and intelligence. Based on this, in the second embodiment, another data structure of transaction knowledge points is provided, so that when the dynamic variables included in the user input information are incomplete, the output dialect can be correspondingly adjusted according to the dynamic variables lacking in the user input information, so that the user can conveniently and quickly complete the supplementation of the lacking dynamic variables in the subsequent input information, and the user experience and the question efficiency of the question and answer system can be further improved.
Example two
Fig. 2 is a flowchart of a method for generating a question-answering system according to a second embodiment of the present invention, which is optimized based on the second embodiment of the present invention. Correspondingly, the method of the embodiment of the invention comprises the following steps:
s210, acquiring one or more graphical question-answer flow charts.
S220, generating a standardized code frame matched with the question-answering flow chart according to each graphic component included in each question-answering flow chart, wherein the graphic components comprise: at least one transaction node associated with a service interface that performs a set type of service.
And S230, generating custom codes corresponding to the graphic assemblies respectively according to the custom configuration information matched with the graphic assemblies in the question-answering flow chart, and adding the custom codes to the positions, associated with the graphic assemblies, in the standardized code frame to generate question-answering flow modules corresponding to the question-answering flow chart.
Wherein the custom configuration information matched with the trading node comprises: a service invocation address corresponding to a transaction node, the service invocation address pointing to a service interface associated with the transaction node;
when the transaction node in the question-answering flow module is triggered, the transaction node constructs transaction information according to at least one dynamic variable input to the node of the transaction node and sends the transaction information to a corresponding service calling address, and a transaction processing result fed back by the service calling address is returned to the question-answering flow module, so that the question-answering flow module continues to execute according to the transaction processing result.
S240, the set transaction node corresponds to a knowledge point in a knowledge base, and the knowledge point corresponding to the transaction node comprises: a transaction question and a transaction answer.
As mentioned above, if one or more transaction nodes in the question-answering flow module need to extract one or more dynamic variables from the user interaction information, a corresponding relationship between the transaction node and one knowledge point (i.e., a transaction knowledge point) in the knowledge base needs to be established. In order to solve the problems of the transaction knowledge points in table 1, another data structure of the transaction knowledge points is given in the present embodiment.
Wherein the transaction answer comprises: the method comprises the following steps of associating a trading node, a type of at least one incoming parameter, a type of at least one missing parameter and question-back content matched with the type of the missing parameter;
the transaction problem is used for matching with the received user input information;
the type of the incoming parameter is used for matching with the type of the dynamic variable included in the user input information; the type of the missing parameter and the question-back content matched with the type of the missing parameter are used for determining the question-back content corresponding to the type of the missing parameter in the user input information; and the associated transaction node is used for determining a transaction node into which the dynamic variable included in the user input information is transmitted.
Wherein a specific data structure of the above transaction knowledge points is shown in table 2.
TABLE 2
Figure GDA0001560164740000171
As shown in table 2, in the transaction knowledge point, the transaction problem is used to match with the received user input information, and obtain specific contents of one or more items of time, number of people, and conference type included in the user input information; the type of at least one incoming parameter included in the transaction answer is specifically as follows: the meeting time, the number of the meeting people and the meeting type are used for matching with the type of the dynamic variable included in the user input information.
If it is determined that the user input information includes types of all incoming parameters defined in the transaction answer, the specific content and the types of the incoming parameters included in the transaction answer may be directly combined to construct a dynamic variable, which is sent to an associated transaction node in the transaction answer, that is: "meeting room query" this transaction node.
In addition, the transaction knowledge point also defines the type of at least one missing parameter and the question-back content matched with the type of the missing parameter. For example: the 'time [ @ is corresponding to the type of the missing parameter', and the 'asking for the meeting room at which you want to be at a certain point' is corresponding to the corresponding content of the back asking. Namely: if the user input information does not include the specific content of the meeting time, the user can be provided with corresponding question-back content based on the transaction knowledge points: asking you to ask about a point-to-point conference room to request the user to re-input specific content including the conference time; for another example, "[ @ number of people ] [ @ conference type ] -, the number of participants and required equipment to ask for," the [ @ number of people ] [ @ conference type ] "corresponds to the type of missing parameter," the number of participants and required equipment to ask for, "the content of asking for back questions" corresponds to the corresponding content of asking for back questions. Namely: if the user input information does not include the number of the conference persons and the specific content of the conference type, the corresponding question-back content can be provided for the user based on the transaction knowledge points: the number of participants asking for a meeting and the required equipment to request the user to re-input specific content including the number of participants and the type of meeting.
By adopting the data structure of the transaction knowledge points described in table 2, the data format of the user input information input to the transaction node can be not strictly specified, and based on the transaction knowledge points, corresponding question-back content can be returned to the user according to the types of the missing dynamic variables in the user input information, so that the user can correct the user input content according to the question-back content, only the missing dynamic variables are provided again, and the provided dynamic variables do not need to be provided again. The method and the system have the advantages that the transaction nodes can be normally triggered and work, meanwhile, the requirements for the input information of the user are greatly reduced, and the question answering efficiency of the question answering system and the use experience of the user can be obviously improved.
Correspondingly, the setting the transaction node to correspond to a knowledge point in the knowledge base may include: if the transaction knowledge points matched with the transaction nodes are determined to be included in the knowledge base, the corresponding relation of the transaction knowledge points and the transaction nodes can be directly established in the knowledge base, and if the transaction knowledge points matched with the transaction nodes are determined not to be included in the knowledge base, the transaction knowledge points can be established in the knowledge base firstly, and then the corresponding relation of the transaction knowledge points and the transaction nodes is established.
In addition, it should be noted that the transaction node is obviously different from the question-answer knowledge point mentioned above. As mentioned above, the question-answer knowledge point generally includes questions and corresponding answers (also referred to as "question-answer" pair), where the question-answer knowledge point is mainly used in a scene of question-answer with an interactive user, the questions in the question-answer knowledge point are used for matching with user input information, and if matching is successful, the answers in the question-answer knowledge point are fed back, or a control program matched with the answer content is invoked.
Namely: the question-answer knowledge point can directly determine the processing result corresponding to the user input information (for example, feedback of answer content or execution of a call of a setting control program), and the transaction knowledge point is used for matching and determining the dynamic variable input to the corresponding transaction node, and the purposes of the question-answer knowledge point and the transaction knowledge point are different. In order to distinguish the two types of knowledge points in different application scenes, the transaction knowledge points and the question and answer knowledge points can be stored in different storage positions in the knowledge base, or knowledge point labels distinguished from the question and answer knowledge points are added in the interaction knowledge points.
In other embodiments of the present invention, when the question-answer knowledge point and the interaction knowledge point are different, they may not be distinguished from each other, which is within the protection scope of the present invention.
And S250, adding theme knowledge points corresponding to each question and answer flow module in a knowledge base, wherein the theme knowledge points comprise theme questions and theme answers, the theme questions are used for representing triggering conditions of the question and answer flow modules, and the theme answers are used for establishing triggering relations between the theme knowledge points and the question and answer flow modules.
According to the technical scheme of the embodiment of the invention, the corresponding relation between the transaction node and the transaction knowledge point in the knowledge base is established, and the question content when the user input information lacks one or more dynamic variables required by the transaction node is defined in the transaction knowledge point, so that the finally constructed question-answering system can feed back different question contents according to different user input information when circulating to the transaction node matched with the transaction knowledge point, so that the user can correct the user input content according to the question contents, only the missing dynamic variables are provided again, and the provided dynamic variables do not need to be provided again. The method and the system have the advantages that the transaction nodes can be normally triggered and work, meanwhile, the requirements for the input information of the user are greatly reduced, and the question answering efficiency of the question answering system and the use experience of the user can be obviously improved.
On the basis of the above embodiments, the graphic assembly may further include: connections for connecting different nodes, for example, as shown in fig. 1B, a connection a for connecting the conference room inquiry node 101 and broadcasting the not found conference room node 102, a connection B for connecting the conference room inquiry node 101 and inquiring whether the predetermined node 104 is determined, and a connection C for connecting the conference room inquiry node 101 and broadcasting the list of conference rooms for the user to select the node 103.
The corresponding custom configuration information comprises: dynamic condition configuration information matched with the first connecting piece;
the first connecting piece is used for connecting the associated upper-layer node and the associated lower-layer node, and the associated upper-layer node is a second transaction node;
wherein the dynamic condition configuration information is a condition for the question-answering flow module to flow from the associated upper node to the associated lower node, and the dynamic condition configuration information includes: the transaction node comprises a definition item and a condition setting value, wherein the definition item corresponds to at least one transaction processing result received by the transaction node, and the condition setting value is used for carrying out condition comparison on the transaction processing result in the definition item.
In a specific example, the dynamic condition configuration information corresponding to the first connection element may be set in a manner of "$ { transaction node name }. variable name + relationship operator + variable value".
The variable name is the parameter-defining item, and represents at least one transaction processing result received by the transaction node, and the variable value corresponds to a condition setting value and is used for performing condition comparison with the transaction processing result in the parameter-defining item.
More specifically, as shown in fig. 1B, the connection a, the connection B, and the connection C are all connections connecting the transaction node (conference room inquiry node 101) with other nodes. Assuming that the meeting room query node 101 receives the number of meeting rooms whose transaction processing results returned by the corresponding service interface satisfy the condition (the transaction information constructed according to the user input information), the dynamic condition configuration information corresponding to the connection component a may be constructed as follows: "$ { trading node name }. code ═ 0"; the dynamic condition configuration information corresponding to the connection member B is: "$ { trade node name }. code ═ 1", the dynamic condition configuration information corresponding to the connection C is: "$ { trade node name }. code > 1"
The code represents a transaction processing result received by the transaction node, and the operators are relations between the transaction processing result and a corresponding condition setting value.
Namely: if the meeting room query node 101 receives that the transaction processing result returned by the corresponding service interface is 1, the dynamic condition configuration information that the transaction processing result satisfies is "$ { transaction node name }. code ═ 1", and accordingly, the question-answering system will flow from the meeting room query node 101 to inquire whether to determine that the predetermined node 104 continues to execute.
On the basis of the above embodiments, the graphic assembly may further include: an interactive node;
correspondingly, the method further comprises the following steps: establishing a corresponding relation between each interactive node and one or more knowledge points in a knowledge base, wherein the knowledge points corresponding to the interactive nodes comprise: the system comprises interactive questions and interactive answers, wherein the interactive questions are used for being matched with received user interactive information, and the interactive answers are used for determining the next trend of the question answering flow module.
The interactive node is specifically a node which can interact with interactive users in question and answer (either one question and one answer or multiple questions and answers), and under the interactive node, the next trend of the question and answer system can be determined according to user interaction information input by the users.
For example, as shown in fig. 1b, whether the query determines that the predetermined node 104 is an interactive node, if it is determined that the user inputs "no" based on whether the query determines that the predetermined node 104, the next trend of the question-answering system is determined as an end flow; if it is determined whether the user determines that the reservation node 104 inputs "yes" based on the query, it is determined that the next walk of the question-and-answer system is the conference room reservation node 105.
Further, the interactive node needs to determine the next trend of the established question-answering flow module according to the user interaction information. Namely: the interactive node comprises at least two branches, and different branches correspond to different trends of the question-answering flow module. Therefore, different branch conditions need to be set for different branches in the question-answering flow module.
In fact, the expression form of the user interaction information input by the user under one interaction node may not be unique, or a plurality of different user interaction information may all correspond to the same branch condition. As shown in fig. 1b, for example, when it is predetermined that the user interaction information is "no" or "uncertain", the question-answering system will flow to the end process, so it is necessary to establish an interaction knowledge point matching the interaction node in the knowledge base: (no, no) and (indeterminate, no). And respectively establishes the corresponding relation between the interactive knowledge points and whether the inquiry confirms the predetermined node 104. Similarly, when the user interaction information is preset to be "yes" or "determined", the question-answering system will flow to the end process, and an interaction knowledge point matched with the interaction node needs to be established in the knowledge base: (yes ), and (sure, yes).
Therefore, the inquiry is made whether it is determined that the predetermined node 104 needs to establish correspondence with four interactive knowledge points in total. It is to be understood that knowledge points corresponding to the interactive nodes are different from the question-and-answer knowledge points in the prior art, and therefore, for convenience of distinction, the knowledge points corresponding to the interactive nodes will be hereinafter collectively referred to as interactive knowledge points.
The first half part in each bracket represents an interactive question of an interactive knowledge point and is used for matching with received user interactive information, and the second half part in each bracket represents an interactive answer of the interactive knowledge point and is used for determining the next trend of the question and answer flow module.
On the basis of the above embodiments, the graphic assembly may further include: and broadcasting the nodes. The broadcasting node is used for broadcasting the broadcasting contents preset through the custom configuration information. For example, the broadcast shown in fig. 1b does not find the conference room node 102, broadcasts the list of conference rooms for the user to select the node 103, broadcasts the node 106 for successful reservation, and broadcasts the node 107 for failure reason. For example: when the question answering system flows to the broadcasting node 102 that the meeting room is not found, the broadcasting node correspondingly broadcasts ' apology ', and the meeting room meeting the conditions is not found '.
Furthermore, besides setting broadcast contents for the broadcast nodes, the broadcast contents can be set for other types of nodes, so that each node in the question-answering system can better interact with a user in question-answering.
Correspondingly, the custom configuration information includes: broadcasting content corresponding to the first node;
the first node is connected with a third trading node through a connecting piece, the first node is positioned at the downstream of the third trading node, and the first node comprises: interaction nodes, broadcast nodes or other transaction nodes;
the broadcast content includes: the combination of the transaction processing result received by the third transaction node, the transaction processing result received by the third transaction node and preset information, or the combination of the transaction processing result received by the third transaction node and a dynamic variable input to the third transaction node.
Specifically, as shown in fig. 1b, the query is made as to whether predetermined node 104 is determined to be an interactive node connected to the transaction node (i.e., meeting room query node 101) via a connection. Therefore, different types of broadcast contents matched with the transaction processing result received by the conference room query node 101 may be set for the interactive node, for example, a broadcast content including only the transaction processing result is "one meeting room satisfies the condition", or a broadcast content including a combination of the transaction processing result and preset information is "only one meeting room satisfies the condition according to the meeting room query condition input by you", or a broadcast content including a combination of the transaction processing result and a dynamic variable input to the transaction node is "only one meeting room satisfying the meeting time XX, the number of meeting persons XX, and the type of meeting XX", and so on.
It can be understood that the above embodiments only provide several setting modes of the broadcast content, and in fact, a person skilled in the art may set the required broadcast content corresponding to the node in a customized manner according to the actual situation, which is not limited in this embodiment.
Further, the broadcast content may be list type data. For example: as shown in fig. 1b, the broadcast conference room list is provided for the user to select the node 103, and it can be known through the foregoing analysis that when it is determined that more than 1 conference room satisfies the condition, the node will be transferred, so that the broadcast content of the broadcast conference room list provided for the user to select the node 103 can be set as list-type data correspondingly, so that the node can broadcast a plurality of conference rooms satisfying the condition, for example: broadcasting: "meeting time is XX, meeting number is XX, meeting room with meeting type XX is as follows: conference room a1, conference rooms B2, … ".
Typically, when a user double-clicks or clicks one graphic component in the question-answering flow chart, the user-defined configuration information input template is correspondingly popped up, and a flow designer can input different user-defined configuration information to different graphic components through simple selection and input operation.
EXAMPLE III
Fig. 3 is a flowchart of a method for generating a question-answering system according to a third embodiment of the present invention, which is optimized based on the third embodiment of the present invention. Correspondingly, the method of the embodiment of the invention comprises the following steps:
s310, acquiring one or more graphical question-answer flow charts.
S320, obtaining a root node in the question-answering flow chart, generating a benchmark standardization code corresponding to the root node according to the type of the root node, and adding the benchmark standardization code into an original code frame.
And S330, starting from the next layer of the root node, sequentially acquiring one node in the question-answer flow chart as the current traversal node.
Typically, if the next layer of the root node includes a plurality of nodes, the nodes of the layer are completely traversed according to a certain traversal order, for example, from left to right or from right to left, and then the next layer of nodes are continuously traversed after the nodes of the layer are completely traversed.
S340, acquiring an additional standardized code corresponding to the current traversal node according to the type of the current traversal node.
And S350, correspondingly adding the additional standardized codes into the original code frame according to the positions of the standardized codes of the previous layer of nodes connected with the current traversal node through the connecting piece in the original code frame.
S360, judging whether the processing of all the nodes in the question-answer flow chart is finished or not: if yes, go to S370; otherwise, the process returns to the step S330.
And S370, taking the original code frame obtained after the processing as a standardized code frame matched with the question-answering flow chart.
It should be noted that, the embodiment of the present invention provides a method for generating a standardized code frame according to a question-answering flowchart that has been drawn, and actually, the standardized code frame may be generated by updating in real time in a drawing process of the question-answering flowchart, and the generation timing of the standardized code frame is not limited in this embodiment.
And S380, generating custom codes corresponding to the graphic assemblies respectively according to the custom configuration information matched with the graphic assemblies in the question-answering flow chart, and adding the custom codes to the positions, associated with the graphic assemblies, in the standardized code frame so as to generate question-answering flow modules corresponding to the question-answering flow chart.
And S390, the set transaction node corresponds to one knowledge point in the knowledge base.
And S3100, adding topic knowledge points corresponding to each question and answer flow module in a knowledge base, wherein the topic knowledge points comprise topic questions and topic answers, the topic questions are used for representing triggering conditions of the question and answer flow modules, and the topic answers are used for establishing triggering relations between the topic knowledge points and the question and answer flow modules.
According to the technical scheme, the corresponding standardized code frame is generated based on the drawn question-answering flow chart, so that the defect that the standardized code frame is updated correspondingly to the modification of the question-answering flow chart when the standardized code frame is generated in the flow chart drawing process is overcome, and the generation efficiency of the question-answering flow module is improved.
Example four
The embodiment of the invention provides a question-answering system, which is generated by a generation method of the question-answering system according to any embodiment of the invention.
The question-answering system comprises: a question-answer flow module corresponding to a question-answer flow chart, wherein the question-answer flow chart comprises a plurality of graphic components, and the graphic components comprise: at least one transaction node associated with a service interface that performs a set type of service;
the topic knowledge points are stored in the knowledge base and comprise topic questions and topic answers, the topic questions are used for representing trigger conditions of the question and answer flow module matched with a question and answer system, and the topic answers are used for establishing trigger relations between the topic knowledge points and the question and answer flow module.
Further, the question-answering flow module corresponding to the question-answering flow chart specifically includes:
generating a standardized code frame matched with the question-answering flow chart according to each graphic component included in the question-answering flow chart; and
generating custom codes which correspond to the graphic components respectively and are added to the positions, associated with the graphic components, in the standardized code frame according to the custom configuration information matched with the graphic components in the question-answering flow chart;
wherein the custom configuration information matched with the trading node comprises: a service invocation address corresponding to a transaction node, the service invocation address pointing to a service interface associated with the transaction node.
Further, the question answering system further comprises:
knowledge points which are stored in the knowledge base and correspond to the transaction nodes set in the question-answering flow module;
the knowledge points corresponding to the transaction nodes comprise: a transaction question and a transaction answer, the transaction answer comprising: the method comprises the following steps of associating a trading node, a type of at least one incoming parameter, a type of at least one missing parameter and question-back content matched with the type of the missing parameter;
the transaction problem is used for matching with the received user input information;
the type of the incoming parameter is used for matching with the type of the dynamic variable included in the user input information; the type of the missing parameter and the question-back content matched with the type of the missing parameter are used for determining the question-back content corresponding to the type of the missing parameter in the user input information; and the associated transaction node is used for determining a transaction node into which the dynamic variable included in the user input information is transmitted.
The technical scheme of the embodiment of the invention provides a question-answering system generated by a question-answering system based generation method. By the question-answering system, the required question-answering flow module can be conveniently and effectively triggered according to the question-answering requirement, and the types of knowledge points stored in a knowledge base are greatly enriched.
EXAMPLE five
Fig. 4 is a schematic structural diagram of a computer device according to a fifth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 4 is only one example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 4, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with the other modules of computer device 12 via bus 18. It should be appreciated that although not shown in FIG. 4, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, to implement the generation method of the question and answer system provided by the embodiment of the present invention.
Namely: the processing unit implements, when executing the program: acquiring one or more graphical question-answer flow charts;
generating a standardized code frame matched with the question-answering flow chart according to each graphic component included in each question-answering flow chart, wherein the graphic components comprise: at least one transaction node associated with a service interface that performs a set type of service;
generating custom codes corresponding to the graphic assemblies respectively according to custom configuration information matched with the graphic assemblies in the question-answering flow chart, and adding the custom codes to positions, associated with the graphic assemblies, in the standardized code frame so as to generate a question-answering flow module corresponding to the question-answering flow chart;
wherein the custom configuration information matched with the trading node comprises: a service invocation address corresponding to a transaction node, the service invocation address pointing to a service interface associated with the transaction node;
when the transaction node in the question-answering flow module is triggered, the transaction node constructs transaction information according to at least one dynamic variable input to the node of the transaction node and sends the transaction information to a corresponding service calling address, and a transaction processing result fed back by the service calling address is returned to the question-answering flow module, so that the question-answering flow module continues to execute according to the transaction processing result;
adding a theme knowledge point corresponding to each question-answering flow module in a knowledge base, wherein the theme knowledge points comprise theme questions and theme answers, the theme questions are used for representing triggering conditions of the question-answering flow modules, and the theme answers are used for establishing triggering relations between the theme knowledge points and the question-answering flow modules.
EXAMPLE six
An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for generating a question answering system according to any embodiment of the present application:
namely: the program when executed by a processor implements: acquiring one or more graphical question-answer flow charts;
generating a standardized code frame matched with the question-answering flow chart according to each graphic component included in each question-answering flow chart, wherein the graphic components comprise: at least one transaction node associated with a service interface that performs a set type of service;
generating custom codes corresponding to the graphic assemblies respectively according to custom configuration information matched with the graphic assemblies in the question-answering flow chart, and adding the custom codes to positions, associated with the graphic assemblies, in the standardized code frame so as to generate a question-answering flow module corresponding to the question-answering flow chart;
wherein the custom configuration information matched with the trading node comprises: a service invocation address corresponding to a transaction node, the service invocation address pointing to a service interface associated with the transaction node;
when the transaction node in the question-answering flow module is triggered, the transaction node constructs transaction information according to at least one dynamic variable input to the node of the transaction node and sends the transaction information to a corresponding service calling address, and a transaction processing result fed back by the service calling address is returned to the question-answering flow module, so that the question-answering flow module continues to execute according to the transaction processing result;
adding a theme knowledge point corresponding to each question-answering flow module in a knowledge base, wherein the theme knowledge points comprise theme questions and theme answers, the theme questions are used for representing triggering conditions of the question-answering flow modules, and the theme answers are used for establishing triggering relations between the theme knowledge points and the question-answering flow modules.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (12)

1. A method for generating a question-answering system is characterized by comprising the following steps:
acquiring one or more graphical question-answer flow charts;
generating a standardized code frame matched with the question-answering flow chart according to each graphic component included in each question-answering flow chart, wherein the graphic components comprise: at least one transaction node associated with a service interface that performs a set type of service;
generating custom codes corresponding to the graphic assemblies respectively according to custom configuration information matched with the graphic assemblies in the question-answering flow chart, and adding the custom codes to positions, associated with the graphic assemblies, in the standardized code frame so as to generate a question-answering flow module corresponding to the question-answering flow chart;
wherein the custom configuration information matched with the trading node comprises: a service invocation address corresponding to a transaction node, the service invocation address pointing to a service interface associated with the transaction node;
when the transaction node in the question-answering flow module is triggered, the transaction node sends transaction information constructed according to at least one dynamic variable input to the node of the transaction node to a corresponding service calling address, and returns a transaction processing result fed back by the service calling address to the question-answering flow module so that the question-answering flow module continues to execute according to the transaction processing result;
adding a theme knowledge point corresponding to each question-answering flow module in a knowledge base, wherein the theme knowledge points comprise theme questions and theme answers, the theme questions are used for representing triggering conditions of the question-answering flow modules, and the theme answers are used for establishing triggering relations between the theme knowledge points and the question-answering flow modules.
2. The method of claim 1, further comprising:
the method comprises the following steps that a set transaction node corresponds to a knowledge point in a knowledge base, and the knowledge point corresponding to the transaction node comprises the following steps: a transaction question and a transaction answer, the transaction answer comprising: the method comprises the following steps of associating a trading node, a type of at least one incoming parameter, a type of at least one missing parameter and question-back content matched with the type of the missing parameter;
the transaction problem is used for matching with the received user input information;
the type of the incoming parameter is used for matching with the type of the dynamic variable included in the user input information; the type of the missing parameter and the question-back content matched with the type of the missing parameter are used for determining the question-back content corresponding to the type of the missing parameter in the user input information; and the associated transaction node is used for determining a transaction node into which the dynamic variable included in the user input information is transmitted.
3. The method of claim 2, wherein the custom configuration information further comprises: a parameter entry corresponding to the first transaction node;
the parameter entry definition item comprises at least one parameter entry name and a parameter entry variable matched with the parameter entry name, the parameter entry name is a parameter name which can be identified by a service interface associated with the first transaction node, and the parameter entry variable is matched with a dynamic variable input to the first transaction node;
wherein the transaction information includes: the parameter name and the parameter variable.
4. The method of any of claims 1-3, wherein the graphical component further comprises: and the connecting pieces are used for connecting different nodes.
5. The method of claim 4, wherein the custom configuration information comprises: dynamic condition configuration information matched with the first connecting piece;
the first connecting piece is used for connecting the associated upper-layer node and the associated lower-layer node, and the associated upper-layer node is a second transaction node;
wherein the dynamic condition configuration information is a condition for the question-answering flow module to flow from the associated upper node to the associated lower node, and the dynamic condition configuration information includes: the transaction node comprises a definition item and a condition setting value, wherein the definition item corresponds to at least one transaction processing result received by the transaction node, and the condition setting value is used for carrying out condition comparison on the transaction processing result in the definition item.
6. The method of any of claims 1-3, wherein the graphical component further comprises: an interactive node;
the method further comprises the following steps: establishing a corresponding relation between each interactive node and one or more knowledge points in a knowledge base, wherein the knowledge points corresponding to the interactive nodes comprise: the system comprises interactive questions and interactive answers, wherein the interactive questions are used for being matched with received user interactive information, and the interactive answers are used for determining the next trend of the question answering flow module.
7. The method of claim 6, wherein the graphical component further comprises: and broadcasting the nodes.
8. The method of claim 7, wherein the custom configuration information comprises: broadcasting content corresponding to the first node;
the first node is connected with a third trading node through a connecting piece, the first node is positioned at the downstream of the third trading node, and the first node comprises: interaction nodes, broadcast nodes or other transaction nodes;
the broadcast content includes: the combination of the transaction processing result received by the third transaction node, the transaction processing result received by the third transaction node and preset information, or the combination of the transaction processing result received by the third transaction node and a dynamic variable input to the third transaction node.
9. The method of claim 8, wherein the broadcast is list-type data.
10. A terminal device, characterized in that the terminal device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of generating a question-answering system according to any one of claims 1 to 9.
11. A computer storage medium on which a computer program is stored, characterized in that the program, when executed by a processor, implements the method of generating a question-answering system according to any one of claims 1 to 9.
12. A question-answering system, characterized in that it is generated by the method of generation of a question-answering system according to any one of claims 1 to 9.
CN201711393848.5A 2017-12-21 2017-12-21 Question-answering system generation method, terminal device, storage medium and question-answering system Active CN107977236B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711393848.5A CN107977236B (en) 2017-12-21 2017-12-21 Question-answering system generation method, terminal device, storage medium and question-answering system
US16/103,104 US10942955B2 (en) 2017-12-21 2018-08-14 Questioning and answering method, method for generating questioning and answering system, and method for modifying questioning and answering system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711393848.5A CN107977236B (en) 2017-12-21 2017-12-21 Question-answering system generation method, terminal device, storage medium and question-answering system

Publications (2)

Publication Number Publication Date
CN107977236A CN107977236A (en) 2018-05-01
CN107977236B true CN107977236B (en) 2020-11-13

Family

ID=62007083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711393848.5A Active CN107977236B (en) 2017-12-21 2017-12-21 Question-answering system generation method, terminal device, storage medium and question-answering system

Country Status (1)

Country Link
CN (1) CN107977236B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002510B (en) * 2018-06-29 2021-08-13 北京百度网讯科技有限公司 Dialogue processing method, device, equipment and medium
CN110689393B (en) * 2018-07-06 2022-08-02 阿里巴巴集团控股有限公司 Man-machine interaction method, device, system and storage medium
CN109408232B (en) * 2018-10-17 2020-08-14 山东易通发展集团有限公司 Transaction flow-based componentized bus calling execution system
CN109815321B (en) * 2018-12-26 2020-12-11 出门问问信息科技有限公司 Question answering method, device, equipment and storage medium
CN109857910B (en) * 2019-01-07 2024-03-26 平安科技(深圳)有限公司 XML file generation method and device, computer equipment and storage medium
CN109783627B (en) * 2019-01-07 2023-06-30 平安科技(深圳)有限公司 Automatic response method, device, computer equipment and storage medium
CN109815323B (en) * 2019-01-08 2021-02-12 四川灵灵器机器人有限责任公司 Human-computer interaction training question-answer generation algorithm
CN110308902B (en) * 2019-06-28 2023-10-03 百度在线网络技术(北京)有限公司 File generation method, device, equipment and storage medium
CN110286910B (en) * 2019-06-28 2023-08-01 百度在线网络技术(北京)有限公司 File migration method, device, equipment and storage medium
CN112099768B (en) * 2020-08-04 2024-02-23 北京奇艺世纪科技有限公司 Business process processing method and device and computer readable storage medium
CN116009847A (en) * 2023-02-16 2023-04-25 上海伯俊软件科技有限公司 Code generation method, device, electronic equipment and storage medium

Citations (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1137655A (en) * 1995-01-31 1996-12-11 三菱电机株式会社 Process information management system
CN1459719A (en) * 2002-05-17 2003-12-03 义隆电子股份有限公司 System of pattern development program and method
CN1618066A (en) * 2001-11-23 2005-05-18 捷讯研究有限公司 System and method for processing extensible markup language (xml) documents
US7120926B1 (en) * 1999-09-02 2006-10-10 General Instrument Corporation Method and system of identifying software and firmware objects available for download over a network such as a cable television system
CN1864133A (en) * 2003-08-20 2006-11-15 日本烟草产业株式会社 Program generation system, program generation program, and program generation module
CN1967574A (en) * 2005-11-17 2007-05-23 深圳市东进通讯技术股份有限公司 Method and system to realize generating of integrated communications platform process
WO2007114839A1 (en) * 2006-03-30 2007-10-11 Sony Ericsson Mobile Communications Ab Method and apparatus for managing mobile terminal events
CN101118554A (en) * 2007-09-14 2008-02-06 中兴通讯股份有限公司 Intelligent interactive request-answering system and processing method thereof
CN101154227A (en) * 2006-09-26 2008-04-02 中兴通讯股份有限公司 Code generation method based on ASN type object
CN101256492A (en) * 2008-03-31 2008-09-03 宋乃辉 Software development method and system for executing model drive structure
CN101340731A (en) * 2008-08-22 2009-01-07 中国电信股份有限公司 Quality of service guarantee method, network side equipment and terminal
CN101694619A (en) * 2009-10-09 2010-04-14 清华大学 Method for converting business process diagram into event driven bpel model
CN102185899A (en) * 2011-04-18 2011-09-14 北京神州数码思特奇信息技术股份有限公司 Method for constructing service flow chart in browser/server (B/S) architecture and B/S architecture
CN102360291A (en) * 2011-10-07 2012-02-22 云南爱迪科技有限公司 Service-oriented business rule design method based on business rule engine
CN102968306A (en) * 2012-11-29 2013-03-13 广东全通教育股份有限公司 Method and system for automatically generating code based on data model drive
CN103198155A (en) * 2013-04-27 2013-07-10 俞志晨 Mobile terminal based smart question answering interaction system and method
CN103365634A (en) * 2012-03-29 2013-10-23 苏州工业园区进一科技有限公司 Method for transferring controlling processes into program control statements in flow chart
CN103383645A (en) * 2013-07-29 2013-11-06 北京邮电大学 Code generation method and system
CN103425565A (en) * 2012-05-16 2013-12-04 腾讯科技(深圳)有限公司 Method and system for acquiring running information of program
CN103532767A (en) * 2013-10-28 2014-01-22 国家电网公司 Method for implementing master and standby dispatch integrated man-machine interactive system based on SOA (service oriented architecture)
CN103870260A (en) * 2012-12-14 2014-06-18 腾讯科技(深圳)有限公司 Method and system for service interface development
CN104866298A (en) * 2014-02-26 2015-08-26 阿里巴巴集团控股有限公司 Flow chart based process business implementing method and device
CN105574133A (en) * 2015-12-15 2016-05-11 苏州贝多环保技术有限公司 Multi-mode intelligent question answering system and method
CN105787134A (en) * 2016-04-07 2016-07-20 上海智臻智能网络科技股份有限公司 Intelligent questioning and answering method, intelligent questioning and answering device and intelligent questioning and answering system
CN105786509A (en) * 2016-02-29 2016-07-20 浪潮软件集团有限公司 Graphical display method for business process
CN105893476A (en) * 2016-03-29 2016-08-24 上海智臻智能网络科技股份有限公司 Intelligent questioning and answering method, knowledge base optimization method and device, and intelligent knowledge base
CN105955745A (en) * 2016-05-04 2016-09-21 山东中创软件商用中间件股份有限公司 Flow chart simulation debugging method and device
CN106202006A (en) * 2016-06-27 2016-12-07 北京百度网讯科技有限公司 Document generating method and device
CN106599317A (en) * 2016-12-30 2017-04-26 上海智臻智能网络科技股份有限公司 Test data processing method and device for question-answering system and terminal
CN106873949A (en) * 2015-12-11 2017-06-20 泰康保险集团股份有限公司 Code generating method and its device
CN106886406A (en) * 2017-01-19 2017-06-23 阿里巴巴集团控股有限公司 The generation method and device of exploitation code or document
CN107247726A (en) * 2017-04-28 2017-10-13 北京神州泰岳软件股份有限公司 Suitable for the implementation method and device of the intelligent robot of multi-service scene
CN107315360A (en) * 2017-06-15 2017-11-03 南方电网科学研究院有限责任公司 The long-range control method and system of measuring instrument
CN107329967A (en) * 2017-05-12 2017-11-07 北京邮电大学 Question answering system and method based on deep learning
CN107423270A (en) * 2017-07-27 2017-12-01 国云科技股份有限公司 The implementation method that a kind of online flow chart and code mutually turn in real time

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9141910B2 (en) * 2013-03-11 2015-09-22 International Business Machines Corporation Inner passage relevancy layer for large intake cases in a deep question answering system

Patent Citations (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1137655A (en) * 1995-01-31 1996-12-11 三菱电机株式会社 Process information management system
US7120926B1 (en) * 1999-09-02 2006-10-10 General Instrument Corporation Method and system of identifying software and firmware objects available for download over a network such as a cable television system
CN1618066A (en) * 2001-11-23 2005-05-18 捷讯研究有限公司 System and method for processing extensible markup language (xml) documents
CN1459719A (en) * 2002-05-17 2003-12-03 义隆电子股份有限公司 System of pattern development program and method
CN1864133A (en) * 2003-08-20 2006-11-15 日本烟草产业株式会社 Program generation system, program generation program, and program generation module
CN1967574A (en) * 2005-11-17 2007-05-23 深圳市东进通讯技术股份有限公司 Method and system to realize generating of integrated communications platform process
WO2007114839A1 (en) * 2006-03-30 2007-10-11 Sony Ericsson Mobile Communications Ab Method and apparatus for managing mobile terminal events
CN101154227A (en) * 2006-09-26 2008-04-02 中兴通讯股份有限公司 Code generation method based on ASN type object
CN101118554A (en) * 2007-09-14 2008-02-06 中兴通讯股份有限公司 Intelligent interactive request-answering system and processing method thereof
CN101256492A (en) * 2008-03-31 2008-09-03 宋乃辉 Software development method and system for executing model drive structure
CN101340731A (en) * 2008-08-22 2009-01-07 中国电信股份有限公司 Quality of service guarantee method, network side equipment and terminal
CN101694619A (en) * 2009-10-09 2010-04-14 清华大学 Method for converting business process diagram into event driven bpel model
CN102185899A (en) * 2011-04-18 2011-09-14 北京神州数码思特奇信息技术股份有限公司 Method for constructing service flow chart in browser/server (B/S) architecture and B/S architecture
CN102360291A (en) * 2011-10-07 2012-02-22 云南爱迪科技有限公司 Service-oriented business rule design method based on business rule engine
CN103365634A (en) * 2012-03-29 2013-10-23 苏州工业园区进一科技有限公司 Method for transferring controlling processes into program control statements in flow chart
CN103425565A (en) * 2012-05-16 2013-12-04 腾讯科技(深圳)有限公司 Method and system for acquiring running information of program
CN102968306A (en) * 2012-11-29 2013-03-13 广东全通教育股份有限公司 Method and system for automatically generating code based on data model drive
CN103870260A (en) * 2012-12-14 2014-06-18 腾讯科技(深圳)有限公司 Method and system for service interface development
CN103198155A (en) * 2013-04-27 2013-07-10 俞志晨 Mobile terminal based smart question answering interaction system and method
CN103383645A (en) * 2013-07-29 2013-11-06 北京邮电大学 Code generation method and system
CN103532767A (en) * 2013-10-28 2014-01-22 国家电网公司 Method for implementing master and standby dispatch integrated man-machine interactive system based on SOA (service oriented architecture)
CN104866298A (en) * 2014-02-26 2015-08-26 阿里巴巴集团控股有限公司 Flow chart based process business implementing method and device
CN106873949A (en) * 2015-12-11 2017-06-20 泰康保险集团股份有限公司 Code generating method and its device
CN105574133A (en) * 2015-12-15 2016-05-11 苏州贝多环保技术有限公司 Multi-mode intelligent question answering system and method
CN105786509A (en) * 2016-02-29 2016-07-20 浪潮软件集团有限公司 Graphical display method for business process
CN105893476A (en) * 2016-03-29 2016-08-24 上海智臻智能网络科技股份有限公司 Intelligent questioning and answering method, knowledge base optimization method and device, and intelligent knowledge base
CN105787134A (en) * 2016-04-07 2016-07-20 上海智臻智能网络科技股份有限公司 Intelligent questioning and answering method, intelligent questioning and answering device and intelligent questioning and answering system
CN105955745A (en) * 2016-05-04 2016-09-21 山东中创软件商用中间件股份有限公司 Flow chart simulation debugging method and device
CN106202006A (en) * 2016-06-27 2016-12-07 北京百度网讯科技有限公司 Document generating method and device
CN106599317A (en) * 2016-12-30 2017-04-26 上海智臻智能网络科技股份有限公司 Test data processing method and device for question-answering system and terminal
CN106886406A (en) * 2017-01-19 2017-06-23 阿里巴巴集团控股有限公司 The generation method and device of exploitation code or document
CN107247726A (en) * 2017-04-28 2017-10-13 北京神州泰岳软件股份有限公司 Suitable for the implementation method and device of the intelligent robot of multi-service scene
CN107329967A (en) * 2017-05-12 2017-11-07 北京邮电大学 Question answering system and method based on deep learning
CN107315360A (en) * 2017-06-15 2017-11-03 南方电网科学研究院有限责任公司 The long-range control method and system of measuring instrument
CN107423270A (en) * 2017-07-27 2017-12-01 国云科技股份有限公司 The implementation method that a kind of online flow chart and code mutually turn in real time

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"智臻智能客服软件V7.0";袁辉 等;《国际科技成果》;20130522;第1-2页 *
垂直领域问答系统的研究与实现;刘一诚;《中国优秀硕士学位论文全文数据库 信息科技辑》;20160815(第08期);I138-1506 *
基于分布式技术的自动答疑系统的设计与实现;梁继东;《中国优秀硕士学位论文全文数据库 信息科技辑》;20160513(第03期);I138-953 *

Also Published As

Publication number Publication date
CN107977236A (en) 2018-05-01

Similar Documents

Publication Publication Date Title
CN107977236B (en) Question-answering system generation method, terminal device, storage medium and question-answering system
CN108090177B (en) Multi-round question-answering system generation method, equipment, medium and multi-round question-answering system
US11341422B2 (en) Multi-round questioning and answering methods, methods for generating a multi-round questioning and answering system, and methods for modifying the system
US10942955B2 (en) Questioning and answering method, method for generating questioning and answering system, and method for modifying questioning and answering system
JP7274043B2 (en) Voice conversation processing method and device
Allen et al. An architecture for a generic dialogue shell
CN109101545A (en) Natural language processing method, apparatus, equipment and medium based on human-computer interaction
CN110019716B (en) Multi-turn question and answer method, terminal equipment and storage medium
US20210209164A1 (en) Method, apparatus, and storage medium for recommending interactive information
CN110019731A (en) Intelligent interactive method, device, terminal device and storage medium
CN110019723A (en) Answering method, terminal device and storage medium based on question answering system
US10297255B2 (en) Data processing system with machine learning engine to provide automated collaboration assistance functions
CN110096516B (en) User-defined database interaction dialog generation method and system
US20180211223A1 (en) Data Processing System with Machine Learning Engine to Provide Automated Collaboration Assistance Functions
CN115345126A (en) Contextual real-time content highlighting on shared screens
CN109960489B (en) Method, device, equipment, medium and question-answering system for generating intelligent question-answering system
CN109960490B (en) Method, device, equipment, medium and question-answering system for generating intelligent question-answering system
CN109857910B (en) XML file generation method and device, computer equipment and storage medium
CN112784024B (en) Man-machine conversation method, device, equipment and storage medium
CN116360735A (en) Form generation method, device, equipment and medium
CN113379375B (en) Method and device for guiding subscription in chat mode and electronic equipment
CN109933314B (en) Generation device of multi-turn question-answering system
CN111556096B (en) Information pushing method, device, medium and electronic equipment
CN111090733B (en) Human-computer interaction method, device, equipment and readable storage medium
CN113961680A (en) Human-computer interaction based session processing method and device, medium and electronic equipment

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
GR01 Patent grant
GR01 Patent grant