Overview
Search Term Rewrites (shown as Query Term Rewrites in the dashboard) rewrite terms in the user’s question (or case text) so they match your knowledge base before the AI searches it. This is useful when customers use abbreviations, slang, or internal shorthand that differs from the wording in your articles. For example, if your articles use the word “account” but customers often type “acct”, you can add a rule that rewrites “acct” to “account” so the right articles are retrieved. To configure it, open the IrisAgent dashboard, go to Deploy in the left navigation, and select Cases.Search Term Rewrites apply to both chat and case answers. They only affect retrieval (which articles the AI finds). They do not change the answer text shown to the customer.
Adding a Rewrite Rule
- On the Cases page, find the Query Term Rewrites section.
- Check Enable query term rewrites.
- Click + Add rule.
- Fill in the rule:
- From — the term as the customer might type it (for example,
acct). - To — the term your knowledge base uses (for example,
account). - Whole word — when checked, the rule only matches the term as a complete word, not as part of a larger word. For example, with “Whole word” on, a rule for
acctwill not match insideaccts. - Ignore case — when checked, the rule matches regardless of capitalization (so
Acct,ACCT, andacctare all rewritten).
- From — the term as the customer might type it (for example,
- Add more rules as needed by clicking + Add rule again. Remove a rule with the × button.
- Click Save Rewrites.
Example Rules
| From | To | Notes |
|---|---|---|
| acct | account | Common abbreviation |
| pw | password | Shorthand |
| icloud | invoicecloud | Maps a misheard or shortened term to your product name |
| cancel sub | cancel subscription | Expands shorthand to match article wording |