- 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 don’t 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.
- Embedding models available: BGE M3 and Pretrained MPNet.
KG Engine Capabilities
FAQ Detection Steps (Ontology KG)
- Extract nodes — Tokenize user utterance; match against KG nodes, synonyms, traits, and tags.
- Query graph — Fetch all paths containing the extracted nodes.
- Shortlist paths — Keep paths where ≥50% of terms match the utterance. (Root node excluded from path coverage calculation.)
- Filter with traits — Further filter shortlisted paths using trait classification confidence.
- Send to ranker — Pass shortlisted paths to the Ontology Ranker.
- Score by cosine similarity — Rank paths using synonyms, lemma forms, n-grams, and stop words.
- Qualify matches:
- Score ≥ upper threshold → definitive match.
- lower threshold < score < upper threshold → probable match (suggestion).
- Score ≤ lower threshold → ignored.
Training Guidelines
- Identify unique words across FAQs and build a term hierarchy.
- Keep each node under 25 questions (training fails if any node exceeds 100).
- Associate traits with terms for intent filtering.
- Define synonyms for each term (all ways to express the term).
- Mark terms as Mandatory or Default based on their importance.
- Add alternate questions for better utterance coverage.
- Manage context for accurate responses.
- Use Stop Words to filter noise.
Training Configuration
Term Types
Go to the term/node settings to configure:Tags
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.Synonyms
Add synonyms per term from the term’s Settings (gear icon) window.
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.
Traits
Create traits from common user utterances and attach them to relevant KG terms. To create a trait:- Click ⋯ (More Options) > Manage Traits from the KG page.
- Click New Trait.
- Enter a Trait Type and Trait Name.
- Add utterances in the Utterances field.
- Click Save & Add Rule or Save & Exit.
Context
Per term/tag, configure:- Intent Precondition — Context that must exist for this node/tag to qualify.
- Context Output — Context populated when this node/tag is matched.
Stop Words
Stop words in user utterances are excluded from scoring, even if they match a node name. To edit stop words:- Click ⋯ (More Options) > Manage Stop Words from the KG page.
- Add or remove stop words.
Training Process
After creating or editing the KG, click Train (top-right). All paths, synonyms, and Q&A sets are sent to the KG engine.Every change (synonyms, term names, FAQs, etc.) requires a re-train to take effect in bot responses.
Testing
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.NLU Config — KG Engine Tuning
Go to Natural Language > NLU Config > Engine Tuning to configure KG-specific thresholds.For multilingual AI Agents, thresholds can be set per language. Default settings apply if not configured.
Search in Answer
When enabled, the KG engine also matches user input against answer text (fallback only—runs after question matching fails). Response rendering options:- Show Complete Response — Full answer text.
- Show only the Relevant Paragraph — Paragraph where the match was found.
- Show only the Relevant Paragraph with Read More link — Paragraph + link to full response in browser.