classification Spec
@ApiStatus.Experimental
Builds a classification spec with a Kotlin receiver block.
val departments = classificationSpec {
asking("Which team should handle this?")
category("billing", "Payments, invoicing, refunds")
}Content copied to clipboard
Return
the built spec
Parameters
block
sets the instructions and categories
Throws
if the instructions are missing or blank, there are no categories, or two categories share an id