Choice
data class Choice @JvmOverloads constructor(val instructions: ClassifierContent? = null, val criteria: Map<String, ClassifierContent?>) : Question
Asks a Classifier to pick one of two or more named labels.
Constructors
Link copied to clipboard
Creates a Choice with plain-text instructions and label descriptions. Because instructions has no default here, a call that omits it resolves to the primary constructor.
Types
Properties
Functions
Link copied to clipboard
Returns a Builder initialized with this instance's properties, primarily for Java callers. Prefer it over copy from Java: copy takes every property positionally, so its signature changes whenever a property is added.