You can use the Test User Input tool to test how a single utterance performs against an intent or the domain.

The Test User Input 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.

If the domain uses the LivePerson NLU v2 engine, you can't use the Test User Input tool to directly test and reveal entity matching. This isn't supported for Regular Expression entities. With Value Set entities, you can use the tool to see the entity replacement performed by the tool’s underlying, NLU v1 expansion algorithm. However, in both cases, LivePerson recommends that you test entities by 1) creating an intent that uses the entities and 2) testing the intent itself.

To test a single utterance

  1. In the dashboard that lists your domains, select the domain.
  2. In the Test User Input panel on the right, specify the following:

    User text: Enter the user 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: This setting is only displayed and relevant if the domain uses the LivePerson NLU v2 engine or a 3rd-party NLU engine. Select the trained model version test. You can select from all existing versions.

  3. Click Test.

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

    For details on the intent scoring, see here.

    After reviewing the results, if the score isn't where you’d like it, you can add more training phrases. In addition, using entities helps to increase the accuracy of intents and give their score a boost.