Skip to main content
Back to NLP Topics The Ranking and Resolver (R&R) engine receives outputs from the FM, ML, and KG engines and determines the single winning intent for each user utterance.

R&R Versions

Enable Version 2:
  1. Go to Natural Language > NLU Config > Ranking and Resolver Engine.
  2. Set Rank and Resolver Version to Version 2.
  3. Confirm in the dialog.
Version 2 works best with Few-shot ML and KG models. FM engine configurations are disabled in V2. Changing versions alters how winning intents are determined — verify with Utterance Testing before deploying.

Engine Outputs (What R&R Receives)


How R&R Decides the Winning Intent

Definitive matches found:
  • Single definitive match → that intent wins.
  • Multiple definitive matches from different engines → ambiguous; user is prompted to choose.
Only probable matches found:
  1. Score each top-5 ML utterance against the probable intents; take highest per intent.
  2. Score alternate/modified KG questions; take highest per intent.
  3. Rank all scores; top scorer wins.
  4. If top two intents are within 2% of each other → ambiguous.
  5. If a definitive match exists → discard all probable matches.
  6. Only FM or ML found a probable match → that intent wins.
  7. Only KG found a probable match:
    • Score > 80% → wins.
    • 60% < score ≤ 80% → wins, shown as “Did you mean?” suggestion.
Ambiguity resolution:
  • Disambiguation Dialog — multiple definitive matches; user chooses.
  • Did You Mean Dialog — multiple or low-confidence probable matches; user confirms.
Both dialogs are customizable in NLP Standard Responses.

Thresholds and Configuration

Go to Natural Language > NLU Config > Ranking and Resolver Engine.

Dependency Parsing Model

Enables intent scoring based on word dependencies (not just word presence and position). Configure at NLU Config > Ranking and Resolver Engine > Dependency Parsing Model:
  • Minimum Match Score: threshold for a probable match (0.0-1.0; default 0.5).
  • Advanced Configurations: JSON editor for custom weights. Click Restore to Default to reset.
Dependency Parsing Model is supported in select languages only.

Detection Scenarios