How to Test
- Open the app and go to Testing > Utterance Testing.
- (Optional) For a multiple-intent model, select the Intent Model to scope ML detection.
- In the Type a user utterance field, enter an utterance. Example: Book a flight.
- Review the result: single match, multiple matches, or no match.
Match Types
Possible outcomes:
- Single match: Correct — proceed or train further. Incorrect — mark as incorrect and select the right intent.
- Multiple matches: Select the correct radio button and train.
- Unidentified intent: Select an intent from the dropdown and add training.
Entity Match
Matched entities are displayed after intent detection. Processing order: NER and pattern entities first, then remaining entities. Entity match details (v8.0+):NLP Analysis
Each test result includes an NLP Analysis box showing shortlisted intents, which model found them, scores, and the winning intent.NLP scores are absolute values. They can only be compared against other tasks for the same input, not across different utterances.
ML Model
Matches the input against task labels and training utterances. Multi-sentence inputs are tested sentence by sentence. More training utterances increase discovery chances.FM Model
Scores every task using a custom NLP algorithm based on task names, synonyms, and patterns. Click Processed Utterance to see how the input was analyzed. FM scoring factors:
FM scoring varies by language:
- German/French: Uses word roles, Universal Parts of Speech, and dependency relations.
- Other languages: Uses original word, role in sentence, and processed word (spell-corrected).
Knowledge Graph
Extracts terms from the utterance and maps them to the KG to fetch relevant paths. Paths covering more than a threshold number of terms are shortlisted. A path with 100% term coverage and a matching FAQ is a perfect match. See Knowledge Graph Training.Ranking and Resolver
Determines the final winning intent across all engines.- If ML or KG finds a perfect match, R&R presents it without rescoring (even multiple perfect matches are shown as options).
- All other good/unsure matches are rescored using the FM model. If the rescored intent exceeds the threshold, it’s also considered a match.
- Intents matched only by entity values (date, number) from ML are eliminated.
- Possible matches are eliminated if a definitive match exists.
- A definitive match is eliminated if another definitive match appeared earlier in the utterance (multi-intent case).
- Intent patterns following a definitive match are eliminated.
- Intents below the minimum threshold are eliminated.
- Definitive matches against a negative pattern are eliminated.
- Intents with unmet pre-conditions are eliminated.
- KG “Search In Answer” definitive matches are eliminated if another match exists.
Training from Utterance Testing
Utterance-Based Training
- After testing, open training options:
- Unmatched intent: Select an intent from the Select an Intent dropdown.
- Multiple matches: Select the radio button for the correct intent.
- Single match: Click the matched intent name.
- The utterance appears in the ML Utterances field. Click Save to add it to the intent.
- Under Intent Synonyms, add synonyms for each word in the task name.
- Under Intent Patterns, add task patterns.
- Click Re-Run Utterance to verify improved scores.
Matched Training Data
The Ranking and Resolver NLP Analysis window shows the training data (utterances, synonyms, questions, patterns, traits) that led to intent qualification.
For qualified and eliminated intents, the system also shows the elimination reason alongside the matched utterance, processed utterance, and winning intent.
Train with FAQ
To match utterances to FAQs:- Set terms, term configuration, or classes from the FAQ page, train the KG, and retest.
- Add the utterance as an alternate question to the FAQ from the Knowledge Graph page, train, and retest.