用於保留 QaAnswer 值的訊息。QaQuestion.AnswerChoice 定義問題可能的答案值。
| JSON 表示法 |
|---|
{ "key": string, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "strValue": string, "numValue": number, "boolValue": boolean, "naValue": boolean, "skipValue": boolean // End of mutually exclusive fields. "score": number, "potentialScore": number, "normalizedScore": number } |
| 欄位 | |
|---|---|
key |
用來做為 ID 的簡短字串。與 QaQuestion.AnswerChoice.key 中使用的值相符。 |
| 答案值可能是幾種不同類型之一。以下是互斥欄位清單。回應中最多會設定下列其中一個欄位: | |
strValue |
字串值。 |
numValue |
數值。 |
boolValue |
布林值。 |
naValue |
「不適用 (N/A)」值。只能是 |
skipValue |
僅供輸出。「略過」值。如有提供,這個欄位只能設為 |
| 互斥欄位結束。 | |
score |
僅供輸出。答案的數值分數。 |
potentialScore |
僅供輸出。問題的最高可能分數。 |
normalizedScore |
僅供輸出。問題的正規化分數。計算方式為 score / potentialScore。 |