Tool for facilitating the development of new language understanding scenarios
First Claim
1. A method implemented by one or more computing devices, the method comprising:
- receiving, via an input device, input information specifying at least two different subsets of parameters selected from among a larger set of parameters of a preexisting language understanding (LU) model, the at least two different subsets of parameters being associated with different dialog states of a multi-turn dialog handled by an application, the different dialog states involving different prompts by the application to a user;
storing customization logic identifying the at least two different subsets of parameters in a data store; and
generating a constrained LU component by executing a development tool that applies the customization logic to the preexisting LU model, the customization logic causing the development tool to generate the constrained LU component by;
configuring the constrained LU component to, during a first dialog state at runtime of the application, filter output items generated by the preexisting LU model with respect to a first subset of parameters to provide first output items that conform to the first subset of parameters; and
configuring the constrained LU component to, during a second dialog state at runtime of the application, filter the output items generated by the preexisting LU model with respect to a second subset of parameters to provide second output items that conform to the second subset of parameters.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer-implemented technique is described for facilitating the creation of a language understanding (LU) component for use with an application. The technique allows a developer to select a subset of parameters from a larger set of parameters. The subset of parameters pertains to a LU scenario to be handled by the application. The larger set of parameters pertains to a plurality of LU scenarios handled by an already-existing generic LU model. The technique creates a constrained LU component that is based on the subset of parameters in conjunction with the generic LU model. At runtime, the constrained LU component interprets input language items using the generic LU model in a manner that is constrained by the subset of parameters that have been selected, to provide an output result. The technique also allows the developer to create new rules and/or supplemental models.
-
Citations
24 Claims
-
1. A method implemented by one or more computing devices, the method comprising:
-
receiving, via an input device, input information specifying at least two different subsets of parameters selected from among a larger set of parameters of a preexisting language understanding (LU) model, the at least two different subsets of parameters being associated with different dialog states of a multi-turn dialog handled by an application, the different dialog states involving different prompts by the application to a user; storing customization logic identifying the at least two different subsets of parameters in a data store; and generating a constrained LU component by executing a development tool that applies the customization logic to the preexisting LU model, the customization logic causing the development tool to generate the constrained LU component by; configuring the constrained LU component to, during a first dialog state at runtime of the application, filter output items generated by the preexisting LU model with respect to a first subset of parameters to provide first output items that conform to the first subset of parameters; and configuring the constrained LU component to, during a second dialog state at runtime of the application, filter the output items generated by the preexisting LU model with respect to a second subset of parameters to provide second output items that conform to the second subset of parameters. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. One or more computing devices comprising:
-
one or more hardware processor devices; and one or more computer-readable storage media storing machine-readable instructions which, when executed by the one or more hardware processor devices, cause the one or more hardware processor devices to; access a language understanding (LU) model having a plurality of classifiers configured to output parameters reflecting results of classification operations performed by the classifiers; receive, via an input device, input information specifying a subset of specific parameters selected from among the parameters of the LU model, the subset of specific parameters pertaining to a language understanding scenario to be handled by an application; store customization logic identifying the subset of specific parameters in a data store; and execute a development tool that applies the customization logic to the LU model to generate a constrained LU component, the constrained LU component being configured to; perform interpretation of input language items using a subset of classifiers of the LU model, the subset of classifiers excluding at least some classifiers of the LU model that do not output the specific parameters; and cause the application to take certain actions based at least on the interpretation of the input language items. - View Dependent Claims (15, 16, 17, 18, 19)
-
-
20. A system comprising:
-
one or more processor devices; and a computer-readable storage medium storing computer-readable instructions which, when executed by the one or more processor devices, cause the one or more processor devices to; identify a subset of specific parameters that have been selected, via an input device, from among a larger set of parameters of a preexisting language understanding (LU) model, the subset of specific parameters pertaining to an LU scenario to be handled by an application, and the larger set of parameters pertaining to a plurality of LU scenarios handled by the preexisting LU model, the preexisting LU model having a plurality of nodes representing the parameters of the larger set and corresponding state transitions among the nodes; store customization logic identifying the subset of specific parameters; and generate a constrained LU component by executing a development tool that applies the customization logic to the preexisting LU model, the customization logic causing the development tool to generate the constrained LU component by; deactivating at least some state transitions of the preexisting LU model that occur between individual nodes that do not have corresponding specific parameters in the subset; and retaining at least some other state transitions of the preexisting LU model in the constrained LU component, the constrained LU component being configured to interpret language items input to an application to obtain corresponding results that cause the application to take specific actions in response to receiving the results. - View Dependent Claims (21, 22, 23)
-
-
24. A method performed using at least one computing device, the method comprising:
-
accessing a language understanding (LU) model having a plurality of classifiers configured to output parameters reflecting results of classification operations performed by the classifiers; receiving, via an input device, input information specifying a subset of specific parameters selected from among the parameters of the LU model, the subset of specific parameters pertaining to a language understanding scenario to be handled by an application; storing customization logic identifying the subset of specific parameters in a data store; executing a development tool that applies the customization logic in the data store to the LU model to generate a constrained LU component; executing the application in a runtime environment with the constrained LU component; within the runtime environment, performing interpretation of input language items with the constrained LU component, the constrained LU component performing the interpretation using a subset of classifiers of the LU model that excludes at least some classifiers of the LU model that do not output the specific parameters; and providing at least one answer to the application within the runtime environment, based at least on the interpretation of the input language items by the constrained LU component.
-
Specification