Normalizes test results by decoding HTML entities in utterances and test result values.
The agent test results response object to normalize
A new AgentTestResultsResponse with decoded HTML entities
const results = { testCases: [{ inputs: { utterance: ""hello"" }, testResults: [{ actualValue: "&test", expectedValue: "<value>" }] }]};const normalized = normalizeResults(results); Copy
const results = { testCases: [{ inputs: { utterance: ""hello"" }, testResults: [{ actualValue: "&test", expectedValue: "<value>" }] }]};const normalized = normalizeResults(results);
Normalizes test results by decoding HTML entities in utterances and test result values.