Skip to main content
classify returns one of the labels you supply. Set multi_label=True to return a list of labels.
An enum gives the result a named Python type. Use descriptive enum values: those values, rather than member names, are shown to the model.
Use instructions to define decision criteria, such as what distinguishes high from low priority. classify_async is the async counterpart. See the API reference for optional arguments.