Golden Evaluation Set
This document explains how to create, expand, view, edit, and delete a Golden Evaluation Set.
Overview
A Golden Evaluation Set is a curated dataset of user conversations for evaluating the performance of a chatbot during an annotation task. You can download a template and fill it in as required. A Golden Evaluation Set includes the following fields: user utterance, expected answer, expected matched answer type, expected matched file name, and SessionId. For more information about using a Golden Evaluation Set in an annotation task, see annotation task.
Create a golden evaluation set
Log on to the Chatbot management console, go to your chatbot's workspace, and navigate to Optimization > Golden Evaluation Set.

Click Create Golden Evaluation Set. In the Create Golden Evaluation Set window, enter a name for the evaluation set and upload a file that follows the provided template format. The template includes the following fields:
User utterance (Required): A user's question or request to the chatbot during a conversation. For example: "Help me check the weather" or "What is the weather like today?".
Expected answer (Optional): The expected response from the chatbot for the user utterance. For example: "Which city would you like to check the weather for?" or "The weather is sunny today." When using AI annotation, the expected answer is required.
SessionId (Optional): Use this field to evaluate a multi-turn conversation. You can define a custom numeric ID. All utterances within the same conversation must use the same ID. If you leave this field empty, the system defaults to evaluating a single-turn conversation and automatically generates a unique ID for each.
Expected matched answer type (Optional): The type of Q&A source you expect to be matched. You can specify one of the following types: Dialog Factory, Data Q&A, FAQ, Document, Website, or Internet Knowledge.
Expected matched file name (Optional): The name of the document, FAQ, web page, data table, or dialog flow you expect the chatbot to match. To distinguish between files with the same name, include the file extension.
Custom parameters (Optional): A JSON-formatted set of user-defined parameters that can be passed to the dialog engines.
NoteSupported file extensions are .xls and .xlsx, with a maximum file size of 20 MB. Uploading a file is optional. If you do not upload a file, an empty evaluation set is created. If you upload a file, the data must adhere to the specified format. The user utterance is a required field, while other fields are optional. Do not enter irrelevant information in other columns.
Click OK to create the Golden Evaluation Set.
On the Golden Evaluation Set management page, click View, Download, or Delete next to an evaluation set.

Expand a golden evaluation set
Add data to an evaluation set
Log on to the Chatbot management console, go to your chatbot's workspace, and navigate to Optimization > Golden Evaluation Set.
Click View next to an existing Golden Evaluation Set.

Click New. In the New Data window, fill in the user utterance, expected answer, and other information, and then click OK.
User utterance: The question or request a user asks the chatbot. For example: "Help me check the weather" or "What is the weather like today?".
Expected answer: The expected response that the chatbot should return. For example: "Which city would you like to check the weather for?" or "The weather is sunny today."
Expected matched answer type: Select one of the following Q&A source types: Dialog Factory, Data Q&A, FAQ, Document, Website, or Internet Knowledge.
Expected matched file name: The name of the document, FAQ, web page, data table, or dialog flow. To distinguish between files with the same name, include the file extension.
SessionId: Use this field to evaluate a multi-turn conversation. You can define a custom numeric ID. All utterances within the same conversation must use the same ID. If you leave this field empty, the system defaults to evaluating a single-turn conversation and automatically generates a unique ID for each.

Click Edit or Delete next to a data entry.

Expand from the Global Test Window
When testing your chatbot's Q&A performance in the Global Test Window, if a response is unsatisfactory, you can save the current user utterance to a Golden Evaluation Set. This lets you easily re-verify the Q&A performance later. For detailed instructions, see the "View dialog debugging information" section in Global Test Window.