AnswerResourceChoice interface
model interface AnswerResourceChoice
- Extends
Properties
| choice | The selected choice value. |
| confidence | The confidence in the selected choice. |
| name | The name of the corresponding question, or null when the question has no name. |
| probabilities | The predicted probability for each available choice. |
| type | The type of the object. Always |
Property Details
choice
confidence
The confidence in the selected choice.
confidence: number
Property Value
number
name
The name of the corresponding question, or null when the question has no name.
name: string | null
Property Value
string | null
probabilities
The predicted probability for each available choice.
probabilities: ChoiceProbabilityResource[]
Property Value
type
The type of the object. Always choice.
type: "choice"
Property Value
"choice"