Skip to main content
  • Conversational AI
  • Chatbots and RAG

Alterations: a hidden gem in QnA Maker

QnA Maker's alterations feature lets you define synonym lists via API, reducing training effort and improving accuracy for non-English languages.

Jan 15, 2020
Business Owner Working On Online Store

QnA Maker has many features: Active Learning, Multi Turn Questions, and one-click bot publishing. But there's a hidden feature available only through the API: Alterations. These are synonym lists that make your QnA Maker smarter with less training.

01

Why alterations matter for non-English bots

QnA Maker is pre-trained with English synonyms. For other languages, synonym coverage is limited. Adding well-chosen alterations, for example, mapping 'GDPR' to 'AVG' in Dutch, or 'auto' to 'wagen', significantly reduces the number of alternative questions you need to add to your knowledge base.

02

How to add them via the API

Use the REST API PUT endpoint at {Endpoint}/qnamaker/v4.0/alterations with your Ocp-Apim-Subscription-Key. The body contains a wordAlterations array of synonym groups. Note: this replaces all existing alterations and applies across all knowledge bases in your QnA Maker service.

03

Note - QnA Maker retired on 31 October 2025

QnA Maker was retired on 31 October 2025. Its successor is custom question answering in Azure AI Language. Synonyms (the alterations equivalent) work much the same way, the principles in this article still hold.

Want to work together

Project in mind?

Start with a conversation, or with the readiness check. Either way, you talk to the people who build it.