A kind of intelligent interaction platform training method, apparatus, equipment
Technical field
The present embodiments relate to technical field of information processing, in particular to a kind of intelligent interaction platform training method, dress
It sets, equipment and computer readable storage medium.
Background technique
With the development and universal, the various aspects offer that the intellectual technologies such as human-computer interaction are lived in people of computer technology
Conveniently service.Human-computer interaction HCI (Human-Computer Interaction) technology refer to by computer input,
Output equipment realizes the technology of people and computer dialog in an efficient way.Human-computer interaction technology include machine by output or
Display equipment largely for information about and prompts to ask for instructions to people's offer, and people is inputted for information about by input equipment to machine, time
Question and answer topic and prompt are asked for instructions.The intelligentized man-machine interaction mode of rapid development for being currently based on artificial intelligence also constantly updates hair
Exhibition.
Current human-computer interaction service is usually to be trained by developer, and function is opposite to limit to.How intelligence is effectively trained
Energy interaction platform improves user and is intended to understandability, and establishing more optimized interactive controlling and management is current urgent need to resolve problem.
Summary of the invention
The embodiment of the invention provides a kind of input method based on scene, device, equipment and computer-readable storage mediums
Matter can be used for solving the problems in the relevant technologies.
On the one hand, the embodiment of the invention provides a kind of intelligent interaction platform training methods, which is characterized in that the method
Include:
Step 1, one or more tasks of one or more user's creations are received, wherein task includes task identification and appoints
Business content;
Step 2, the task is parsed, multiple all critical learning data relevant to task are extracted;
Step 3, multiple slot positions associated with the task are obtained, determine that the key corresponding with the slot position is known
Know data, all critical learning data are filled to the slot position.
Preferably, the task identification of user's creation includes task names, and/or task description information.
Preferably, the task definition of user's creation includes task basic demand;Or flow of task and task execution
Relevant knowledge data.
Preferably, the method further includes steps 4, generate the interaction sub- engine based on the task, the sub- engine packet
Sub- engine containing voice and/or text sub- engine.
Preferably, the general slot position preset for the task by inquiry intelligent interaction platform, and/or, pass through inquiry
Slot position in associated same generic task obtains one or more basic slot positions;And/or it is customized by the user and matches with task
The basic slot positions of one or more;
All critical learning data corresponding with basic slot position in task definition are extracted, corresponding basic slot position is filled.
Preferably, judge crucial to the one or more of basic slot position with the presence or absence of not being filled in the task definition of parsing
Knowledge data, and if it exists, generate corresponding one or more extension slot positions, and all critical learning data are filled to correspondence
Extension slot position.
Alternatively, lacking corresponding all critical learning data when judgement executes user task, generates corresponding one or more and expand
Slot position is opened up, and all critical learning data lacked are filled to corresponding extension slot position.
The acquisition of all critical learning data lacked can be automatically performed by retrieval local or cloud data bank, or
Lack all critical learning data to user feedback, requests user's supplementary data.
Alternatively, after all critical learning data have been filled to corresponding slot position, judge whether there is and lack key and know
Know the basic slot position of data, and if it exists, inquire to user feedback vacancy slot position information, or automatically and fill corresponding knowledge number
According to, or by the basic slot position set vacancy.
Preferably, increase, the modification, delete operation of the task definition that user creates it, the operation based on user are received
Update user task.
On the other hand, the embodiment of the invention provides a kind of intelligent interaction platform training devices, which is characterized in that the dress
It sets and includes:
Interface module receives one or more tasks of one or more user's creations, and wherein task includes task identification
And task definition;
Analysis module parses the task, extracts multiple all critical learning data relevant to task;
Configuration module obtains multiple slot positions associated with the task, determines the pass corresponding with the slot position
Key knowledge data fills all critical learning data to the slot position.
Preferably, the task identification of user's creation includes task names, and/or task description information.
Preferably, the task definition of user's creation includes task basic demand;Or flow of task and task execution
Relevant knowledge data.
Preferably, package module, for generating the interaction sub- engine based on the task, the sub- engine includes voice
Engine and/or text sub- engine.
Preferably, the configuration module is further used for, preset for the task by inquiry intelligent interaction platform
General slot position, and/or, by the slot position inquired in associated same generic task, obtain one or more basic slot positions;And/or by
The customized basic slot position of one or more to match with task of user;
All critical learning data corresponding with basic slot position in the task definition of extraction are filled to corresponding basic slot position.
Preferably, the configuration module is also used to, and judging, which whether there is in the task definition of parsing, is not filled to basic
One or more all critical learning data of slot position, and if it exists, feedback message to configuration module;
Generate corresponding one or more extension slot positions;
The all critical learning data not being filled are filled to corresponding extension slot position;
Or
When judgement executes user task, lack corresponding all critical learning data, and if it exists, feedback message to configuration module;
Generate corresponding one or more extension slot positions;
The all critical learning data lacked are filled to corresponding extension slot position.The acquisition of all critical learning data lacked
It can be automatically performed by retrieval local or cloud data bank, or lack all critical learning data to user feedback, request user
Supplementary data.
Or
After all critical learning data have been filled to corresponding slot position, judge whether there is and lack all critical learning data
Basic slot position, and if it exists, to user feedback vacancy slot position information, perhaps automatically inquire and fill corresponding knowledge data or
Vacancy is set by the basic slot position.
Preferably, the interface module is further used for, receive the increase of user's task definition that it is created, modification,
Delete operation,
Described device further comprises update module, and the update module updates user for the operation based on user and appoints
Business.
On the other hand, the embodiment of the invention provides a kind of terminal devices comprising intelligent interaction platform training device.
On the other hand, the embodiment of the invention provides a kind of computer equipment, the computer equipment include processor and
Memory is stored with the computer program that can be run on a processor in the memory, and the computer program is described
Processor realizes method above-mentioned when executing.
On the other hand, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storages
The computer program that can be run on a processor is stored in medium, the computer program realize when executed it is aforementioned
Method.
The implementation of the embodiment of the present invention effectively training smart interaction platform, raising user can be intended to understandability, build
More optimized interactive controlling and management are found, user experience is promoted, achieves beneficial effect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it is clear that ground, the accompanying drawings in the following description are this hairs
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the schematic diagram for the intelligent interaction platform that this specification embodiment provides.
Fig. 2 is the flow diagram for the intelligent interaction platform training method that this specification embodiment provides.
Fig. 3 is the intelligent interaction platform training apparatus structure that this specification embodiment provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.The embodiment of the present invention and the specific features of embodiment are to technical side of the embodiment of the present invention
The detailed description of case, rather than the restriction to description of the invention technical solution, in the absence of conflict, the embodiment of the present invention
And the technical characteristic of embodiment can be combined with each other.
Referring to Fig. 1, Fig. 1 is the schematic diagram of intelligent interaction platform, human-computer interaction interface 101, processing module are specifically included that
102, database 103 etc..Wherein processing module includes interactive engine 112, and interactive engine 112 may include semantic understanding module
201, dialogue management and control module 202 talk with generation module 203, command execution module 204.Wherein, processing module 102 with
Human-computer interaction interface 101 is connected with each other, and the data of user's input can be received by human-computer interaction interface 101, and pass through people
Machine interactive interface exports interaction data to user, i.e. 101 one side of human-computer interaction interface can be received instead by processing module 102
It feeds the dialogue data of user, on the one hand can receive the order implementation procedure and result data of the feedback of processing module 102.For
Intelligent sound interaction platform, processing module 102 can also include: speech recognition module 210, voice output module 211.Institute's predicate
Sound identification module 210, voice output module 211 can also be configured in interactive engine 112.In addition, interactive engine 112 can be by
Leading engine and/or multiple sub- engines are constituted.
The one of them main points of intelligent interaction platform training are to improve the processing capacity of interactive engine, enhance interactive engine pair
In semantic understanding, the efficiency of dialogue interaction is improved, and promotes task execution accuracy;These require to user be intended into
Row accurate understanding improves interactive engine for interactive control by enriching slot position and slot position parsing in user's expression sentence
And management.
Embodiment one
Referring to Fig. 2, Fig. 2 is a kind of process signal for intelligent interaction platform training method that the embodiment of the present invention one provides
Figure, this method includes but is not limited to:
Step 1, one or more tasks of one or more user's creations are received, wherein task includes task identification and appoints
Business content;
Specifically, task of oneself is created by the open interface can be allowed users to user's open interface.
Wherein, the task identification of user's creation includes task names, and/or task description information.The task definition of user's creation can be with
Include task basic demand;It can also include the relevant knowledge data of flow of task and task execution that user uploads.
For example, user A creation library borrows task, task names are book borrowing and reading, and task definition is from self-service book
Borrow " empire, Qun Dynasty third portion military hardware " in shop;
User B can by creating oneself task to user's open interface, such as: task names are Tokyo travel notes, are appointed
Business content is the tourism strategy that user B writes;
Step 2, the task is parsed, multiple all critical learning data relevant to task are extracted;
Specifically, for the task of user A creation, it is assumed that it is former intelligent interaction platform that its library created, which borrows task,
Being not present for task then analyzes the task of user's creation first, determines being intended to " checking out " for user, all critical learning number of task
According to are as follows: Self-service Library, " empire, Qun Dynasty third portion military hardware ";
For the task of user B creation, by the analysis to its task, confirm that user's is intended to " tourism strategy ",
Position, business hours and the evaluation at the sight spot for including in the task definition of upload, name location, the price in the hotel restaurant of recommendation
And evaluation, the route of navigation, the price of the vehicles, time, each stroke used time, the contents such as recommendation of shopping site can be used as
All critical learning data.Such as task definition suggestion is played from Tai Chang to shallow careless temple, can be sat Yurikamome in platform field and be arrived
Then new bridge changes the shallow careless line of all battalion and gets off to shallow careless temple station, 35 minutes whole.The all critical learning data of then extracting for task are as follows:
Platform field, shallow careless temple, Yurikamome, new bridge, transfer, all battalion's shallow careless line, 35 minutes.
Step 3, multiple slot positions associated with the task are obtained, determine that the key corresponding with the slot position is known
Know data, all critical learning data are filled to the slot position.
Slot position usually requires to describe comprising slot position, slot position content and other elements explained to slot position, such as slot
Position type: whether the slot position has to fill out;Such as slot position attribute: the meaning of the slot position such as represents time, place, period, area
Domain or currencies;For simple example, the embodiment of the present invention is mainly described with slot position, the signal of slot position content.
Specifically, obtaining multiple slot positions associated with the task further comprises, by inquiring intelligent interaction platform
For the preset general slot position of the task, and/or, by the slot position inquired in associated same generic task, obtain one or more
A basic slot position;And/or it is customized by the user the basic slot position of one or more to match with task.
Such as user A, since platform does not provide the task, user A can self-setting establish the base for completing the task
This slot position, since user A task definition initially set is to borrow " empire, Qun Dynasty third portion Jin Getie from Self-service Library
Horse ";Then it selects to borrow source, title as basic slot position.
For user B, the basic slot position of the possible initial setting up of the tourism task of platform are as follows: departure place, destination, traffic work
Have 1-n, transfer stop 1-n, time, expense.
It is then determined that all critical learning data corresponding with the slot position, all critical learning data are filled to described
Slot position.
Specifically, judge crucial to the one or more of basic slot position with the presence or absence of not being filled in the task definition of parsing
Knowledge data, and if it exists, generate corresponding one or more extension slot positions, and all critical learning data are filled to correspondence
Extension slot position.
Alternatively, lacking corresponding all critical learning data when judgement executes user task, generates corresponding one or more and expand
Slot position is opened up, and all critical learning data lacked are filled to corresponding extension slot position.
The acquisition of all critical learning data lacked can be automatically performed by retrieval local or cloud data bank, or
Lack all critical learning data to user feedback, requests user's supplementary data.
Alternatively, after all critical learning data have been filled to corresponding slot position, judge whether there is and lack key and know
Know the basic slot position of data, and if it exists, inquire to user feedback vacancy slot position information, or automatically and fill corresponding knowledge number
According to, or by the basic slot position set vacancy.
It is described in detail below for user A, basic slot position filling is as follows: in the task of user A creation
Table 1: the basic slot position design of user's A book borrowing and reading
Slot position description |
Slot position content |
Borrow source |
Self-service Library |
Title |
" empire, Qun Dynasty third portion military hardware " |
After having handled the playback of all critical learning data, it is input to the module with dialogue ability, this has dialogue energy
The module of power can be the existing dialogue management of intelligent interaction platform and control module, dialogue generation module.It is expressed for user
It returns and is replied defined in dialogue dialogue management and control, finally meet user's particular demands.
When executing the task of user's creation, discovery Self-service Library website needs to submit reader's card number of user, then
New extension slot position can be configured, for example, borrowing voucher by identifying the condition.When task can after the completion of, to user A create
Task into encapsulation, generate the interaction sub- engine based on the task.
It is described in detail below for user B, basic slot position filling is as follows: in task
Table 2: the basic slot position design of user's B tour schedule
Slot position description |
Slot position content |
Departure place |
Platform field |
Destination |
Shallow grass temple |
The vehicles 1 |
Yurikamome |
Transfer stop |
New bridge |
The vehicles 2 |
All shallow careless lines of battalion |
Time |
35 minutes |
Expense |
Null |
Since user B does not record this Key Points of expense, internet data can be retrieved for the slot position, it is automatic complete
At, can also transmit the message to user B, request user B supplemental information or this do not add temporarily, by the slot position content
It empties.
The interaction sub- engine based on the task is generated for the task of user B creation.
In addition, to reinforce the ability of platform interactive engine, the subsequent task or existing task that can be completed to creation
It is counted, establishes the linked database of task attribute, slot position, as shown in table 3:
Table 3: the linked database of task attribute, slot position
The embodiment of the present invention is only to illustrate to the citing of slot position, for completing specific task, the quantity for the slot position being related to
It is richer, it does not enumerate one by one herein.
It is subsequent that the slot position of completion is configured in the task of B and other users creation for user A, can selectively,
According to the association of task attribute, slot position, the slot position description and/or the introducing of slot position content for the slot position being arranged have same task
Interactive engine/sub- engine of attribute, to supplement and improve the slot position design of corresponding interactive engine/sub- engine.
Further it is provided that download path and the zone of discussion of user task, count the task download of user's creation;
It scores to the evaluation of user task.
According to download/evaluation of user task, the priority level of user is set.
According to the priority level of user, all critical learning high priority data of multiple users of dynamic adjustment filling to same slot position
Grade.
For example, there is user D simultaneously, user E creates the tourism task similar with user B, passes through statistics download hair
The download of current family B is maximum, then being described based on same slot position, the slot position content prioritization of user B is filled in other users
Slot position content on.
In the same slot position description that multiple users provide, stored in the slot position content of user H and the slot position of other users
When clearly contradicted, can not insert user H offer corresponding slot position content is described with slot position.
In addition, receiving increase, the modification, delete operation for the task definition that user creates it, the operation based on user is more
New user task.
Embodiment two
Based on similarly conceiving with information push method in previous embodiment, the embodiment of the invention also provides a kind of intelligence
Interaction platform training device, the intelligent interaction platform training device can also be embedded in independently of intelligent interaction platform
Intelligent interaction platform is realized.Referring to Fig. 3, described device includes:
Interface module 301 receives one or more tasks of one or more user's creations, and wherein task includes task mark
Knowledge and task definition;
Analysis module 302 parses the task of one or more of user's creations, extracts multiple keys relevant to task
Knowledge data;
Configuration module 303 obtains multiple slot positions associated with the task, determines corresponding with the slot position described
All critical learning data fill all critical learning data to the slot position.
Specifically, the task identification of user's creation includes task names, and/or task description information.The user
The task definition of creation includes task basic demand;Or the relevant knowledge data of flow of task and task execution.
Specifically, the interface module of intelligent interaction platform training device can be connected with intelligent interaction platform, thus side
Just data self-teaching training is obtained from intelligent interaction platform.
Specifically intelligent interaction platform training device further includes package module 304, for generating the friendship based on the task
Mutual sub- engine, the sub- engine include voice sub- engine and/or text sub- engine.
Specifically, the configuration module is further used for, preset for the task by inquiry intelligent interaction platform
General slot position, and/or, by the slot position inquired in associated same generic task, obtain one or more basic slot positions;And/or by
The customized basic slot position of one or more to match with task of user;
All critical learning data corresponding with basic slot position in the task definition of extraction are filled to corresponding basic slot position.
Preferably, the configuration module is further used for, judge parsing task definition in the presence or absence of be not filled to
One or more all critical learning data of basic slot position, and if it exists, feedback message to configuration module;
Generate corresponding one or more extension slot positions;
The all critical learning data not being filled are filled to corresponding extension slot position;
Or
The configuration module is further used for, and when judging to execute user task, lacks corresponding all critical learning data, if depositing
In feedback message to configuration module;
Generate corresponding one or more extension slot positions;
The all critical learning data lacked are filled to corresponding extension slot position.The acquisition of all critical learning data lacked
It can be automatically performed by retrieval local or cloud data bank, or lack all critical learning data to user feedback, request user
Supplementary data.
Or
The configuration module is further used for, after all critical learning data have been filled to corresponding slot position, judgement
With the presence or absence of the basic slot position for lacking all critical learning data, and if it exists, to user feedback vacancy slot position information, or automatic inquiry
And corresponding knowledge data is filled, or set vacancy for the basic slot position.
Establish the linked database of task attribute, slot position;
The slot position that completion is configured in the subsequent task for user's creation is set according to the association of task attribute, slot position
The slot position of the slot position set describes and/or slot position content introduces the interactive engine/sub- engine for having same task attribute, with supplement and
Improve the slot position design of corresponding interactive engine/sub- engine.
Further it is provided that download path and the zone of discussion of user task, the intelligent interaction platform further includes statistical module,
Task download for creating to user counts;It scores to the evaluation of user task.
According to download/evaluation of user task, the priority level of user is set.
According to the priority level of user, all critical learning high priority data of multiple users of dynamic adjustment filling to same slot position
Grade.
For example, there is user D simultaneously, user E creates the tourism task similar with user B, passes through statistics download hair
The download of current family B is maximum, then being described based on same slot position, the slot position content prioritization of user B is filled in other users
Slot position content on.
In the same slot position description that multiple users provide, stored in the slot position content of user H and the slot position of other users
When clearly contradicted, can not insert user H offer corresponding slot position content is described with slot position.
Preferably, the interface module is further used for, receive the increase of user's task definition that it is created, modification,
Delete operation,
Described device further comprises update module, and the update module updates user for the operation based on user and appoints
Business.
Based on similarly conceiving with information push method in previous embodiment, the embodiment of the invention also provides a kind of terminals
Equipment, the terminal include the intelligent interaction platform training device in above-described embodiment two.
Specifically, terminal device can be computer, tablet computer, mobile phone, intelligent assistant, car-mounted terminal etc..
Based on similarly conceiving with information push method in previous embodiment, the embodiment of the invention also provides a kind of calculating
Machine equipment, the computer equipment include processor and memory, and be stored in the memory to run on a processor
Computer program, the computer program realize corresponding information push method when being executed by the processor.
Based on similarly conceiving with information push method in previous embodiment, the embodiment of the invention also provides a kind of calculating
Machine readable storage medium storing program for executing is stored with the computer program that can be run on a processor, institute in the computer readable storage medium
State the method that the computer program realizes information push when executed.
The above is only a preferred embodiment of the present invention, it is not intended to restrict the invention, it is noted that for this skill
For the those of ordinary skill in art field, without departing from the technical principles of the invention, can also make it is several improvement and
Modification, these improvements and modifications also should be regarded as protection scope of the present invention.