Docs »

Data Queries »

Classifier Prediction

classifier.prediction

classifier.prediction queries return a predicted classification for the given text using the given classifier.

For instance, a “Yes/No” classifier would predict answer.maybe for the input “I’m not sure”.

Inputs

Response Formats

The results can be returned in these formats:

  • dictionaries (default) returns a table-based format suitable for sheets and API results.

Examples


type:classifier.prediction
classifier:(name:Yes/No)
text:"I am not sure"
format:dictionaries