CN110019717A - The device of the more wheel question answering systems of modification - Google Patents

The device of the more wheel question answering systems of modification Download PDF

Info

Publication number
CN110019717A
CN110019717A CN201711346368.3A CN201711346368A CN110019717A CN 110019717 A CN110019717 A CN 110019717A CN 201711346368 A CN201711346368 A CN 201711346368A CN 110019717 A CN110019717 A CN 110019717A
Authority
CN
China
Prior art keywords
question
interaction
node
answer
knowledge point
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.)
Granted
Application number
CN201711346368.3A
Other languages
Chinese (zh)
Other versions
CN110019717B (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.)
Huayuan Computing Technology Shanghai Co ltd
Original Assignee
Shanghai Zhizhen Intelligent Network 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 Zhizhen Intelligent Network Technology Co Ltd filed Critical Shanghai Zhizhen Intelligent Network Technology Co Ltd
Priority to CN201711346368.3A priority Critical patent/CN110019717B/en
Priority to US16/106,680 priority patent/US11341422B2/en
Publication of CN110019717A publication Critical patent/CN110019717A/en
Application granted granted Critical
Publication of CN110019717B publication Critical patent/CN110019717B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology

Abstract

The embodiment of the invention discloses the devices that question answering system is taken turns in a kind of modification more.The modification device includes: that modification information obtains module, for obtaining the modification information for being directed to target and taking turns setting system component in question answering system more;Wherein, the modification information includes any one of following or multinomial combination: modification thematic knowledge point corresponding with the target mostly wheel question answering system, modification target corresponding with the target mostly wheel question answering system takes turns question and answer process module, and modification knowledge point corresponding with setting interaction node in the target mostly wheel question and answer process module more;More wheel question answering system update modules, for according to the modification information, the corresponding update target to take turns question answering system more.The modification modes of the existing more wheel question answering systems of the scheme optimization of the embodiment of the present invention, realize the quick modification and update of more wheel question answering systems, avoid and introduce developer during mostly wheel question answering systems are modified, greatly reduce the workload of developer.

Description

The device of the more wheel question answering systems of modification
Technical field
The present embodiments relate to the devices that question answering system is taken turns in intelligent answer technology more particularly to a kind of modification more.
Background technique
Human-computer interaction is the science of the interactive relation between research system and user.System can be various machines Device is also possible to the system and software of computerization.For example, various artificial intelligence system (intelligence may be implemented by human-computer interaction Energy customer service system, speech control system etc.).Artificial intelligence semantics recognition is the basis of human-computer interaction, can be to human language Identified, to be converted into machine it will be appreciated that language.
Intelligent Answer System is a kind of typical case of human-computer interaction, wherein after user's proposition problem, intelligent answer system System provides the answer of the problem.More wheel question answering systems are one of very important intelligent Answer Systems, generally require with User carries out the question and answer interactions taken turns more.And the interaction content inputted in a certain wheel question answering process according to user, determine next round The feedback information of user is supplied to when question and answer.Question and answer process is taken turns one correspondingly, taking turns question answering system more one and often corresponding to more, from Root nodes in more wheel question and answer processes start, according to the customer interaction information received in multiple interaction nodes (judging node), The next trends for constantly determining much more entire wheel question and answer processes to the last arrive at finish node as expected and complete entire more wheels Question and answer process.
With the continuous progress of technology, people constantly mention to more wheel question answering systems and for the modification demand of more wheel systems The modification technology of height, existing more wheel question answering systems can no longer meet the modification of the growing personalization of people, facilitation Demand.
Summary of the invention
The embodiment of the invention provides the devices that question answering system is taken turns in a kind of modification more, take turns question and answer to optimize existing modification more The technology of system improves the modification efficiency and modification convenience of more wheel question answering systems.
The embodiment of the invention provides the devices that question answering system is taken turns in a kind of modification more, are applied in more wheel question answering systems;
More wheel question answering systems include: more wheel question and answer process modules corresponding with mostly wheel question and answer flow chart, more wheels It include multiple graphic assemblies in question and answer flow chart, the graphic assembly includes: multiple interaction nodes;
It is stored in knowledge base, there is corresponding relationship with each interaction node in more wheel question and answer flow charts One or more knowledge points, knowledge point corresponding with the interaction node include: interaction problems and interaction answer, and the interaction is asked Topic with the customer interaction information received for being matched, and the interactive answer is for determining more wheel question and answer process modules Next trend;And
The thematic knowledge point being stored in the knowledge base, the thematic knowledge point include problem of subject and theme answer, The problem of subject is used to indicate the trigger condition with the matched more wheel question and answer process modules of more wheel question answering systems, the master Topic answer is used to establish the triggering relationship of the thematic knowledge point and more wheel question and answer process modules;
The device of question answering system is taken turns in the modification more, comprising:
Modification information obtains module, for obtaining the modification letter for being directed to target and taking turns setting system component in question answering system more Breath;
Wherein, the modification information includes any one of following or multinomial combination: modification takes turns question answering system with the target more Corresponding thematic knowledge point, modification target corresponding with the target mostly wheel question answering system take turns question and answer process module, Yi Jixiu more Change knowledge point corresponding with setting interaction node in the target mostly wheel question and answer process module;
More wheel question answering system update modules, for according to the modification information, the corresponding update target to take turns question and answer system more System.
The embodiment of the invention provides the devices that question answering system is taken turns in a kind of modification more, obtain module by modification information, use The modification information that system component is set in question answering system is taken turns for target in obtaining more;Wherein, the modification information includes following Any one or multinomial combination: modification thematic knowledge point corresponding with the target mostly wheel question answering system, modification and the target are more It takes turns the corresponding target of question answering system and takes turns question and answer process module more, and modification is taken turns in question and answer process module more with the target and set The corresponding knowledge point of interaction node;More wheel question answering system update modules, for according to the modification information, the corresponding update mesh The technological means of the more wheel question answering systems of mark proposes a kind of concrete mode modified to more wheel question answering systems, greatly full Foot user optimizes the technology that question answering system is taken turns in existing modification more, improves more to the modification demands of more wheel question answering systems The modification efficiency and modification convenience for taking turns question and answer realize the quick modification and update of more wheel question answering systems, avoid Developer is introduced during more wheel question answering system modifications, greatly reduces the workload of developer.
Detailed description of the invention
Fig. 1 a is the flow chart of the generation method for more wheel question answering systems that the embodiment of the present invention is applicable in;
Fig. 1 b is the schematic diagram for the patterned more wheel question and answer flow charts of one kind that the embodiment of the present invention is applicable in;
Fig. 1 c is a kind of schematic diagram for custom-configuring information for input interaction node that the embodiment of the present invention is applicable in;
Fig. 1 d is a kind of schematic diagram for custom-configuring information for input casting node that the embodiment of the present invention is applicable in;
Fig. 1 e is a kind of schematic diagram for custom-configuring information for input pad that the embodiment of the present invention is applicable in;
Fig. 2 is the structure chart of the device of the more wheel question answering systems of one of embodiment of the present invention one modification;
Fig. 3 is the structure chart of the device of the more wheel question answering systems of one of embodiment of the present invention two modification;
Fig. 4 is the structure chart of the device of the more wheel question answering systems of one of embodiment of the present invention three modification.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
It also should be noted that only the parts related to the present invention are shown for ease of description, in attached drawing rather than Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart, It is that many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be by again It arranges.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing. The processing can correspond to method, function, regulation, subroutine, subprogram etc..
The content of embodiment to facilitate the understanding of the present invention first introduces question and answer knowledge point and language in intelligent answer The related notion of adopted expression formula is simply introduced:
1, question and answer knowledge point
Question and answer knowledge point most original and simplest form in knowledge base are exactly usually common FAQ, general form It is that " ask-answer " is right.For example, " rate of CRBT " are exactly that clearly standard asks description for expression.Here " asking " should not be by narrowly It is interpreted as " inquiring ", and should broadly understand one " input ", being somebody's turn to do " input " has corresponding " output ".For example, for being used for For the semantics recognition of control system, the instruction of user, such as " opening radio " should also be understood to be one " asking ", corresponding at this time " answering " can be the calling for executing the control program accordingly controlled.
User to machine when inputting, the most ideal situation is that asked using standard, then the intelligent semantic identifying system of machine At once it will be appreciated that the meaning of user.However, user often not uses standard to ask, but some deformations for asking of standard Form.For example, if being " changing a radio station " for the standard form of asking of the radio station switching of radio, then what user may use Order is " switching one radio station ", and what machine was also required to can to identify user's expression is the same meaning.
For intelligent semantic identification, the extension that the standard that needs in knowledge base is asked is asked, which, which asks, asks table with standard There is slight difference up to form, but expresses identical meaning.
It therefore, include multiple question and answer knowledge points in knowledge base, each question and answer knowledge point includes problem and answer, and problem includes Standard, which is asked, asks that the problems in question and answer knowledge point shows generally by the form of semantic formula with multiple extensions.
2, semantic formula
Semantic formula is mainly made of word, part of speech and their "or" relationship, and core depends on " part of speech ", part of speech Simple to understand to be one group of word for having general character, these words can be similar or dissimilar semantically, these words can also be with It is noted as important or inessential.Semantic formula and user's question sentence relationship and traditional template matching have very big difference, In conventional template matching, template and user's question sentence are only matched and not matched relationship, and semantic formula and user's question sentence Between relationship be indicated by the value (similarity) of quantization, while this quantization value between similar question sentence and user's question sentence Similarity can mutually compare.Since semantic formula will participate in together similarity calculation with similar question sentence, so mould The definition of plate grammer is unsuitable complicated, but has enough ability expression semantic again.
In addition, giving the device of the more wheel question answering systems of modification in various embodiments of the present invention, wherein more wheels are asked The system of answering specifically includes:
It is corresponding with more wheel question and answer flow charts to take turns question and answer process module more, it include multiple figures in more wheel question and answer flow charts Shape component, the graphic assembly include: multiple interaction nodes;
It is stored in knowledge base, there is corresponding relationship with each interaction node in more wheel question and answer flow charts One or more knowledge points, knowledge point corresponding with the interaction node include: interaction problems and interaction answer, and the interaction is asked Topic with the customer interaction information received for being matched, and the interactive answer is for determining more wheel question and answer process modules Next trend;And
The thematic knowledge point being stored in the knowledge base, the thematic knowledge point include problem of subject and theme answer, The problem of subject is used to indicate the trigger condition with the matched more wheel question and answer process modules of more wheel question answering systems, the master Topic answer is used to establish the triggering relationship of the thematic knowledge point and more wheel question and answer process modules.
In order to make it easy to understand, the generating means of above-mentioned more wheel question answering systems are simply introduced first.
Shown in Fig. 1 a, the generating means of more wheel question answering systems specifically include: more wheel question and answer flow charts obtain module 110, standardized codes frame generation module 120, custom code adding module 130, corresponding relation building module 140 and Main body knowledge point adding module 150, in which:
More wheel question and answer flow charts obtain module 110, and for obtaining, patterned one or more takes turns question and answer flow chart.
Wherein, more wheel question and answer flow chart specifically can be selection and combine provided in setting process editing interface it is each A graphic assembly, obtained patterned flow chart.
Wherein, graphic assembly may include node and the connector (typical, connecting line) for connecting different nodes. It include interaction node in the node, the interaction node specifically refers to that question and answer can have been carried out with interactive user (can to ask with one One answers, and can also ask answer with one more) node of interaction, under the interaction node, the customer interaction information that can be inputted according to user, Determine next trend of more wheel question and answer flow charts.
For the overall structure of more wheel question and answer flow charts, it may include having a root node that question and answer flow chart is taken turns one more The beginning of process is represented, one or more terminal nodes represent the end of process.In addition, can also mostly be wrapped in wheel question and answer flow chart Multilayer interaction node is included, every layer of interaction node includes one or more interaction nodes.Wherein, one layer of interaction node, it is one corresponding The question and answer stage.
It is, of course, understood that the node other than it may include interaction node, can also include casting section Node or recording node etc. is arranged in point, variable, and the present embodiment is not limited thereto, and in general, question and answer is taken turns one more Root node in flow chart is interaction node, and terminal node is casting node.
In order to make it easy to understand, showing a kind of patterned more wheel question and answer flow charts in Figure 1b.As shown in Figure 1 b, described The graphic assemblies of diamond shape are interaction node (such as: inquiry age node 101), rectangular graphic assembly in more wheel question and answer flow charts For casting node (such as: the age is unsatisfactory for terms of loan node 102).Pass through the connecting line of node-to-node between each node It is connected.It wherein, include four layers of interaction node in more wheel question and answer flow charts described in Fig. 1 b.It include an interaction in each layer Node, namely: include: inquiry age node 101 (root node) in first layer, represents the inquiry stage at age, the second layer includes asking It asks the node 103 that whether has car and house, represents the garage inquiry stage, third layer includes the node 106 for inquiring the amount of the loan, representative loan The money amount of money inquires that stage and the 4th layer include inquiry several sections of points 107 by stages, represents and counts the inquiry stages by stages.Each interaction It can accordingly determine that more the different of wheel question and answer flow chart are moved towards according to the different interaction contents of input in node.In addition, this is more Taking turns question and answer flow chart includes multiple terminal nodes, namely: the age is unsatisfactory for terms of loan node 102, reminds excess node 109, oversubscription issue node 108 and casting loan result node 10A by stages are reminded.
Standardized codes frame generation module 120, for according to each figure for including in each more wheel question and answer flow charts Shape component generates and more wheel matched standardized codes frames of question and answer flow chart, wherein the graphic assembly includes: more A interaction node.
Therein it is proposed that a kind of more wheel question and answer process modules that can be automatically generated.Correspondingly, being provided previously and inhomogeneity The standard implementation code that type graphic assembly matches, such as: establish standard corresponding with interaction node and casting node Realization code wrap pre-establishes the corresponding pass between standard implementation code and corresponding graphic assembly in different library files System.Typically, it can be previously written in the process editing interface and realize code with the matched standardization of each graphic assembly Storage address (or reference address), correspondingly, can be for the more wheel question and answer processes drawn based on the process editing interface Each graphic assembly for including in figure, the automatic corresponding matched standardized codes frame of generation.
It should be noted that the embodiment of the present invention concern is primarily with taking turns the generating means of question answering system more, it is therefore, take turns more It may include having multiple interaction nodes in question and answer flow chart, still, the technical solution of the embodiment of the present invention theoretically may be implemented Corresponding standardization generation can be obtained as long as drawing corresponding flow chart as needed in the generation of any kind of question answering system Code frame, and corresponding process module is obtained in turn.
Custom code adding module 130, for basis and each graphic assemblies in more wheel question and answer flow charts It is matched to custom-configure information, it generates custom code corresponding with each graphic assembly and makes an addition to the standardization In code skeleton and at the associated position of graphic assembly, to generate mostly wheel question and answer processes corresponding with more wheel question and answer flow charts Module.
It is understood that only including corresponding graphic assembly with the matched standard implementation code of each graphic assembly The general utility functions that can be realized.Such as: it is directed to an interaction node, includes decision logic in corresponding standard implementation code, Or it is directed to a casting node, it include casting logic etc. in corresponding standard implementation code.In order to enable a graphical set Part can be realized the functions that it is assigned in more wheel question and answer flow charts, needs to input and custom-configures parameter accordingly.
It cites a plain example, is unsatisfactory for terms of loan node 102 for the age in Fig. 1 b, the age is needed to be unsatisfactory for Terms of loan node 102 in a triggered, can broadcast content " age is unsatisfactory for the terms of loan ", correspondingly, above-mentioned, " age is not Meet the terms of loan " it is exactly the function that the imparting of terms of loan node 102 is unsatisfactory for the age, in order to enable the age is unsatisfactory for providing a loan Condition node 102 can be realized above-mentioned function, need that the standard is added using above-mentioned casting content as information is custom-configured Change in code skeleton.
Typically, blank code can be reserved with the setting position in the matched standard implementation code of each graphic assembly Section is being obtained for the graphic assemblies input in more wheel question and answer flow charts when custom-configuring parameter (for example, passing through stream The parameter configuration interface input that journey editing interface provides), the matched custom code addition pair of parameter is custom-configured by described In the blank code segment answered, to realize customized graphic assembly function.
Optionally, information (such as: the age is unsatisfactory for the terms of loan) can will be custom-configured to make by oneself directly as described Adopted code makes an addition in the standardized codes frame, (can also preferentially select for example, opening rejection according to information is custom-configured Item opens knowledge priority option), what matching was write in advance adds from the different custom codes for custom-configuring information matches It is added in the standardized codes frame, the present embodiment is to this and is not limited.
Correspondingly, if completing customized set to the whole graphic assemblies for including in question and answer flow chart are taken turns one more It sets, then the realization code that can be realized more wheel question and answer flow chart functions can be generated, namely: generate institute of the embodiment of the present invention The more wheel question and answer process modules stated.
Corresponding relation building module 140, for establishing one or more knowledge in each interaction node and knowledge base The corresponding relationship of point, knowledge point corresponding with the interaction node include: interaction problems and interaction answer, and the interaction problems are used It is matched in the customer interaction information received, the interactive answer is for determining under more wheel question and answer process modules One trend.
Wherein, interaction node needs to determine the next of the more wheel question and answer process modules established according to customer interaction information Trend.Namely: interaction node includes at least two branches, and the difference that different branches correspond to more wheel question and answer process modules is walked To.Therefore, it is necessary to be the different branch condition of different branch establishings in more wheel question and answer process modules, such as: such as Fig. 1 b institute Show, on inquiry age node 101, if it is determined that customer interaction information is " having reach 20 years old ", then to take turns question and answer process module edge more Branch A circulate to asking whether this trend of node 103 that has car and house, if it is determined that customer interaction information is " less than 20 Year ", then more wheel question and answer process modules can circulate along branch B is unsatisfactory for this trend of terms of loan node 102 to the age.
In fact, interactive user (namely: the user that question and answer interact is carried out with more wheel question answering systems) in an interaction node The expression-form of the customer interaction information of lower input may be not unique, and customer interaction informations multiple and different in other words can be with The corresponding same branch condition.It as in the previous example, for example, can be with prespecified customer interaction information for " having reach 20 years old ", " adult " Or when " meeting age condition ", question and answer process modules of taking turns can circulate more along branch A, then in addition to (connecting branch A Part) Dynamic trigger condition setting be " reach 20 years old " except, it is also necessary in knowledge base establish and the matched friendship of interaction node Mutual knowledge point: (having reach 20 years old, completely 20 years old), (having grown up, completely 20 years old) and (meeting age condition, completely 20 years old).And Above-mentioned interactive knowledge point is established respectively and inquires the corresponding relationship of age node 101.Similarly, for " less than 20 years old " this point Branch, it is also desirable to be established in knowledge base and interaction node is matched interacts knowledge point: (less than 20 years old, less than 20 years old), (not at Year, less than 20 years old) and (be unsatisfactory for age condition, less than 20 years old).Therefore, inquiry age node 101 altogether need to be with six interactions Corresponding relationship is established in knowledge point.It is understood that knowledge point corresponding with interaction node and question and answer knowledge in the prior art It is distinguishing for putting, and therefore, for the ease of difference, knowledge point corresponding with interaction node is known as interaction knowledge point hereinafter.
Wherein, first half in each bracket represents the interaction problems of interaction knowledge point, for the user that receives Interactive information is matched, and the latter half in each bracket represents the interaction answer of the interaction knowledge point, described in determining Next trend of more wheel question and answer process modules.
By aforesaid operations, when mostly wheel question and answer process modules circulate to the inquiry age node 101, no matter interactive user Input " having reach 20 years old " still " has been grown up ", and " having reach 20 years old " this interaction answer can be matched in knowledge base, is being obtained After taking " having reach 20 years old " this interaction answer, question answering systems of taking turns can determine the dynamic contact of the interaction answer and branch A setting more Clockwork spring part matches, then more wheel question and answer process modules continue circulation downwards by branch A.
Need it is once more emphasized that, the interactive knowledge point corresponding with interaction node stored in the knowledge base be different from institute The question and answer knowledge point stored in knowledge base is stated, as previously mentioned, so-called question and answer knowledge point, generally comprises problematic and corresponding answers Case (alternatively referred to as " ask-answer " to), wherein the question and answer knowledge point is primarily adapted for use in the scene that question and answer are carried out with interactive user In, the problems in question and answer knowledge point with the customer interaction information of interactive user for being matched, if successful match, to the friendship Answer in mutual user feedback question and answer knowledge point, or execute the calling with the control program of the answer content matching.
Namely: question and answer knowledge point can directly determine interaction process result corresponding with customer interaction information (for example, feedback Answer content or the calling for executing setting control program), and interacting knowledge point is the branch for determining more wheel question answering systems Condition, the two purposes is different.For the ease of being distinguished in different application scene to above-mentioned two class knowledge point, can will hand over Mutual knowledge point and question and answer knowledge point are stored at storage location different in the knowledge base, or are added in interaction knowledge point Add the knowledge point label etc. distinguished with question and answer knowledge point.
In fact, the main purpose that interaction knowledge point is arranged allows for the user received for same interaction node The content of interactive information may be diversified, for example, " reach 20 years old " described in precedent or " adult " etc., still, In order to guarantee to take turns the terseness of question answering system one, generally when a branch condition of interaction node is arranged, being used only single more One conditional content, such as: " having reach 20 years old " therefore introduces the concept of interactive knowledge point.It is same by being directed in knowledge base Multiple interactive knowledge points are arranged in the same branch condition of one interaction node, namely: by multiple distinct interactions for being directed toward same branch Problem, the same interactive answer in correspondence, can be realized and allow multiple approximate expression contents that can correspond to a branch condition.
In other embodiments of the invention, question and answer knowledge point with interact knowledge point not it is also possible to not to the two It distinguishes, all within protection scope of the present invention.
As in the previous example, take turns one in question and answer process module may include multiple connectors to connect different nodes more, therefore, Information can be custom-configured by configuring the target connector that one is used to connect upper layer interaction node and lower level node, Realize the determination of next trend to more wheel question and answer process modules.
Correspondingly, the information that custom-configures may include: and the matched dynamic condition configuration information of target connector; The target connector is interaction section for connecting association upper layer node and association lower level node, the association upper layer node Point;
Wherein, the dynamic condition configuration information is that more wheel question and answer process modules circulate from the association upper layer node To the condition of the association lower level node, the dynamic condition configuration information and the association upper layer node in the knowledge base Interaction answer in a corresponding knowledge point matches.
Main body knowledge point adding module 150, for the addition in knowledge base and each more wheel question and answer process modules pair The thematic knowledge point answered, the thematic knowledge point include problem of subject and theme answer, and the problem of subject is taken turns more for indicating The trigger condition of question and answer process module, the theme answer is for establishing the thematic knowledge point and more wheel question and answer process moulds The triggering relationship of block.
Wherein, more wheel question and answer process modules (code for realizing more wheel question and answer flow charts) is being generated, and in knowledge base It establishes after interaction node and the corresponding relationship of one or more knowledge point, in order to realize to more wheel question and answer process modules Normal use, needs further that addition with each described takes turns the corresponding thematic knowledge point of question and answer process module more in knowledge base.
It should be noted that foregoing present one kind to firstly generate more wheel question and answer process modules, theme is established later The implementation of knowledge point, and it will be appreciated by persons skilled in the art that the establishment process of thematic knowledge point can not office It is limited to execute after generating more wheel question and answer process modules, is not defined here.For example, thematic knowledge can be initially set up Point is establishing corresponding more wheel question and answer process modules etc. later.
In fact, thematic knowledge point and the difference of the question and answer knowledge point in knowledge base are: when the use of interactive user input When the problems in family interactive information and question and answer knowledge point match, can directly export the answer of the question and answer knowledge point, or execute with The calling of the control program of the answer content matching, and when the customer interaction information of interactive user input (is referred to as just hereinafter Beginning solicited message) when being matched with the problem of subject of a thematic knowledge point, then it can correspond to and trigger more wheel question and answer process module (examples Such as, the root node of more wheel question and answer process modules is directly triggered).
Typically, the theme answer in a thematic knowledge point can be the corresponding more wheel question and answer processes of the thematic knowledge point The information of more wheel question and answer process modules can be accurately positioned in storage address or call address of module etc..
Foregoing present a kind of generation of more wheel question answering systems that can be realized by way of What You See Is What You Get dresses It sets, optimizes the implementation of existing more wheel question answering systems, realize rapid build and the update of more wheel question answering systems, keep away Exempt to introduce developer in more wheel question answering system generating process, greatly reduced the workload of developer, reduce costs, Improve accuracy rate and efficiency.
Specifically, the information that custom-configures may further include: rejection priority option corresponding with interaction node.
Wherein, it circulates in more wheel question and answer process modules to configuration and opens the first interaction node of rejection priority function When, if it is determined that the customer interaction information received at least one knowledge corresponding with first interaction node in knowledge base Interaction problems in point mismatch, then provide rejection response, and the customer interaction information is re-entered in request.
Namely: if an interaction node is configured for rejection priority option, identification base is only capable of in the interaction node In the interaction problems of the interaction node.Typically, it is refused if be provided with for an interaction nodes for taking turns question and answer flow charts more Know priority option, then obtain write in advance with the matched custom code of rejection priority function, and by above-mentioned custom code It makes an addition in the standardized codes frame and at the associated position of the interaction node.
By the way that rejection priority option is arranged, it ensure that more wheel question answering systems can be held according to pre-designed process sequence Row arbitrarily will not be jumped or be fed back because of some unrecognized problems of more wheel question answering systems that user inputs, So that regular, the secondary sequence of entire more wheel question answering systems is more preferable.
Unlike rejection priority option, the information that custom-configures can also include: corresponding with interaction node Knowledge priority option;
Wherein, it circulates in more wheel question and answer process modules to configuration and opens the second interaction node of knowledge priority function When, if it is determined that received customer interaction information at least one knowledge point corresponding with second interaction node in knowledge base In interaction problems mismatch, then global search is carried out to the customer interaction information in the knowledge base, and according to complete Office's lookup result executes corresponding interactive operation.
Namely: if an interaction node is configured for knowledge priority option, base is identified first in the interaction node In the interaction problems of the interaction node, if recognition failures, will continue to identify problem in other knowledge points in knowledge base.Allusion quotation Type, if being provided with knowledge priority option for an interaction node of more wheel question and answer flow charts, acquisition is write in advance With the matched custom code of knowledge priority function, and above-mentioned custom code is made an addition in the standardized codes frame At the associated position of the interaction node.
By the way that knowledge priority option is arranged, it ensure that the execution flexibility of more wheel question answering systems, can be handed over determining user When mutual information is mismatched with the node currently to circulate, also question and answer can be carried out with user well and interacted, to further increase user Satisfaction.
In a specific example, for the corresponding more wheel interactive systems of flow chart of such as Fig. 1 b, for the inquiry age 101 this interaction node of point are corresponding with 6 interactive knowledge points, and the interaction problems of this 6 interactive knowledge points are respectively " to have expired 20 Year ", " adult ", " meeting age condition ", " less than 20 years old ", " teenage " and " not meeting age condition ", when input When customer interaction information and above-mentioned 6 interaction problems mismatch, such as: " today, weather was how ", if the inquiry age Node 101 is provided with rejection priority option, then more wheel question answering systems will not provide corresponding feedback for the customer interaction information, And it rests on and inquires that continuing waiting for user on age node 101 re-enters new interactive information;If the inquiry age node The problem of 101 are provided with knowledge priority option, then more wheel question answering systems can be searched in knowledge base with the inquiry weather is corresponding Question and answer knowledge point, and the answer of the question and answer knowledge point is fed back.
Specifically, the information that custom-configures can further include: back track function choosing corresponding with interaction node ?;
Wherein, when more wheel question and answer process modules circulate and open the third interaction node of back track function to configuration, such as Fruit determines the interaction problems of received customer interaction information upper layer node corresponding with the third interaction node in knowledge base Match, then more wheel question and answer process modules circulates upper layer node corresponding to the third interaction node.
By the way that back track function is arranged, the versatility for more taking turns question answering system can be made stronger, in mostly wheel question answering system and used Family carries out in question and answer interactive process, and the content that can be inputted at any time according to user readjusts walking for entire more wheel question answering systems To being re-executed especially it is possible to return to the interaction node executed to one, and redefine based on the interaction Next trend of node, to better meet practical more wheel question and answer demands of user.
In a specific example, for the corresponding more wheel interactive systems of flow chart of such as Fig. 1 b, for the inquiry age Point 101, user has input " less than 20 years old " this customer interaction information, correspondingly, more wheel question answering systems are circulated by branch B It is unsatisfactory for terms of loan node 102 to the age, and plays corresponding casting content to user.At this point, if user re-enters " having reach 20 years old " this customer interaction information, then more wheel question answering systems can circulate (backtracking) to inquiring age node 101 again, and According to the above content that user inputs, question answering systems of taking turns circulate again through branch A to asking whether the node 103 that has car and house more Continue to interact with user's progress question and answer.
Specifically, the graphic assembly can further include: casting node.Correspondingly, described custom-configure letter Breath may include: casting content corresponding with node, and the node includes: interaction node and casting node;
Wherein, if more wheel question and answer process modules circulate to the fourth node configured with casting content, correspondence is broadcast Report casting content corresponding with the fourth node.
In a specific example, as shown in Figure 1 b, when mostly wheel question answering systems circulate to asking whether the node that has car and house When 103 this interaction node, which can broadcast preset casting content first, for example, " may I ask whether you have vehicle Have room ", next trend of more wheel question answering systems can be determined based on the customer interaction information of receipt of subsequent later;When more wheel question and answer systems To when meeting this casting node of 200,000 terms of loan, which can directly be broadcasted in preset casting for system circulation Hold, such as: " you meet 200,000 terms of loan ".
Content is broadcasted by setting, effective question and answer can be carried out with user and interacted, and user can be needed in next step The interaction content of input is effectively prompted.
Specifically, the information that custom-configures can further include: corresponding with node to interrupt function choosing-item;
Wherein, more wheel question and answer process modules circulate to open interrupt five node of function when, if with institute Before stating the corresponding casting content casting of the 5th node and terminating, customer interaction information is received, then is stopped to the casting content Continue broadcast.
It is arranged and interrupts the benefit of function choosing-item and be: if the familiar entire more wheel question answering systems of a user interacted Journey terminates to broadcast, the information of interaction needed for can rapidly inputting, into one without waiting for a node in more wheel question answering systems Step improves the efficiency of human-computer interaction.
In a specific example, as shown in Figure 1 b, when mostly wheel question answering systems circulate to asking whether the node that has car and house When 103 this interaction node, during the interaction node broadcasts " may I ask whether you have car and house ", if receiving user " having vehicle without room " of input will not then be further continued for broadcasting above-mentioned casting content, but circulation extremely meets 200,000 terms of loan rapidly Node 104 is interacted with user, has saved entire question and answer interaction time.
Wherein, the various function needs that may be used for more wheel question answering systems, it is corresponding to write and encapsulate corresponding Realization code, process design personnel can be made according to actual design requirement, needed for convenient selection or input from Configuration needs are defined, the versatility and user satisfaction of the generating means of more wheel question answering systems are further improved.
Wherein, in order to make it easy to understand, showing a kind of input interaction node in figure 1 c custom-configures showing for information It is intended to.As illustrated in figure 1 c, the schematic diagram for custom-configuring information for the inquiry age node 101 in Fig. 1 b is given.Its In, in input frame corresponding with " knowledge ", whole interaction problems corresponding with the inquiry age node 101 can be inputted.
A kind of schematic diagram for custom-configuring information of input casting node is shown in Fig. 1 d.As shown in Figure 1 d, it gives The schematic diagram for custom-configuring information for the prompting excess node 109 in Fig. 1 b is gone out.It wherein, can be in answer frame Input casting content corresponding with the prompting excess node 109.
A kind of schematic diagram for custom-configuring information of input pad is shown in Fig. 1 e.As shown in Figure 1 d, it provides For the schematic diagram for custom-configuring information of connector corresponding with branch A in Fig. 1 b, wherein corresponding with " condition " Input frame in, can input branch by selection execute condition.
Typically, can be when user double-click or click a graphic assembly in more wheel question and answer flow charts, corresponding bullet The above-mentioned input template for custom-configuring information out, process design personnel are by simply selecting and inputting operation, Ji Keshi Now different graphic assemblies is inputted and different custom-configures information.
Embodiment one
The structure chart of the device of the more wheel question answering systems of one of embodiment of the present invention one modification, this reality are shown in Fig. 2 The basis for applying the device that question answering system is taken turns in modification described in example more is more wheel question answering systems above-mentioned, and the present embodiment is applicable to repair The case where changing the more wheel question answering systems being successfully generated, this method can be executed by modifying the device of more wheel question answering systems, The device can be realized by software and/or hardware, and generally be can integrate and set in the terminal for modifying more wheel question answering systems In standby perhaps server and the terminal device or server are directly or indirectly connected with knowledge base.
Wherein, more wheel question answering systems include: more wheel question and answer process modules corresponding with mostly wheel question and answer flow chart, described It include multiple graphic assemblies in more wheel question and answer flow charts, the graphic assembly includes: multiple interaction nodes;
It is stored in knowledge base, there is corresponding relationship with each interaction node in more wheel question and answer flow charts One or more knowledge points, knowledge point corresponding with the interaction node include: interaction problems and interaction answer, and the interaction is asked Topic with the customer interaction information received for being matched, and the interactive answer is for determining more wheel question and answer process modules Next trend;And
The thematic knowledge point being stored in the knowledge base, the thematic knowledge point include problem of subject and theme answer, The problem of subject is used to indicate the trigger condition with the matched more wheel question and answer process modules of more wheel question answering systems, the master Topic answer is used to establish the triggering relationship of the thematic knowledge point and more wheel question and answer process modules;
The device that question answering system is taken turns in the modification more specifically includes: modification information obtains module 210 and takes turns question answering system more Update module 220.
Modification information obtains module 210, for obtaining the modification for being directed to target and taking turns setting system component in question answering system more Information.
In the present embodiment, the system component may include: taken turns with target more the corresponding thematic knowledge point of question answering system, Target corresponding with target mostly wheel question answering system takes turns question and answer process module more or takes turns the friendship in question and answer process module more with target Mutual one or more corresponding knowledge point of node.
Wherein, the modification information includes any one of following or multinomial combination: modification takes turns question answering system with the target more Corresponding thematic knowledge point, modification target corresponding with the target mostly wheel question answering system take turns question and answer process module, Yi Jixiu more Change knowledge point corresponding with setting interaction node in the target mostly wheel question and answer process module.
More wheel question answering system update modules 220, for according to the modification information, the corresponding update target to take turns question and answer more System.
In the present embodiment, according to the different modification informations for being directed to different system components, different update modes is taken The corresponding update target takes turns question answering system more.
For example, if modification information is adjustment thematic knowledge point corresponding with target mostly wheel question answering system, it can be direct According to the problem of subject of modification and/or theme answer, the corresponding thematic knowledge point updated in the knowledge base, if repaired Change content to delete thematic knowledge point corresponding with target mostly wheel question answering system, then can delete directly in the knowledge base should Thematic knowledge point.
The embodiment of the invention provides the devices that question answering system is taken turns in a kind of modification more, obtain module by modification information, use The modification information that system component is set in question answering system is taken turns for target in obtaining more;Wherein, the modification information includes following Any one or multinomial combination: modification thematic knowledge point corresponding with the target mostly wheel question answering system, modification and the target are more It takes turns the corresponding target of question answering system and takes turns question and answer process module more, and modification is taken turns in question and answer process module more with the target and set The corresponding knowledge point of interaction node;More wheel question answering system update modules, for according to the modification information, the corresponding update mesh The technological means of the more wheel question answering systems of mark proposes a kind of concrete mode modified to more wheel question answering systems, greatly full Foot user optimizes the technology that question answering system is taken turns in existing modification more, improves more to the modification demands of more wheel question answering systems The modification efficiency and modification convenience for taking turns question and answer realize the quick modification and update of more wheel question answering systems, avoid Developer is introduced during more wheel question answering system modifications, greatly reduces the workload of developer.
Embodiment two
Fig. 3 is the flow chart for the method that question answering system is taken turns in a kind of modification provided by Embodiment 2 of the present invention more, the present embodiment It is optimized based on above-described embodiment, is that modification and the target take turns question and answer system by modification content more in the present embodiment When corresponding target of uniting takes turns question and answer process module more, the function that more wheel question answering system update modules are realized carries out further Materialization, correspondingly, the device of the embodiment of the present invention includes: that modification information obtains module 310 and more wheel question answering system more New module 320, in which:
More wheel question answering system update modules 320, comprising:
Newly-increased interaction node updating unit 3201, for according at least one increase newly interaction node with the target more take turns Point of additions in the corresponding more wheel question and answer flow charts of question answering system, and with the newly-increased interaction node is matched customized matches Confidence ceases, and wheel question answering system more than corresponding update and the target is corresponding to take turns question and answer process modules more, and establishes the newly-increased friendship The corresponding relationship of one or more knowledge points in mutual node and knowledge base;
Interaction node updating unit 3202 is deleted, takes turns the target for deleting interaction node according at least one more and asks The delete position in the corresponding more wheel question and answer flow charts of system is answered, it is corresponding more that question answering system is taken turns in corresponding update with the target more Question and answer process module is taken turns, and deletes the corresponding relationship of one or more knowledge points in the deletion interaction node and knowledge base;
Interaction node updating unit 3203 is adjusted, is asked for being taken turns the target according at least one adjustment interaction node more Position after answering home position in the corresponding more wheel question and answer flow charts of system and adjusting, corresponding update take turns question and answer with the target more The corresponding more wheel question and answer process modules of system.
Wherein, the modification information specifically includes: modification target corresponding with the target mostly wheel question answering system is taken turns more asks Answer process module.Specifically, modification target corresponding with the target mostly wheel question answering system is taken turns question and answer process module more and be can wrap It includes: increasing, deletes and/or adjust the interaction node that the target takes turns question and answer process module more newly.
In general, process design personnel are not developers, can not be done directly to more wheel question and answer process modules ( That is: realize code) modification, correspondingly, can pre-establish between more wheel question and answer flow charts and more wheel question and answer process modules Corresponding relationship, by obtaining the modification for more wheel question and answer flow charts, the corresponding modification obtained for more wheel question and answer process modules.
In an optional embodiment of the present embodiment, interaction node updating unit 3202 is deleted, further comprises:
Subelement is searched in knowledge point to be deleted, for searched in the knowledge base one corresponding with the deletion of node or The multiple knowledge points of person are used as knowledge point to be deleted;
Knowledge point first processing units to be deleted, for if it is determined that the knowledge point to be deleted only corresponds to the deletion interaction section Point then deletes the knowledge point to be deleted in the knowledge base, and deletes the deletion interaction node and the knowledge point to be deleted Between corresponding relationship;
Knowledge point the second processing unit to be deleted, for if it is determined that the knowledge point to be deleted other interaction sections corresponding simultaneously Point then retains the knowledge point to be deleted in the knowledge base, only deletes the deletion interaction node and the knowledge point to be deleted Between corresponding relationship.
The technical solution of the embodiment of the present invention gives a kind of modification and the target mostly corresponding target of wheel question answering system When more wheel question and answer process modules, target takes turns the updating device of question answering system more, so that process design personnel be not proficient in code volume When writing, it can easily also realize to the modification of more wheel question and answer process modules, reduce the workload of developer to the greatest extent.
On the basis of the various embodiments described above, modification target corresponding with the target mostly wheel question answering system takes turns question and answer stream more Journey module includes: casting node and/or connector that be newly-increased, deleting and/or adjust the target mostly wheel question and answer process module;
It is described to take turns question answering system update module more, may include:
It is newly-increased to broadcast node and connector updating unit, for according at least one newly-increased casting node and/or newly-increased company Fitting with the target more than point of additions in the corresponding more wheel question and answer flow charts of wheel question answering system, and with the new enrichment seeding The report node and/or newly-increased connector is matched custom-configures information, corresponding update takes turns question answering system with the target more Corresponding more wheel question and answer process modules;
Casting node and connector updating unit are deleted, for deleting casting node and/or the company of deletion according at least one Fitting is taking turns the delete position in the corresponding more wheel question and answer flow charts of question answering system more the target, corresponding to update and the target More wheel question answering systems are corresponding to take turns question and answer process modules more;
Adjustment casting node and connector updating unit, for being connected according at least one adjustment casting node and/or adjustment Fitting position after home position and adjustment in taking turns question answering system corresponding more wheel question and answer flow charts the target more, it is corresponding more More wheel question and answer process modules newly corresponding with the target mostly wheel question answering system.
The benefit being arranged in this way is: giving another modification target corresponding with the target mostly wheel question answering system and takes turns more When question and answer process module, target takes turns the updating device of question answering system more, so that process design personnel are when being proficient in written in code, Also it can easily realize to the modification of more wheel question and answer process modules, reduce the workload of developer to the greatest extent.
Embodiment three
Fig. 4 is the structure chart for the device that question answering system is taken turns in a kind of modification that the embodiment of the present invention three provides more, the present embodiment It is optimized based on above-described embodiment, is to take turns question and answer with modification and the target by modification content more in the present embodiment When setting the corresponding knowledge point of interaction node in process module, the function that more wheel question answering system update modules are realized is carried out It is further to embody, correspondingly, the device of the embodiment of the present invention includes: that modification information obtains module 410 and takes turns question and answer more System update module 420, in which:
More wheel question answering system update modules 420 specifically include:
Newly-increased knowledge point updating unit 4201, for obtaining at least one the newly-increased knowledge for being directed to the setting interaction node Point;If it is determined that there are the newly-increased knowledge points in the knowledge base, then the newly-increased knowledge point is established in the knowledge base With the corresponding relationship between the setting interaction node;If it is determined that the newly-increased knowledge point is not present in the knowledge base, then The newly-increased knowledge point is created in the knowledge base, and is established between the newly-increased knowledge point and the setting interaction node Corresponding relationship;
Knowledge point updating unit 4202 is deleted, for obtaining at least one the deletion knowledge for being directed to the setting interaction node Point;If it is determined that the deletion knowledge point described in the knowledge base only corresponds to the setting interaction node, then in the knowledge base It is middle to delete the deletion knowledge point, and delete the setting interaction node and the corresponding relationship deleted between knowledge point;Such as Fruit determines the deletion knowledge point while other corresponding interaction nodes, then retains the deletion knowledge point in the knowledge base, Only delete the setting interaction node and the corresponding relationship deleted between knowledge point;
Knowledge point updating unit 4203 is changed, for obtaining at least one the change knowledge for being directed to the setting interaction node Original knowledge point corresponding with the change knowledge point in point and knowledge base;If it is determined that the original knowledge point only corresponds to institute Setting interaction node is stated, then the original knowledge point in the knowledge base is replaced with into the change knowledge point;If it is determined that The original knowledge point other corresponding interaction nodes simultaneously, then only delete the original knowledge point and the setting interaction node it Between corresponding relationship, and increase in the knowledge base change knowledge point newly and establish the change knowledge point and set with described Determine the corresponding relationship between interaction node.
In the present embodiment, the modification information that setting system component in question answering system more is taken turns for target is specifically wrapped It includes: modification knowledge point corresponding with setting interaction node in the target mostly wheel question and answer process module.Specifically, the modification letter Breath includes: knowledge point that is newly-increased, deleting and/or adjust the interaction node.
The technical solution of the embodiment of the present invention give it is a kind of modification with the target mostly wheel question and answer process module in set When the corresponding knowledge point of interaction node, target takes turns the updating device of question answering system more, so that process design personnel be not proficient in generation When code is write, it can easily also realize and knowledge point corresponding with setting interaction node is modified, reduce exploitation to the greatest extent The workload of personnel.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. the device of question answering system is taken turns in a kind of modification more, it is applied in more wheel question answering systems characterized by comprising
Modification information obtains module, for obtaining the modification information for being directed to target and taking turns setting system component in question answering system more;
Wherein, the modification information includes any one of following or multinomial combination: it is corresponding that question answering system is taken turns in modification with the target more Thematic knowledge point, modification takes turns the corresponding target of question answering system more with the target and takes turns question and answer process module more, and modification and The target takes turns the corresponding knowledge point of setting interaction node in question and answer process module more;
More wheel question answering system update modules, for according to the modification information, the corresponding update target to take turns question answering system more.
2. the apparatus according to claim 1, which is characterized in that take turns question answering systems described includes: more
It is corresponding with more wheel question and answer flow charts to take turns question and answer process module more, it include multiple graphical sets in more wheel question and answer flow charts Part, the graphic assembly include: multiple interaction nodes;
It is stored in knowledge base, there is one of corresponding relationship with each interaction node in more wheel question and answer flow charts Or multiple knowledge points, knowledge point corresponding with the interaction node include: interaction problems and interaction answer, the interaction problems are used It is matched in the customer interaction information received, the interactive answer is for determining under more wheel question and answer process modules One trend;And
The thematic knowledge point being stored in the knowledge base, the thematic knowledge point include problem of subject and theme answer, described Problem of subject is used to indicate the trigger condition with the matched more wheel question and answer process modules of more wheel question answering systems, and the theme is answered Case is used to establish the triggering relationship of the thematic knowledge point and more wheel question and answer process modules.
3. the apparatus of claim 2, which is characterized in that more wheel question and answer process moulds corresponding with more wheel question and answer flow charts Block, comprising:
It is generated to be matched with more wheel question and answer flow charts according to each graphic assembly for including in more wheel question and answer flow charts Standardized codes frame;And
According to each graphic assemblies in more wheel question and answer flow charts are matched custom-configures information, it is generated with Each graphic assembly is corresponding, make an addition in the standardized codes frame at the associated position of graphic assembly from Definition code.
4. device according to claim 3, which is characterized in that the information that custom-configures includes: and interaction node pair The rejection priority option answered;
Wherein, when more wheel question and answer process modules circulate and open the first interaction node of rejection priority function to configuration, such as Fruit determines in customer interaction information at least one knowledge point corresponding with first interaction node in knowledge base received Interaction problems mismatch, then provide rejection response, request re-enter the customer interaction information.
5. device according to claim 3, which is characterized in that the information that custom-configures includes: and interaction node pair The knowledge priority option answered;
Wherein, when more wheel question and answer process modules circulate and open the second interaction node of knowledge priority function to configuration, such as Fruit determines in received customer interaction information at least one knowledge point corresponding with second interaction node in knowledge base Interaction problems mismatch, then carry out global search to the customer interaction information in the knowledge base, and look into according to the overall situation Result is looked for execute corresponding interactive operation.
6. device according to claim 3, which is characterized in that the information that custom-configures includes: and interaction node pair The back track function option answered;
Wherein, when more wheel question and answer process modules circulate and open the third interaction node of back track function to configuration, if really The interaction problems phase of fixed received customer interaction information upper layer node corresponding with the third interaction node in knowledge base Match, then more wheel question and answer process modules circulates upper layer node corresponding to the third interaction node.
7. the apparatus of claim 2, which is characterized in that modification target corresponding with the target mostly wheel question answering system More wheel question and answer process modules include: interaction node that is newly-increased, deleting and/or adjust the target mostly wheel question and answer process module;
More wheel question answering system update modules, comprising:
Newly-increased interaction node updating unit, for according at least one increase newly interaction node with the target more take turns question answering system Point of addition in corresponding more wheel question and answer flow chart, and with the newly-increased interaction node is matched custom-configures information, It is corresponding update taken turns with the target more question answering system it is corresponding take turns question and answer process modules, and establish the newly-increased interaction node and The corresponding relationship of one or more knowledge points in knowledge base;
Interaction node updating unit is deleted, takes turns question answering system pair the target for deleting interaction node according at least one more The delete position in more wheel question and answer flow charts answered, corresponding update is corresponding with the target mostly wheel question answering system to take turns question and answer stream more Journey module, and delete the corresponding relationship of one or more knowledge points in the deletion interaction node and knowledge base;
Interaction node updating unit being adjusted, for taking turns question answering system pair the target according at least one adjustment interaction node more Position after home position and adjustment in the more wheel question and answer flow charts answered, it is corresponding update it is corresponding with the target mostly wheel question answering system More wheel question and answer process modules.
8. device according to claim 7, which is characterized in that delete interaction node updating unit, further comprise:
Subelement is searched in knowledge point to be deleted, for searching one corresponding with the deletion of node or more in the knowledge base A knowledge point is used as knowledge point to be deleted;
Knowledge point first processing units to be deleted, for if it is determined that the knowledge point to be deleted only corresponds to the deletion interaction node, The knowledge point to be deleted then is deleted in the knowledge base, and deletes the deletion interaction node and described wait delete between knowledge point Corresponding relationship;
Knowledge point the second processing unit to be deleted, for if it is determined that the knowledge point to be deleted corresponds to other interaction nodes simultaneously, then Retain the knowledge point to be deleted in the knowledge base, only deletes the deletion interaction node and described wait delete between knowledge point Corresponding relationship.
9. the apparatus of claim 2, which is characterized in that modification target corresponding with the target mostly wheel question answering system More wheel question and answer process modules include: it is newly-increased, delete and/or adjust the target take turns more question and answer process module casting node and/ Or connector;
More wheel question answering system update modules, comprising:
Newly-increased casting node and connector updating unit, for according at least one newly-increased casting node and/or newly-increased connector With the target more than point of additions in the corresponding more wheel question and answer flow charts of wheel question answering system, and with the newly-increased casting section The point and/or newly-increased connector is matched custom-configures information, it is corresponding update it is corresponding with the target mostly wheel question answering system More wheel question and answer process modules;
Casting node and connector updating unit are deleted, for deleting casting node according at least one and/or deleting connector The delete position in the corresponding more wheel question and answer flow charts of question answering system being taken turns the target, corresponding update is taken turns more with the target more The corresponding more wheel question and answer process modules of question answering system;
Adjustment casting node and connector updating unit, for adjusting casting node and/or adjustment connector according at least one The position after home position and adjustment in taking turns question answering system corresponding more wheel question and answer flow charts the target more, it is corresponding update with The target takes turns the corresponding more wheel question and answer process modules of question answering system more.
10. the apparatus of claim 2, which is characterized in that modification is taken turns in question and answer process module more with the target and set Determining the corresponding knowledge point of interaction node includes: knowledge point that is newly-increased, deleting and/or adjust the interaction node;
More wheel question answering system update modules, comprising:
Newly-increased knowledge point updating unit, for obtaining at least one the newly-increased knowledge point for being directed to the setting interaction node;If It determines that there are the newly-increased knowledge points in the knowledge base, then establishes the newly-increased knowledge point in the knowledge base and set with described Determine the corresponding relationship between interaction node;If it is determined that the newly-increased knowledge point is not present in the knowledge base, then know described Know in library and create the newly-increased knowledge point, and establishes the corresponding pass between the newly-increased knowledge point and the setting interaction node System;
Knowledge point updating unit is deleted, for obtaining at least one the deletion knowledge point for being directed to the setting interaction node;If It determines that the deletion knowledge point described in the knowledge base only corresponds to the setting interaction node, then deletes institute in the knowledge base It states and deletes knowledge point, and delete the setting interaction node and the corresponding relationship deleted between knowledge point;If it is determined that institute It states and deletes knowledge point while other corresponding interaction nodes, then retain the deletion knowledge point in the knowledge base, only delete institute State setting interaction node and the corresponding relationship deleted between knowledge point;
Knowledge point updating unit is changed, for obtaining at least one change knowledge point for the setting interaction node and knowing Know original knowledge point corresponding with the change knowledge point in library;It is handed over if it is determined that the original knowledge point only corresponds to the setting The original knowledge point in the knowledge base is then replaced with the change knowledge point by mutual node;If it is determined that described original Knowledge point corresponds to other interaction nodes simultaneously, then only deletes corresponding between the original knowledge point and the setting interaction node Relationship, and increase in the knowledge base change knowledge point newly and establish the change knowledge point and interact section with the setting Corresponding relationship between point.
CN201711346368.3A 2017-12-15 2017-12-15 Device for modifying multi-turn question-answering system Active CN110019717B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711346368.3A CN110019717B (en) 2017-12-15 2017-12-15 Device for modifying multi-turn question-answering system
US16/106,680 US11341422B2 (en) 2017-12-15 2018-08-21 Multi-round questioning and answering methods, methods for generating a multi-round questioning and answering system, and methods for modifying the system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711346368.3A CN110019717B (en) 2017-12-15 2017-12-15 Device for modifying multi-turn question-answering system

Publications (2)

Publication Number Publication Date
CN110019717A true CN110019717A (en) 2019-07-16
CN110019717B CN110019717B (en) 2021-06-29

Family

ID=67186928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711346368.3A Active CN110019717B (en) 2017-12-15 2017-12-15 Device for modifying multi-turn question-answering system

Country Status (1)

Country Link
CN (1) CN110019717B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650797A (en) * 2009-09-14 2010-02-17 中国科学院计算技术研究所 Movable service knowledge base system and working method thereof
US20140201707A1 (en) * 2013-01-11 2014-07-17 Merge Mobile, Inc. Systems and methods for creating customized applications
US20150095849A1 (en) * 2013-09-30 2015-04-02 Microsoft Corporation Dialogs positioned with action visualization
CN105739954A (en) * 2014-12-09 2016-07-06 北京大唐高鸿数据网络技术有限公司 Method for achieving IVR business flow based on visual IVR flow editor
CN105893524A (en) * 2016-03-31 2016-08-24 上海智臻智能网络科技股份有限公司 Intelligent asking and answering method and device
CN106294341A (en) * 2015-05-12 2017-01-04 阿里巴巴集团控股有限公司 A kind of Intelligent Answer System and theme method of discrimination thereof and device
CN106776649A (en) * 2015-11-24 2017-05-31 镇江诺尼基智能技术有限公司 Exchange method and system are taken turns a kind of intelligent answer based on visible process figure more

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101650797A (en) * 2009-09-14 2010-02-17 中国科学院计算技术研究所 Movable service knowledge base system and working method thereof
US20140201707A1 (en) * 2013-01-11 2014-07-17 Merge Mobile, Inc. Systems and methods for creating customized applications
US20150095849A1 (en) * 2013-09-30 2015-04-02 Microsoft Corporation Dialogs positioned with action visualization
CN105739954A (en) * 2014-12-09 2016-07-06 北京大唐高鸿数据网络技术有限公司 Method for achieving IVR business flow based on visual IVR flow editor
CN106294341A (en) * 2015-05-12 2017-01-04 阿里巴巴集团控股有限公司 A kind of Intelligent Answer System and theme method of discrimination thereof and device
CN106776649A (en) * 2015-11-24 2017-05-31 镇江诺尼基智能技术有限公司 Exchange method and system are taken turns a kind of intelligent answer based on visible process figure more
CN105893524A (en) * 2016-03-31 2016-08-24 上海智臻智能网络科技股份有限公司 Intelligent asking and answering method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
任萍萍: "《智能客服机器人》", 31 August 2017, 成都时代出版社 *
张威: "《Stateflow逻辑系统建模》", 31 October 2007, 西安电子科技大学出版社 *

Also Published As

Publication number Publication date
CN110019717B (en) 2021-06-29

Similar Documents

Publication Publication Date Title
CN108090177B (en) Multi-round question-answering system generation method, equipment, medium and multi-round question-answering system
CN110413758B (en) Session framework construction method and device based on machine learning
CN107977236B (en) Question-answering system generation method, terminal device, storage medium and question-answering system
CN110019716A (en) More wheel answering methods, terminal device and storage medium
CN110019731A (en) Intelligent interactive method, device, terminal device and storage medium
CN109635271A (en) A kind of user's intension recognizing method, customer service system, device and electronic equipment
CN106649746A (en) Answer acquisition method and device
CN110019723A (en) Answering method, terminal device and storage medium based on question answering system
CN110442700A (en) Man-machine more wheel dialogue methods and system, smart machine for human-computer interaction
CN115129878B (en) Conversation service execution method, device, storage medium and electronic equipment
CN111144132B (en) Semantic recognition method and device
CN110096516A (en) The dialogue generation method and system of customized database interaction
CN106445514A (en) Android platform Activity instance management method and equipment
US20200066267A1 (en) Dialog Manager for Supporting Multi-Intent Dialogs
CN109960489B (en) Method, device, equipment, medium and question-answering system for generating intelligent question-answering system
CN110020014A (en) More wheel question and answer systems
CN110019717A (en) The device of the more wheel question answering systems of modification
CN109933314A (en) The generating means of more wheel question answering systems
CN116644168A (en) Interactive data construction method, device, equipment and storage medium
CN112487170B (en) Man-machine interaction dialogue robot system facing scene configuration
CN110019718B (en) Method for modifying multi-turn question-answering system, terminal equipment and storage medium
CN110019724A (en) Modify the device of question answering system
CN110019727A (en) Intelligent interactive method, device, terminal device and storage medium
CN112015880B (en) Automatic transfer method and system for man-machine conversation process of intelligent robot
CN109960490B (en) Method, device, equipment, medium and question-answering system for generating intelligent question-answering system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230315

Address after: 200436 Floor 9, building a, yuncube, No. 1268, Wanrong Road, Jing'an District, Shanghai

Patentee after: Huayuan computing technology (Shanghai) Co.,Ltd.

Address before: 201803 7, 398 Lane 1555, Jiangxi Road, Jinsha, Jiading District, Shanghai.

Patentee before: SHANGHAI XIAOI ROBOT TECHNOLOGY Co.,Ltd.