Change default answer for custom question answering

The default answer for a project is meant to be returned when an answer is not found. If you are using a client application, such as the Azure AI Bot Service, it may also have a separate default answer, indicating no answer met the score threshold.

Default answer

Default answer Description of answer
KB answer when no answer is determined No good match found in KB. - When the custom question answering API finds no matching answer to the question it displays a default text response. In custom question answering, you can set this text in the Settings of your project.

Client application integration

For a client application, such as a bot with the Azure AI Bot Service, you can choose from the following scenarios:

  • Use your project's setting
  • Use different text in the client application to distinguish when an answer is returned but doesn't meet the score threshold. This text can either be static text stored in code, or can be stored in the client application's settings list.

Change default answer in Language Studio

The project default answer is returned when no answer is returned from custom question answering.

  1. Sign in to the Language Studio. Go to custom question answering and select your project from the list.
  2. Select Settings from the left navigation bar.
  3. Change the value of Default answer when no answer found > Select Save.

Screenshot of project settings with red box around the default answer

Next steps