Text classification is a LLM powered approach that classifies unstructured text using a set of predetermined labels. Almost any kind of text can be classified with the classify() function. The classify() function supports both multi-class and multi-label classification.
If api_type' is set to aws, azure, gcp, or nim, any errors or exceptions encountered will label the outcome as "NaN." Additionally, the error details are included in the Message column of the output.
Syntax
classify(column, data, **kwargs)