×

Domain specific language for encoding assistant dialog

  • US 10,289,433 B2
  • Filed: 09/30/2014
  • Issued: 05/14/2019
  • Est. Priority Date: 05/30/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method for operating a virtual assistant, performed at an electronic device having one or more processors and a memory storing one or more programs for execution by the one or more processors, the method comprising:

  • receiving a user speech;

    accessing a textual representation of the user speech;

    determining an intent corresponding to the textual representation of the user speech;

    generating an output dialog responsive to the user speech, comprising;

    selecting, in accordance with the determined intent, a dialog template from a plurality of dialog templates, wherein the dialog template includes a plurality of sets of functional blocks, wherein a first set of functional blocks of the plurality of sets of functional blocks defines one or more conditions;

    generating a plurality of output segments from the plurality of sets of functional blocks, including;

    determining whether the one or more conditions are satisfied; and

    in accordance with a determination that the one or more conditions are satisfied, generating, with the first set of functional blocks, a first string for a first output segment of the plurality of output segments; and

    concatenating the plurality of output segments according to an order defined by the dialog template; and

    outputting the output dialog comprising the concatenated plurality of output segments.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×