Choice

data class Choice(val instructions: String, val options: Map<String, String?>) : Question

Pick one of options. The answer is an Answer.Choice.

Throws

if there is no option.

Constructors

Link copied to clipboard
constructor(instructions: String, options: Map<String, String?>)

Properties

Link copied to clipboard
open override val instructions: String

What the model should decide.

Link copied to clipboard

the options by name, each with a description of when it applies, or null when the name says enough.