Comprehend-it API
Processing the provided text and classifying it into the specified labels, returning a probability score for each label.
POST
https://comprehend-it.p.rapidapi.com/predictions/ml-zero-nli-model
Headers
Name
Type
Description
X-RapidAPI-Key*
String
Your API key. Where can I get it?
X-RapidAPI-Host*
String
comprehend-it.p.rapidapi.com
content-type*
String
application/json
Request Body
Name
Type
Description
labels*
String list
Specific categories or labels that you want the text to be classified into during the classification process. Check out the details.
text*
String
Text for processing. Check size limits here.
threshold
Float
Classification output scores threshold.
The model has successfully analyzed the input text and labels.
Last updated