classify
Classify text using only the request's category domain, returning evidence rather than routing policy.
Classifies text with a spec. Same as calling classify with ClassificationRequest.of(input, spec).
Return
the result
Parameters
input
the text to classify, which may be empty
spec
the classification to make