Use patterns to differentiate similar utterances

In some cases, a model might contain multiple intents for which utterances are likely to be similar. You can use the pattern of utterances to disambiguate the intents while minimizing the number of sample utterances.

For example, consider the following utterances:

  • “Turn on the kitchen light”
  • “Is the kitchen light on?”
  • “Turn off the kitchen light”

These utterances are syntactically similar, with only a few differences in words or punctuation. However, they represent three different intents (which could be named TurnOnDeviceGetDeviceStatus, and TurnOffDevice). Additionally, the intents could apply to a wide range of entity values. In addition to “kitchen light”, the intent could apply to “living room light”, television”, or any other device that the model might need to support.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *