Test intents on the Intents tab and test entities on the Entities tab. You can't use either tab to test both.

Test intent detection

You can use the Test User Input tool to test how a single utterance performs against an intent or the domain. The tool is primarily used for debugging purposes. For example, you might find that a strange phrase was matched to an intent on Production. Using the tool, you can quickly and easily test that phrase to see how it behaves.

Test User Input tool showing a matched intent

If the domain uses the LivePerson engine for NLU, on occasion you might notice a change in the matched intent for the test phrase after retraining with no additional training samples. For more, see this explanation.

To test a single utterance for intent detection

  1. Access Intent Manager.
  2. Locate the domain list in the Intent Manager dashboard.
  3. Select the name of the relevant domain, and then select Build from the menu that appears.
  4. On the Intents page, in the Test User Input panel on the right, specify the following:

    User text: Enter the consumer utterance to test.

    Search in domain: If you disable this, the test will be run against the currently displayed intent. If you enable this, the test will be run against all intents in the domain. In most cases, you'll want to enable this setting. If you do, you can then select whether to test against intents, meta intents, or all.

    Model version: Select the trained model version test. You can select from all existing versions.

    Default state of the Test User Input tool for detecting matched intents

  5. Click Test.

    The search results show matched intents and their confidence scores.

    Matched intent results for an example utterance

    If you searched in the domain, you can select a result to see a more detailed breakdown.

    After reviewing the results, if the score isn't where you want it, you can refine the training phrases.

Test entity detection

  1. Access Intent Manager.
  2. Locate the domain list in the Intent Manager dashboard.
  3. Select the name of the relevant domain, and then select Build from the menu that appears.
  4. Select the Entities page.
  5. In the Test User Input panel on the right, for User text, enter the consumer utterance to test.

    Default state of the Test User Input tool for testing entity detection

  6. Click Test.

    Example results when testing entity detection in the Test User Input Tool

    The SUMMARY tab shows the custom and global entities that were recognized. The DETAILS tab shows more info on recognition, including the confidence score for global entities. Custom entities are either recognized with 100% confidence or not, so no confidence score is shown for these.

    Details tab showing the recognition info for detected entities

    If the results for custom entities aren't what you expect, update the defined entity. If the results for global entities aren't what you expect, provide this feedback to your LivePerson representative (other contact options: chat with us on this page, or message Support).