Intents, Utterances, and Entities (Part 2)
Use Patterns To Differentiate Similar Utterances A model may occasionally have several intents for which utterances are expected to be similar. While reducing the quantity of sample utterances, you can leverage the pattern of utterances to clarify the intents. Additionally, the intents could apply to a wide range of entity values. To correctly train your model, provide a handful of examples of each intent that specify the different formats of utterances. TurnOnDevice: "Turn on the {DeviceName}" "Switch on the {DeviceName}" "Turn the {DeviceName} on" GetDeviceStatus: "Is the {DeviceName} on[?]" TurnOffDevice: "Turn the {DeviceName} off" "Switch off the {DeviceName}" "Turn off the {DeviceName}" When you teach your model with each different type of utterance, the Azure AI Language service can learn how to categorize intents correctly based off format and punctuation. Use Pre-Built Entity Components To recognize common...