NLU

NLU is an acronym for natural-language understanding. It is a part of natural-language processing (NLP)Closed Also called NLP, this process understands human speech or text and responds with human-like language. that deals specifically with machine reading comprehension. It is the part of Bot Builder that allows your botClosed A software application that handles customer interactions in place of a live human agent. to understand what your consumers are saying in conversations so it can provide the most helpful response.

The NLU section of Bot Builder allows you to create and manage the configurations that build your bot's NLU capabilities. These are entities and intents. These concepts build your training data and make your bot smarter.

Best Practices for NLU Training Data

  • Always opt for quality over quantity. It's okay to start with a small data set and build it over time as you gather more high-quality examples.
  • Use examples from real-world conversations. This ensures that the data you use is realistic. It comes from utterancesClosed What a contact says or types. real contacts have made.
  • Don't use tools that auto-generate data and claim to train your bot faster. They often produce examples that don't reflect what contacts really say. They also can result in a bot that loses its ability to generalize. Over time, the bot reaches a point where it only recognizes phrases it's seen before.
  • Do not use the same training data for more than one intent. If you re-use training data, your bot won't be able to reliably determine the intentClosed The meaning or purpose behind what a contact says/types; what the contact wants to communicate or accomplish. in live interactions with contacts.
  • Remain flexible and willing to adjust intents and stories over time. As you review conversation data, you may discover that what you thought was two separate intents are really shades of a more general intent. Or you may find that an intent is too broad and you need to break it down into more specific intents.
  • Add new training examples only if they will help.
    • Do not add new training examples that are very similar to existing examples. If the bot correctly predicts the intent with a high confidence for one utterance, it doesn't help the bot to add more examples that are very similar.
    • Do add more training examples of utterances the bot has previously predicted incorrectly or with low confidence.