Back to NLP TopicsTraining the KG engine improves your assistant’s ability to match user queries to the right FAQs. Both Ontology and Few-Shot KG types require training, but the approach differs.Few-Shot KG training notes:
No ontology or path qualification needed—FAQs are matched by semantic similarity.
Default Terms are unavailable (exception: migrated terms from Ontology KG, which become Organizer terms on update).
Organizer Terms do not support Path-Level or KG Synonyms, but do support Intent Preconditions and Context Output.
Mandatory Terms support Traits, Path-Level and KG Synonyms, Intent Preconditions, and Context Output.
Unsupported configs: Path Coverage, Lemmatization using POS, Search in Answer, Qualify Contextual Paths.
While adding an intent, the KG suggests tags based on the question text. Select suggested tags or type custom ones. Tags work like terms but are hidden in the ontology view.
Add synonyms per term from the term’s Settings (gear icon) window.
Synonym Type
Scope
Path-Level (Local)
Applies only in the current path.
Knowledge Graph (Global)
Applies everywhere the term appears.
Bot Synonyms
App-level synonyms reused in the KG. Enable from Threshold & Configurations or More Options > Manage Synonyms. When a node matches both a bot synonym and a bot concept, the concept takes priority.
To add synonyms:
Hover over the node and click the gear icon.
Enter synonyms under Path Level Synonyms (local) or click Edit > Add under Knowledge Graph Synonyms (global).
Press Enter after each synonym—multiple synonyms without Enter are treated as one.
For child node synonyms, enter them in the Child Terms section at the bottom of the settings window.
After training, test using Talk to Bot with varied utterances to identify gaps in terms, questions, alternates, synonyms, and traits. See Testing Your Bot with NLP.
Lemmatization groups inflected word forms to their base (lemma) for improved term matching. Using parts-of-speech (POS) data from the utterance produces more accurate results.
User Utterance
Without POS
With POS
What is my outstanding booking invoice balance
outstand, book
outstanding, booking
I am filing for a visa so that I can travel
file
filing
What happens if my luggage exceeds the maximum weight?